diff --git a/PHI-CL/data/b/gm-vp-c.lua b/PHI-CL/data/b/gm-vp-c.lua index 637cc35..eb1a6c2 100644 --- a/PHI-CL/data/b/gm-vp-c.lua +++ b/PHI-CL/data/b/gm-vp-c.lua @@ -630,53 +630,63 @@ local items = { ['technology_productivity'] = { -- BASE 0 ['concrete'] = { + mod = 'base', prerequisites = {'landfill'}, ingredients = {'metallurgic-science-pack', 'electromagnetic-science-pack'}, effect = {'concrete', 'concrete-from-molten-iron', 'refined-concrete', 'landfill'} }, ['automation'] = { + mod = 'base', prerequisites = {}, ingredients = {'metallurgic-science-pack', 'electromagnetic-science-pack'}, effect = {'pipe', 'casting-pipe', 'iron-gear-wheel', 'casting-iron-gear-wheel', 'barrel'} }, ['electronics'] = { + mod = 'base', prerequisites = {}, ingredients = {'metallurgic-science-pack', 'electromagnetic-science-pack'}, effect = {'electronic-circuit', 'copper-cable', 'casting-copper-cable'} }, ['advanced-circuit'] = { + mod = 'base', prerequisites = {}, ingredients = {'electromagnetic-science-pack'}, effect = {'advanced-circuit'} }, ['engine'] = { + mod = 'base', prerequisites = {}, ingredients = {'electromagnetic-science-pack'}, effect = {'engine-unit', 'electric-engine-unit', 'flying-robot-frame'} }, -- BASE 5 ['solar-energy'] = { + mod = 'base', prerequisites = {}, ingredients = {'electromagnetic-science-pack'}, effect = {'solar-panel', 'accumulator', 'battery'} }, ['railway'] = { + mod = 'base', prerequisites = {}, ingredients = {'electromagnetic-science-pack'}, effect = {'rail', 'iron-stick', 'casting-iron-stick'} }, ['sulfur-processing'] = { + mod = 'base', prerequisites = {'cliff-explosives'}, ingredients = {'cryogenic-science-pack'}, effect = {'sulfur', 'sulfuric-acid', 'explosives', 'cliff-explosives'} }, ['oil-processing'] = { + mod = 'base', prerequisites = {}, ingredients = {'cryogenic-science-pack'}, effect = {'basic-oil-processing', 'advanced-oil-processing', 'coal-liquefaction', 'lubricant'} }, -- SPACE_AGE 0 ['agriculture'] = { + mod = 'space-age', prerequisites = {}, ingredients = {'agricultural-science-pack'}, effect = {'yumako-processing', 'jellynut-processing'} diff --git a/PHI-CL/data/b/gm-vp.lua b/PHI-CL/data/b/gm-vp.lua index 8ac8c60..662d18c 100644 --- a/PHI-CL/data/b/gm-vp.lua +++ b/PHI-CL/data/b/gm-vp.lua @@ -95,13 +95,15 @@ if items['technology_productivity'] then table.insert(base_effect, {type = 'change-recipe-productivity', recipe = v2, change = 0.05}) end + local icon = ((v.mod and v.mod == 'base') and '__base__/graphics/technology/' .. k ..'.png') or ('__space-age__/graphics/technology/' .. k ..'.png') + data:extend({{ type = 'technology', name = k .. '-productivity', prerequisites = base_prerequisites, effects = base_effect, unit = {count_formula = '1000 * (1.5 ^ (L - 1))', ingredients = base_ingredient, time = 60}, - icons = {{icon = '__base__/graphics/technology/' .. k ..'.png', icon_size = 256}, {icon = '__core__/graphics/icons/technology/constants/constant-recipe-productivity.png', icon_size = 128, scale = 0.5, shift = {50, 50}}}, + icons = {{icon = icon, icon_size = 256}, {icon = '__core__/graphics/icons/technology/constants/constant-recipe-productivity.png', icon_size = 128, scale = 0.5, shift = {50, 50}}}, order = 'a-i-d', max_level = 10, upgrade = true,