Skip to content

Commit

Permalink
Space Exploration integration (#136)
Browse files Browse the repository at this point in the history
* Update data-updates.lua for SE integration

* Update data-final-fixes.lua for SE integration

* Add file for SE integration

* Update info.json for SE integration

* Update data-updates.lua for SE integration

* Add file for SE integration

* Add file for SE integration

* Update data-updates.lua for SE integration

* Update bobmining.cfg for SE integration

* Add file for SE integration

* Update info.json for SE integration

* Update info.json for SE integration

* Update data-updates.lua for SE integration

* Add file for SE integration

* Update pipes.lua with iridium pipe for SE integration

* Update boblogistics.cfg for SE integration

* Add file for SE integration

* Update info.json for SE integration

* Update data-updates.lua for SE integration

* Add file for SE integration

* Update bobequipment.cfg for SE integration

* Update equipment.lua for SE integration

* Update equipment.lua for SE integration

* Update equipment.lua for SE integration

* Update equipment.lua for SE integration

* Add file for SE integration

* Update info.json for SE integration

* Fixing indentation

* Removing references to steam assembling machines

Steam assembling machines are now disabled when AAI is enabled

* Fixing indentation

* Fixing indentation

* Fixing indentation

* Updating changelogs

---------

Co-authored-by: KiwiHawk <[email protected]>
  • Loading branch information
Qatavin and KiwiHawk authored Sep 2, 2023
1 parent e7327d9 commit 1d4f38e
Show file tree
Hide file tree
Showing 30 changed files with 4,310 additions and 338 deletions.
1 change: 1 addition & 0 deletions bobassembly/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Version: 1.2.0
Date: ???
Changes:
- Added support for Space Exploration mod #88
- Hid setting "Burner and steam assembling machines" when AAI Industry mod is enabled #133
---------------------------------------------------------------------------------------------------
Version: 1.1.6
Expand Down
15 changes: 15 additions & 0 deletions bobassembly/data-final-fixes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,18 @@ bobmods.lib.machine.copy_categories_from("furnace", "electric-furnace", "electri
bobmods.lib.machine.copy_categories_from("furnace", "electric-furnace", "electric-furnace-3")
bobmods.lib.machine.copy_categories_from("furnace", "electric-furnace", "multi-purpose-furnace-1")
bobmods.lib.machine.copy_categories_from("furnace", "electric-furnace", "multi-purpose-furnace-2")

if mods["space-exploration"] then
bobmods.lib.tech.remove_science_pack("electronics-machine-3", "se-material-science-pack-4")
bobmods.lib.tech.remove_science_pack("chemical-plant-3", "se-material-science-pack-1")
bobmods.lib.tech.remove_science_pack("chemical-plant-4", "se-material-science-pack-4")
if data.raw.item["chemical-plant-4"] then
data.raw.item["chemical-plant"].subgroup = "bob-chemical-machine"
end
if data.raw.item["oil-refinery-4"] then
data.raw.item["oil-refinery"].subgroup = "bob-chemical-machine"
data.raw.item["oil-refinery-2"].subgroup = "bob-chemical-machine"
data.raw.item["oil-refinery-3"].subgroup = "bob-chemical-machine"
data.raw.item["oil-refinery-4"].subgroup = "bob-chemical-machine"
end
end
3 changes: 3 additions & 0 deletions bobassembly/data-updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ require("prototypes.chemical-mixing-furnace-updates")
require("prototypes.distillery-updates")
require("prototypes.fluid-furnace-updates")
require("prototypes.centrifuge-updates")
if mods["space-exploration"] then
require("prototypes.se-updates")
end

data.raw.fluid["crude-oil"].fuel_value = "1.9MJ"
data.raw.fluid["crude-oil"].emissions_multiplier = 10
Expand Down
Loading

0 comments on commit 1d4f38e

Please sign in to comment.