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
2 changes: 1 addition & 1 deletion prototypes/buildings/radar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RECIPE {
}:add_unlock("radars-mk01")

RECIPE("radar"):remove_unlock("radar"):add_unlock("radars-mk01").enabled = false
TECHNOLOGY("radar").hidden = true
TECHNOLOGY("radar"):hide()

ITEM {
type = "item",
Expand Down
20 changes: 7 additions & 13 deletions prototypes/equipment/armor-updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,13 @@ data.raw.armor["power-armor-mk2"].inventory_size_bonus = 100

-- This should fix this issue https://github.com/pyanodon/pybugreports/issues/1050
-- IF IF IF IF pyindustry and or pycoalprocessing are enabled only
if mods.pyhightech then
data.raw.technology["battery-equipment"].hidden = true
data.raw.technology["battery-equipment"].enabled = false
data.raw.recipe["battery-equipment"].hidden = true
data.raw.item["battery-equipment"].hidden = true
data.raw.item["battery-equipment"].place_as_equipment_result = nil
data.raw.item["battery-equipment"].localised_name = {"equipment-name.battery-equipment"}
data.raw.technology["battery-mk2-equipment"].hidden = true
data.raw.technology["battery-mk2-equipment"].enabled = false
data.raw.recipe["battery-mk2-equipment"].hidden = true
data.raw.item["battery-mk2-equipment"].hidden = true
data.raw.item["battery-mk2-equipment"].place_as_equipment_result = nil
data.raw.item["battery-mk2-equipment"].localised_name = {"equipment-name.battery-mk2-equipment"}
if mods.pyhightech then -- TODO move to updates in pyhightech and remove duplicate in pyindustry
TECHNOLOGY("battery-equipment"):hide().enabled = false
RECIPE("battery-equipment"):hide()
ITEM("battery-equipment"):hide().place_as_equipment_result = nil
TECHNOLOGY("battery-mk2-equipment"):hide().enabled = false
RECIPE("battery-mk2-equipment"):hide()
ITEM("battery-mk2-equipment"):hide().place_as_equipment_result = nil
end

data:extend {{
Expand Down
26 changes: 13 additions & 13 deletions prototypes/updates/base-updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ data.raw.fluid["petroleum-gas"].gas_temperature = 20

if not mods["boblogistics"] then
--Remove base robots
RECIPE("construction-robot"):remove_unlock("construction-robotics"):set_fields {hidden = true}
RECIPE("logistic-robot"):remove_unlock("logistic-robotics"):set_fields {hidden = true}
RECIPE("flying-robot-frame"):remove_unlock("robotics"):set_fields {hidden = true}
RECIPE("roboport"):remove_unlock("logistic-robotics"):remove_unlock("construction-robotics"):set_fields {hidden = true}

ITEM("construction-robot"):set_fields {hidden = true}
ITEM("logistic-robot"):set_fields {hidden = true}
ITEM("flying-robot-frame"):set_fields {hidden = true}
ITEM("roboport"):set_fields {hidden = true}

ENTITY("construction-robot"):set_fields {hidden = true}
ENTITY("logistic-robot"):set_fields {hidden = true}
ENTITY("roboport"):set_fields {hidden = true}
RECIPE("construction-robot"):remove_unlock("construction-robotics"):hide()
RECIPE("logistic-robot"):remove_unlock("logistic-robotics"):hide()
RECIPE("flying-robot-frame"):remove_unlock("robotics"):hide()
RECIPE("roboport"):remove_unlock("logistic-robotics"):remove_unlock("construction-robotics"):hide()

ITEM("construction-robot"):hide()
ITEM("logistic-robot"):hide()
ITEM("flying-robot-frame"):hide()
ITEM("roboport"):hide()

ENTITY("construction-robot"):hide()
ENTITY("logistic-robot"):hide()
ENTITY("roboport"):hide()

-- remove roboport animations to save VRAM
ENTITY("roboport").base = nil
Expand Down