61 lines
2.1 KiB
Lua
61 lines
2.1 KiB
Lua
-- function to know if this is special vanilla or not (DUPLICATE OF ANGELS, since this mod seems to be calling it earlier)
|
|
if not clowns then clowns={} end
|
|
if not clowns.functions then clowns.functions={} end
|
|
if not clowns.tables then clowns.tables ={} end
|
|
--check vanilla settings
|
|
clowns.special_vanilla = true --assume true, then find out if false
|
|
for ore_name, ore_enabled in pairs(angelsmods.trigger.ores or {}) do
|
|
if ore_enabled and ore_name ~= "iron" and ore_name ~= "copper" and ore_name ~= "uranium" then
|
|
clowns.special_vanilla = false
|
|
end
|
|
end
|
|
if mods["pyrawores"] then --force full mode
|
|
clowns.special_vanilla = false
|
|
end
|
|
if settings.startup["depleted-uranium"].value and clowns.special_vanilla == false then
|
|
angelsmods.trigger.smelting_products["enable-all"] = true -- to ensure we get the powder
|
|
end
|
|
angelsmods.trigger.ores["platinum"] = true
|
|
angelsmods.trigger.smelting_products["platinum"].wire = true
|
|
|
|
require("prototypes.categories")
|
|
|
|
-- ITEMS
|
|
-- vanilla-items include things for angels-refining,smelting and petrochem
|
|
require("prototypes.buildings.sluicer")
|
|
require("prototypes.buildings.centrifuge")--active if setting
|
|
|
|
require("prototypes.items.vanilla-items")
|
|
require("prototypes.items.neurotoxin")
|
|
--angelsbioprocessing
|
|
require("prototypes.items.angels-bioprocessing")
|
|
--angelsindustries
|
|
--bobs
|
|
|
|
--RECIPES
|
|
--vanilla
|
|
require("prototypes.recipes.vanilla-recipes")
|
|
require("prototypes.recipes.angels-smelting")
|
|
require("prototypes.recipes.petrochem")
|
|
--angelsbioprocessing
|
|
require("prototypes.recipes.angels-bioprocessing")
|
|
--bobs
|
|
require("prototypes.recipes.bobs")
|
|
|
|
|
|
--if mods["angelsbioprocessing"] then
|
|
require("prototypes.technology.gardens")
|
|
--end
|
|
require("prototypes.technology.magnesium")
|
|
require("prototypes.technology.depleted-uranium")
|
|
require("prototypes.technology.osmium")
|
|
require("prototypes.technology.uranium")
|
|
require("prototypes.technology.mercury")
|
|
--if settings.startup["MCP_enable_centrifuges"].value then
|
|
require("prototypes.technology.centrifuging")
|
|
--end
|
|
require("prototypes.technology.salination")
|
|
require("prototypes.technology.phosphorus")
|
|
|
|
require("prototypes.overrides")
|