Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions prototypes/updates/base-updates.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
data.raw["autoplace-control"]["coal"] = nil

-- TECH CHANGES
data.raw.technology["uranium-processing"].enabled = false
data.raw.technology["uranium-processing"].hidden = true
TECHNOLOGY("uranium-processing"):hide().enabled = false
--data.raw.technology["uranium-processing"] = nil
TECHNOLOGY("kovarex-enrichment-process"):set_fields {enabled = false}:set_fields {hidden = true}
TECHNOLOGY("kovarex-enrichment-process"):set_fields {enabled = false}:hide()
TECHNOLOGY("robotics"):remove_prereq("construction-robotics"):add_prereq("logistic-robotics")
TECHNOLOGY("construction-robotics"):remove_prereq("steel-processing")
TECHNOLOGY("fluid-handling"):remove_prereq("automation"):remove_prereq("steel-processing")
Expand All @@ -24,10 +23,10 @@ TECHNOLOGY("atomic-bomb"):add_pack("space-science-pack")
TECHNOLOGY("plastics"):remove_pack("logistic-science-pack")

-- RECIPE UNLOCKS
RECIPE("uranium-processing"):remove_unlock("uranium-processing"):set_fields {hidden = true}
RECIPE("uranium-processing"):remove_unlock("uranium-processing"):hide()
RECIPE("nuclear-fuel"):remove_unlock("kovarex-enrichment-process"):add_unlock("uranium-mk04")
RECIPE("flying-robot-frame"):add_unlock("robotics"):set_fields {hidden = false}
ITEM("flying-robot-frame"):set_fields {hidden = false}
RECIPE("flying-robot-frame"):add_unlock("robotics"):unhide()
ITEM("flying-robot-frame"):unhide()
RECIPE("centrifuge"):remove_unlock("uranium-processing"):add_unlock("nuclear-fuel-reprocessing")

-- RECIPE CHANGES
Expand Down
16 changes: 8 additions & 8 deletions prototypes/updates/pycoalprocessing-updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ TECHNOLOGY("energy-3"):remove_prereq("fuel-production")

-- RECIPE UNLOCKS
RECIPE("nichrome"):remove_unlock("chromium"):add_unlock("nichrome")
RECIPE("tailings-copper-iron"):remove_unlock("separation"):set_fields {hidden = true}
RECIPE("tailings-copper-iron"):remove_unlock("separation"):hide()
RECIPE("sand-casting"):remove_unlock("nexelit"):add_unlock("casting-mk01")
RECIPE("concrete-richclay"):remove_unlock("concrete"):set_fields {hidden = true}
RECIPE("concrete-richclay"):remove_unlock("concrete"):hide()
RECIPE("slacked-lime"):remove_unlock("filtration-mk02"):add_unlock("salts")
RECIPE("glass-2"):remove_unlock("advanced-material-processing")
RECIPE("powdered-quartz"):remove_unlock("advanced-material-processing")
Expand All @@ -47,17 +47,17 @@ TECHNOLOGY("fine-electronics"):add_prereq("iron-mk01"):add_prereq("lead-mk01")

--RECIPES

RECIPE("crushing-copper"):remove_unlock("advanced-material-processing"):set_fields {hidden = true}
RECIPE("crushed-copper"):remove_unlock("advanced-material-processing"):set_fields {hidden = true}
RECIPE("crushing-iron"):remove_unlock("advanced-material-processing"):set_fields {hidden = true}
RECIPE("crushed-iron"):remove_unlock("advanced-material-processing"):set_fields {hidden = true}
RECIPE("steel-plate2"):remove_unlock("advanced-material-processing-2"):set_fields {hidden = true}
RECIPE("crushing-copper"):remove_unlock("advanced-material-processing"):hide()
RECIPE("crushed-copper"):remove_unlock("advanced-material-processing"):hide()
RECIPE("crushing-iron"):remove_unlock("advanced-material-processing"):hide()
RECIPE("crushed-iron"):remove_unlock("advanced-material-processing"):hide()
RECIPE("steel-plate2"):remove_unlock("advanced-material-processing-2"):hide()

--ITEM("crushed-copper").hidden = true
--ITEM("crushed-iron").hidden = true

RECIPE("coke-coal"):remove_unlock("coal-processing-1"):add_unlock("coke-mk01") --:replace_ingredient("coal", "raw-coal")
if RECIPE["fuelrod-mk01"] then RECIPE("fuelrod-mk01"):remove_unlock("advanced-material-processing-2"):set_fields {hidden = true} end
if RECIPE["fuelrod-mk01"] then RECIPE("fuelrod-mk01"):remove_unlock("advanced-material-processing-2"):hide() end
--RECIPE('advanced-foundry-mk01'):remove_unlock('nexelit'):add_unlock('smelters-mk01')
RECIPE("filtration-media"):remove_unlock("advanced-oil-processing"):add_unlock("filtration")
RECIPE("olefin-plant"):remove_unlock("lubricant"):add_unlock("fuel-production")
Expand Down