better bobrevamp compatibility
This commit is contained in:
parent
bfb9b1a0bd
commit
f3d8acfa25
4 changed files with 26 additions and 2 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.9.6
|
||||||
|
Date: 2020-12-29
|
||||||
|
Changes:
|
||||||
|
- Compatibility with bobrevamp without bobores
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.9.5
|
Version: 0.9.5
|
||||||
Date: 2020-12-29
|
Date: 2020-12-29
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bztitanium",
|
"name": "bztitanium",
|
||||||
"version": "0.9.5",
|
"version": "0.9.6",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Titanium",
|
"title": "Titanium",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,9 @@ local util = require("__bztitanium__.data-util");
|
||||||
util.steel_to_titanium(data.raw.recipe["low-density-structure"])
|
util.steel_to_titanium(data.raw.recipe["low-density-structure"])
|
||||||
util.steel_to_titanium(data.raw.recipe["low-density-structure"].normal)
|
util.steel_to_titanium(data.raw.recipe["low-density-structure"].normal)
|
||||||
util.steel_to_titanium(data.raw.recipe["low-density-structure"].expensive)
|
util.steel_to_titanium(data.raw.recipe["low-density-structure"].expensive)
|
||||||
util.add_titanium_prerequisite(data.raw.technology["low-density-structure"])
|
if not mods["bobrevamp"] then
|
||||||
|
util.add_titanium_prerequisite(data.raw.technology["low-density-structure"])
|
||||||
|
end
|
||||||
|
|
||||||
if (not mods["bobplates"] and not mods["angelssmelting"]) then
|
if (not mods["bobplates"] and not mods["angelssmelting"]) then
|
||||||
util.steel_to_titanium(data.raw.recipe["flying-robot-frame"])
|
util.steel_to_titanium(data.raw.recipe["flying-robot-frame"])
|
||||||
|
|
@ -15,6 +17,19 @@ if (not mods["bobplates"] and not mods["angelssmelting"]) then
|
||||||
util.add_titanium_prerequisite(data.raw.technology["robotics"])
|
util.add_titanium_prerequisite(data.raw.technology["robotics"])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if (mods["bobrevamp"] and not mods["bobplates"] and not mods["angelssmelting"]) then
|
||||||
|
util.steel_to_titanium(data.raw.recipe["flying-robot-frame-2"])
|
||||||
|
util.steel_to_titanium(data.raw.recipe["flying-robot-frame-2"].normal)
|
||||||
|
util.steel_to_titanium(data.raw.recipe["flying-robot-frame-2"].expensive)
|
||||||
|
util.steel_to_titanium(data.raw.recipe["flying-robot-frame-3"])
|
||||||
|
util.steel_to_titanium(data.raw.recipe["flying-robot-frame-3"].normal)
|
||||||
|
util.steel_to_titanium(data.raw.recipe["flying-robot-frame-3"].expensive)
|
||||||
|
util.steel_to_titanium(data.raw.recipe["flying-robot-frame-4"])
|
||||||
|
util.steel_to_titanium(data.raw.recipe["flying-robot-frame-4"].normal)
|
||||||
|
util.steel_to_titanium(data.raw.recipe["flying-robot-frame-4"].expensive)
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- Memory storage changes
|
-- Memory storage changes
|
||||||
if data.raw.item["memory-unit"] then
|
if data.raw.item["memory-unit"] then
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,10 @@ if mods["modmashsplinterresources"] then
|
||||||
util.remove_raw("recipe", "titanium-extraction-process")
|
util.remove_raw("recipe", "titanium-extraction-process")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if (mods["bobrevamp"] and not mods["bobores"]) then
|
||||||
|
util.remove_raw("technology", "titanium-processing")
|
||||||
|
end
|
||||||
|
|
||||||
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then
|
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then
|
||||||
data:extend(
|
data:extend(
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue