setting for flake-graphite

This commit is contained in:
Brevven 2022-01-20 00:44:33 -08:00
parent 1b5064cce9
commit 274de48840
9 changed files with 91 additions and 7 deletions

View file

@ -1,6 +1,6 @@
local util = require("__bzcarbon__.data-util");
if mods["Rich-Rocks-Requiem"] then
if util.me.use_flake_graphite() and mods["Rich-Rocks-Requiem"] then
if data.raw.recipe["rrr-stone-processing"] then
table.insert(data.raw.recipe["rrr-stone-processing"].results,
{name = "flake-graphite", probability = 0.35, amount = 1}
@ -12,5 +12,4 @@ if mods["Rich-Rocks-Requiem"] then
{name = "flake-graphite", probability = 0.65, amount = 10}
)
end
end