Add option to make natural gas finite without K2
This commit is contained in:
parent
0fd82bd524
commit
4870fbe4e4
7 changed files with 27 additions and 2 deletions
6
me.lua
6
me.lua
|
@ -5,7 +5,11 @@ me.list = {}
|
|||
me.recipes = {"bakelite", "phenol", "phenol-from-oil"} -- formaldehyde excluded intentionally for theme
|
||||
|
||||
function me.finite() -- Krastorio 2
|
||||
return me.get_setting("kr-finite-oil")
|
||||
if mods.Krastorio2 then
|
||||
return me.get_setting("kr-finite-oil")
|
||||
else
|
||||
return me.get_setting("bzgas-finite")
|
||||
end
|
||||
end
|
||||
|
||||
function me.handcraft()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue