Add option to make natural gas finite without K2

This commit is contained in:
OZAWA Sakuro 2023-06-21 16:47:23 +09:00
parent 0fd82bd524
commit 4870fbe4e4
7 changed files with 27 additions and 2 deletions

6
me.lua
View file

@ -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()