diff --git a/PHI-CL/config.lua b/PHI-CL/config.lua index 8c8ae8e..838c082 100644 --- a/PHI-CL/config.lua +++ b/PHI-CL/config.lua @@ -358,6 +358,17 @@ local items = { }, ['space-age'] = { ['PHI-VP-MAIN'] = { + ['autoplace_control'] = { + ['vulcanus_coal'] = true, + ['tungsten_ore'] = true, + ['calcite'] = true, + ['sulfuric_acid_geyser'] = true, + ['gleba_stone'] = true, + ['scrap'] = true, + ['aquilo_crude_oil'] = true, + ['fluorine_vent'] = true, + ['lithium_brine'] = true, + }, ['technology_reform'] = { ['stack-inserter'] = { ['prerequisites'] = {'bulk-inserter', 'chemical-science-pack', 'processing-unit'}, diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index 0c43c60..0fcd390 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -881,6 +881,11 @@ if settings.startup['PHI-VP'].value then data.raw.technology['automation-productivity'].icons[1].icon = '__base__/graphics/technology/automation-2.png' data.raw.technology['automation-productivity'].localised_name = {'phi-cl.combine', {'technology-name.automation'}, ''} + for k, v in pairs(items['space-age']['PHI-VP-MAIN']['autoplace_control']) do + data.raw['autoplace-control'][k].hidden = v + data.raw['autoplace-control'][k].hidden_in_factoriopedia = v + end + for _, v in pairs({'coal', 'stone', 'iron-ore', 'copper-ore', 'uranium-ore'}) do data.raw.item[v].stack_size = math.max(data.raw.item[v].stack_size, 100) end @@ -1162,7 +1167,6 @@ if settings.startup['PHI-VP'].value then data.raw['inserter'][v].grab_less_to_match_belt_stack = true data.raw['inserter'][v].enter_drop_mode_if_held_stack_spoiled = true data.raw['inserter'][v].allow_custom_vectors = true - -- data.raw['inserter'][v].extension_speed = data.raw['inserter'][v].extension_speed * 2 end for _, v in pairs({'wooden-chest', 'iron-chest', 'steel-chest'}) do @@ -1703,6 +1707,7 @@ if settings.startup['PHI-CT'].value then order = 'zz', basic_settings = { autoplace_controls = {}, + autoplace_settings = {}, cliff_settings = { name = 'none', cliff_elevation_interval = 100,