|
|
@ -48,6 +48,7 @@ module DFHack
|
|
|
|
bld.race = ui.race_id
|
|
|
|
bld.race = ui.race_id
|
|
|
|
subtype = WorkshopType.int(subtype) if subtype.kind_of?(::Symbol) and type == :Workshop
|
|
|
|
subtype = WorkshopType.int(subtype) if subtype.kind_of?(::Symbol) and type == :Workshop
|
|
|
|
subtype = FurnaceType.int(subtype) if subtype.kind_of?(::Symbol) and type == :Furnace
|
|
|
|
subtype = FurnaceType.int(subtype) if subtype.kind_of?(::Symbol) and type == :Furnace
|
|
|
|
|
|
|
|
subtype = CivzoneType.int(subtype) if subtype.kind_of?(::Symbol) and type == :Civzone
|
|
|
|
bld.setSubtype(subtype)
|
|
|
|
bld.setSubtype(subtype)
|
|
|
|
bld.setCustomType(custom)
|
|
|
|
bld.setCustomType(custom)
|
|
|
|
case type
|
|
|
|
case type
|
|
|
|