@@ -130,7 +130,6 @@ local building_inputs = {
130130 vector_id = df .job_item_vector_id .PIPE_SECTION
131131 }
132132 },
133- [df .building_type .Construction ] = { { flags2 = { building_material = true , non_economic = true } } },
134133 [df .building_type .Hatch ] = {
135134 {
136135 item_type = df .item_type .HATCH_COVER ,
@@ -353,6 +352,26 @@ local siegeengine_input = {
353352 quantity = 3
354353 }
355354 },
355+ [df .siegeengine_type .BoltThrower ] = {
356+ {
357+ item_type = df .item_type .BOLT_THROWER_PARTS ,
358+ vector_id = df .job_item_vector_id .BOLT_THROWER_PARTS ,
359+ },
360+ {
361+ item_type = df .item_type .BIN ,
362+ vector_id = df .job_item_vector_id .BIN ,
363+ },
364+ {
365+ name = ' mechanism' ,
366+ item_type = df .item_type .TRAPPARTS ,
367+ vector_id = df .job_item_vector_id .TRAPPARTS ,
368+ },
369+ {
370+ name = ' chain' ,
371+ item_type = df .item_type .CHAIN ,
372+ vector_id = df .job_item_vector_id .CHAIN
373+ },
374+ },
356375}
357376--[[ Functions for lookup in tables. ]]
358377
@@ -380,6 +399,11 @@ local function get_inputs_by_type(type,subtype,custom)
380399 return trap_inputs [subtype ]
381400 elseif type == df .building_type .SiegeEngine then
382401 return siegeengine_input [subtype ]
402+ elseif type == df .building_type .Construction then
403+ if subtype == df .construction_type .ReinforcedWall then
404+ return { { flags2 = { building_material = true , non_economic = true }, quantity = 2 }, { flags3 = { metal = true }, item_type = df .item_type .BAR , vector_id = df .job_item_vector_id .BAR } }
405+ end
406+ return { { flags2 = { building_material = true , non_economic = true } } }
383407 else
384408 return building_inputs [type ]
385409 end
0 commit comments