general settings prep
This commit is contained in:
parent
f5925bb78e
commit
ee8376013c
1 changed files with 2 additions and 0 deletions
2
me.lua
2
me.lua
|
|
@ -4,6 +4,7 @@ me.name = "bzcarbon"
|
||||||
me.list = {}
|
me.list = {}
|
||||||
|
|
||||||
function me.use_fullerenes()
|
function me.use_fullerenes()
|
||||||
|
if me.get_setting("bz-all-intermediates") then return true end
|
||||||
return me.get_setting("bzcarbon-enable-fullerenes") == "yes"
|
return me.get_setting("bzcarbon-enable-fullerenes") == "yes"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -13,6 +14,7 @@ end
|
||||||
|
|
||||||
|
|
||||||
function me.use_carbon_black()
|
function me.use_carbon_black()
|
||||||
|
if me.get_setting("bz-all-intermediates") then return true end
|
||||||
return me.get_setting("bzcarbon-enable-carbon-black") == "yes"
|
return me.get_setting("bzcarbon-enable-carbon-black") == "yes"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue