248k
This commit is contained in:
parent
e41a8efa0c
commit
11a3e17c4b
9 changed files with 47 additions and 7 deletions
18
compatibility/248k-final.lua
Normal file
18
compatibility/248k-final.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
local util = require("data-util");
|
||||
|
||||
if mods["248k"] then
|
||||
local au2 = "fu_materials_gold_ingot"
|
||||
|
||||
-- Swap out all 248k gold ingot for BZ gold ingot
|
||||
for i, recipe in pairs(data.raw.recipe) do
|
||||
util.replace_ingredient(recipe.name, au2, "gold-ingot")
|
||||
util.replace_product(recipe.name, au2, "gold-ingot")
|
||||
end
|
||||
|
||||
if mods.LootingRemnants and data.raw.recipe.gr_white_hole_cycle_fu_materials_gold_recipe~=nil then
|
||||
data.raw.recipe.gr_white_hole_cycle_fu_materials_gold_recipe.exception_mods = {"Deconstruction", "LootingRemnants"}
|
||||
end
|
||||
|
||||
-- Remove 248k gold ingot
|
||||
util.remove_raw("item", au2)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue