248k fixes
This commit is contained in:
parent
c4a67a38ca
commit
546d193253
3 changed files with 21 additions and 13 deletions
|
|
@ -1,3 +1,9 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.2.13
|
||||
Date: 2023-12-22
|
||||
Fixes:
|
||||
- Minor mod compatibility fixes.
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.2.12
|
||||
Date: 2023-02-12
|
||||
Changes:
|
||||
|
|
|
|||
|
|
@ -1,16 +1,18 @@
|
|||
local util = require("data-util");
|
||||
|
||||
local ti2 = "fi_materials_titan"
|
||||
if mods["248k"] then
|
||||
local ti2 = "fi_materials_titan"
|
||||
|
||||
-- Swap out all 248k titanium for BZ titanium_plate
|
||||
for i, recipe in pairs(data.raw.recipe) do
|
||||
-- Swap out all 248k titanium for BZ titanium_plate
|
||||
for i, recipe in pairs(data.raw.recipe) do
|
||||
util.replace_ingredient(recipe.name, ti2, util.titanium_plate)
|
||||
util.replace_product(recipe.name, ti2, util.titanium_plate)
|
||||
end
|
||||
end
|
||||
|
||||
if mods.LootingRemnants and data.raw.recipe.gr_white_hole_cycle_fi_materials_titan_recipe~=nil then
|
||||
if mods.LootingRemnants and data.raw.recipe.gr_white_hole_cycle_fi_materials_titan_recipe~=nil then
|
||||
data.raw.recipe.gr_white_hole_cycle_fi_materials_titan_recipe.exception_mods = {"Deconstruction", "LootingRemnants"}
|
||||
end
|
||||
end
|
||||
|
||||
-- Remove 248k titanium plate
|
||||
util.remove_raw("item", ti2)
|
||||
-- Remove 248k titanium plate
|
||||
util.remove_raw("item", ti2)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bztitanium",
|
||||
"version": "1.2.12",
|
||||
"version": "1.2.13",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Titanium",
|
||||
"author": "Brevven",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue