several recipe updates, fe+ too
This commit is contained in:
parent
859ea19ba2
commit
7753800bb2
5 changed files with 57 additions and 8 deletions
|
|
@ -8,6 +8,15 @@ local util = {}
|
|||
util.me = me
|
||||
util.get_setting = util.me.get_setting
|
||||
|
||||
util.titanium_plate = ""
|
||||
util.titanium_processing = ""
|
||||
|
||||
if mods["FactorioExtended-Plus-Core"] then
|
||||
util.titanium_plate = "titanium-alloy"
|
||||
else
|
||||
util.titanium_plate = "titanium-plate"
|
||||
end
|
||||
|
||||
function util.fe_plus(sub)
|
||||
if mods["FactorioExtended-Plus-"..sub] then
|
||||
return true
|
||||
|
|
@ -435,4 +444,10 @@ function add_to_product(recipe, product, amount)
|
|||
end
|
||||
end
|
||||
|
||||
function util.add_minable_result(t, name, result)
|
||||
if data.raw[t] and data.raw[t][name] and data.raw[t][name].minable and data.raw[t][name].minable.results then
|
||||
table.insert(data.raw[t][name].minable.results, result)
|
||||
end
|
||||
end
|
||||
|
||||
return util
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue