more general compat

This commit is contained in:
Brevven 2022-08-07 16:58:13 -07:00
parent 4d9abb9bdc
commit bdf0fc3feb
6 changed files with 146 additions and 27 deletions

2
me.lua
View file

@ -8,7 +8,7 @@ function me.mod_setting()
end
function me.byproduct()
return me.get_setting("bzaluminum-byproduct")
return me.get_setting("bzaluminum-byproduct") and not me.get_setting("bz-no-byproduct")
end
function me.get_setting(name)