use more precise item vectors for bld item filters

develop
Myk Taylor 2020-09-13 17:12:29 -07:00
parent 8728056674
commit f837532b42
1 changed files with 10 additions and 10 deletions

@ -73,13 +73,13 @@ local building_inputs = {
{
item_type=df.item_type.SMALLGEM,
quantity=3,
vector_id=df.job_item_vector_id.ANY_GENERIC35
vector_id=df.job_item_vector_id.SMALLGEM
}
},
[df.building_type.Well] = {
{
item_type=df.item_type.BLOCKS,
vector_id=df.job_item_vector_id.ANY_GENERIC35
vector_id=df.job_item_vector_id.BLOCKS
},
{
name='bucket',
@ -116,7 +116,7 @@ local building_inputs = {
[df.building_type.ScrewPump] = {
{
item_type=df.item_type.BLOCKS,
vector_id=df.job_item_vector_id.ANY_GENERIC35
vector_id=df.job_item_vector_id.BLOCKS
},
{
name='screw',
@ -140,10 +140,10 @@ local building_inputs = {
[df.building_type.GrateWall] = { { item_type=df.item_type.GRATE, vector_id=df.job_item_vector_id.GRATE } },
[df.building_type.GrateFloor] = { { item_type=df.item_type.GRATE, vector_id=df.job_item_vector_id.GRATE } },
[df.building_type.BarsVertical] = {
{ item_type=df.item_type.BAR, vector_id=df.job_item_vector_id.ANY_GENERIC35 }
{ item_type=df.item_type.BAR, vector_id=df.job_item_vector_id.BAR }
},
[df.building_type.BarsFloor] = {
{ item_type=df.item_type.BAR, vector_id=df.job_item_vector_id.ANY_GENERIC35 }
{ item_type=df.item_type.BAR, vector_id=df.job_item_vector_id.BAR }
},
[df.building_type.GearAssembly] = {
{
@ -176,9 +176,9 @@ local building_inputs = {
vector_id=df.job_item_vector_id.TRACTION_BENCH
}
},
[df.building_type.Slab] = { { item_type=df.item_type.SLAB } },
[df.building_type.NestBox] = { { has_tool_use=df.tool_uses.NEST_BOX, item_type=df.item_type.TOOL } },
[df.building_type.Hive] = { { has_tool_use=df.tool_uses.HIVE, item_type=df.item_type.TOOL } },
[df.building_type.Slab] = { { item_type=df.item_type.SLAB, vector_id=df.job_item_vector_id.SLAB } },
[df.building_type.NestBox] = { { has_tool_use=df.tool_uses.NEST_BOX, item_type=df.item_type.TOOL, vector_id=df.job_item_vector_id.TOOL } },
[df.building_type.Hive] = { { has_tool_use=df.tool_uses.HIVE, item_type=df.item_type.TOOL, vector_id=df.job_item_vector_id.TOOL } },
[df.building_type.Rollers] = {
{
name='mechanism',
@ -248,7 +248,7 @@ local workshop_inputs = {
[df.workshop_type.Ashery] = {
{
item_type=df.item_type.BLOCKS,
vector_id=df.job_item_vector_id.ANY_GENERIC35
vector_id=df.job_item_vector_id.BLOCKS
},
{
name='barrel',
@ -514,4 +514,4 @@ function buildings.constructBuilding(info)
)
end
return buildings
return buildings