fluid setting
This commit is contained in:
parent
9e83776f5e
commit
c0eb0397f0
5 changed files with 21 additions and 4 deletions
|
|
@ -39,6 +39,12 @@ function util.get_setting(name)
|
|||
return settings.startup[name].value
|
||||
end
|
||||
|
||||
function util.fluid_amount()
|
||||
local amt = util.get_setting("bztitanium-mining-fluid-amount")
|
||||
return amt and amt or 3
|
||||
end
|
||||
|
||||
|
||||
local bypass = {}
|
||||
if util.get_setting(util.name.."-recipe-bypass") then
|
||||
for recipe in string.gmatch(util.get_setting(util.name.."-recipe-bypass"), '[^",%s]+') do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue