forked from Afforess/Marathon
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdata-updates.lua
More file actions
31 lines (25 loc) · 1 KB
/
data-updates.lua
File metadata and controls
31 lines (25 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require("prototypes.item")
if bobsmods then
require("prototypes.bobsmods.item")
end
if angelsmods then
require("prototypes.angelsmods.technology-updates")
end
if mods['Yuoki'] then
require("prototypes.yuoki.item")
end
-- log("MARATHOMATON SETTINGS")
-- log(serpent.block(settings))
if settings.startup['marathomaton_greenhouse_revamp'].value == true then
if BI then
-- replace
if bobmods and bobmods.lib then
bobmods.lib.recipe.replace_ingredient("bi_bio_Solar_Farm", "solar-panel", "solar-panel-large-3")
bobmods.lib.recipe.replace_ingredient("bi_bio_Solar_Farm", "solar-panel-large", "solar-panel-large-3")
bobmods.lib.recipe.replace_ingredient("bi_bio_Solar_Farm", "medium-electric-pole", "medium-electric-pole-4")
bobmods.lib.tech.remove_recipe_unlock('bob-solar-energy-2', 'bi_bio_Solar_Farm')
bobmods.lib.tech.add_recipe_unlock('electric-pole-4', 'bi_bio_Solar_Farm')
bobmods.lib.tech.add_recipe_unlock('bob-solar-energy-4', 'bi_bio_Solar_Farm')
end
end
end