Skip to content

Commit

Permalink
implement optimized entity masks
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Jun 24, 2024
1 parent 413d8cb commit a307533
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion prototypes/buildings/phosphate-mine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RECIPE {
energy_required = 0.5,
enabled = false,
ingredients = {
{"soil-extractormk01", 2},
{"soil-extractor-mk01", 2},
--{"automated-factory-mk01", 1},
{"iron-plate", 60},
{"jaw-crusher", 1},
Expand Down
2 changes: 1 addition & 1 deletion prototypes/buildings/rare-earth-mine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RECIPE {
energy_required = 2,
enabled = false,
ingredients = {
{"soil-extractormk01", 2},
{"soil-extractor-mk01", 2},
{"distilator", 1},
{"steel-plate", 60},
{"engine-unit", 10},
Expand Down
24 changes: 12 additions & 12 deletions prototypes/updates/pycoalprocessing-updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ TECHNOLOGY('fluid-separation'):remove_prereq('mukmoux')
TECHNOLOGY('fuel-production'):remove_prereq('lubricant')
TECHNOLOGY('energy-2'):remove_prereq('advanced-electronics'):remove_prereq('coal-processing-2')
TECHNOLOGY('energy-3'):remove_prereq('fuel-production'):remove_prereq('advanced-material-processing-2')
TECHNOLOGY("fine-electronics"):remove_prereq("sulfur-processing"):remove_prereq("niobium"):remove_prereq("plastics")
TECHNOLOGY("fluid-processing-machines-1"):remove_prereq("coal-processing-2"):remove_prereq("py-storage-tanks")
TECHNOLOGY("kevlar"):remove_prereq("filtration")
TECHNOLOGY('fine-electronics'):remove_prereq('sulfur-processing'):remove_prereq('niobium'):remove_prereq('plastics')
TECHNOLOGY('fluid-processing-machines-1'):remove_prereq('coal-processing-2'):remove_prereq('py-storage-tanks')
TECHNOLOGY('kevlar'):remove_prereq('filtration')

-- RECIPE UNLOCKS


-- RECIPE CHANGES
RECIPE('kevlar'):add_ingredient({type = 'item', name = 'nylon', amount = 5})
RECIPE('biofilm'):add_ingredient({type = 'item', name = 'rayon', amount = 2})
RECIPE('cladding'):add_ingredient({type = 'fluid', name = 'nitrobenzene', amount = 50})
RECIPE('nas-battery'):add_ingredient({type = 'item', name = 'rayon', amount = 2})
RECIPE('mukmoux-pasture'):replace_ingredient('advanced-circuit', 'electronic-circuit')
RECIPE('kevlar'):add_ingredient {type = 'item', name = 'nylon', amount = 5}
RECIPE('biofilm'):add_ingredient {type = 'item', name = 'rayon', amount = 2}
RECIPE('cladding'):add_ingredient {type = 'fluid', name = 'nitrobenzene', amount = 50}
RECIPE('nas-battery'):add_ingredient {type = 'item', name = 'rayon', amount = 2}
if RECIPE['mukmoux-pasture'] then RECIPE('mukmoux-pasture'):replace_ingredient('advanced-circuit', 'electronic-circuit') end
RECIPE('niobium-oxide'):replace_ingredient('water', 'ammonia')
RECIPE('ball-mill-mk01'):remove_ingredient('py-asphalt'):add_ingredient({type = 'item', name = 'electronic-circuit', amount = 10})
RECIPE("olefin-plant"):replace_ingredient("advanced-circuit", "electronic-circuit")
RECIPE("evaporator"):remove_ingredient("electronic-circuit")
RECIPE("jaw-crusher"):remove_ingredient("electronic-circuit")
RECIPE('ball-mill-mk01'):remove_ingredient('py-asphalt'):add_ingredient {type = 'item', name = 'electronic-circuit', amount = 10}
RECIPE('olefin-plant'):replace_ingredient('advanced-circuit', 'electronic-circuit')
RECIPE('evaporator'):remove_ingredient('electronic-circuit')
RECIPE('jaw-crusher'):remove_ingredient('electronic-circuit')

0 comments on commit a307533

Please sign in to comment.