some settings
This commit is contained in:
parent
46b0920494
commit
609b1a4a1d
2 changed files with 13 additions and 28 deletions
24
me.lua
24
me.lua
|
|
@ -1,30 +1,16 @@
|
|||
local me = {}
|
||||
|
||||
me.name = "bzchlorine"
|
||||
me.name = "bzgold"
|
||||
me.list = {}
|
||||
|
||||
function me.starting_patch()
|
||||
return (
|
||||
me.get_setting("bzchlorine-early-salt") == "mining" or
|
||||
me.get_setting("bzchlorine-early-salt") == "both"
|
||||
)
|
||||
end
|
||||
|
||||
function me.early_assemblers()
|
||||
return (
|
||||
me.get_setting("bzchlorine-early-salt") == "assembler" or
|
||||
me.get_setting("bzchlorine-early-salt") == "both" or
|
||||
(not me.salt())
|
||||
)
|
||||
end
|
||||
|
||||
function me.more()
|
||||
function me.silver()
|
||||
if me.get_setting("bz-all-intermediates") then return true end
|
||||
return me.get_setting("bzchlorine-more-intermediates") == "yes"
|
||||
return me.get_setting("bzgold-silver")
|
||||
end
|
||||
|
||||
function me.salt()
|
||||
return me.get_setting("bzchlorine-salt")
|
||||
function me.catalysis()
|
||||
return me.get_setting("bzgold-catalysis")
|
||||
end
|
||||
|
||||
function me.get_setting(name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue