fix ec+pamk3
This commit is contained in:
parent
351f31581d
commit
89a07a8a70
4 changed files with 9 additions and 2 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 1.0.5
|
||||||
|
Date: 2022-02-11
|
||||||
|
Fixes:
|
||||||
|
- Fix for Endgame Combat + Power Armor Mk3
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.0.4
|
Version: 1.0.4
|
||||||
Date: 2022-02-04
|
Date: 2022-02-04
|
||||||
Fixes:
|
Fixes:
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ util.remove_prerequisite("acid-turrets", "aluminium-processing")
|
||||||
|
|
||||||
util.remove_ingredient("power-armor-mk3", "copper-tungsten-alloy")
|
util.remove_ingredient("power-armor-mk3", "copper-tungsten-alloy")
|
||||||
util.remove_prerequisite("power-armor-mk3", "nitinol-processing")
|
util.remove_prerequisite("power-armor-mk3", "nitinol-processing")
|
||||||
|
|
||||||
if not mods.bztungsten then
|
if not mods.bztungsten then
|
||||||
util.remove_prerequisite("power-armor-mk3", "tungsten-processing")
|
util.remove_prerequisite("power-armor-mk3", "tungsten-processing")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ end
|
||||||
function util.remove_prerequisite(technology_name, prerequisite)
|
function util.remove_prerequisite(technology_name, prerequisite)
|
||||||
local technology = data.raw.technology[technology_name]
|
local technology = data.raw.technology[technology_name]
|
||||||
local index = -1
|
local index = -1
|
||||||
if technology and data.raw.technology[prerequisite] then
|
if technology then
|
||||||
for i, prereq in pairs(technology.prerequisites) do
|
for i, prereq in pairs(technology.prerequisites) do
|
||||||
if prereq == prerequisite then
|
if prereq == prerequisite then
|
||||||
index = i
|
index = i
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bztitanium",
|
"name": "bztitanium",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Titanium",
|
"title": "Titanium",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
@ -19,6 +19,7 @@
|
||||||
"? DeadlockCrating",
|
"? DeadlockCrating",
|
||||||
"? modmashsplinterresources",
|
"? modmashsplinterresources",
|
||||||
"? EndgameCombat",
|
"? EndgameCombat",
|
||||||
|
"(?) Power Armor MK3",
|
||||||
"! nullius"
|
"! nullius"
|
||||||
],
|
],
|
||||||
"description": "Adds titanium to the base game.\n\nTitanium is used in Low Density Structures, Flying Robot Frames and a few other places.\n\nCompatible with Krastorio 2, Space Exploration, Aircraft, 5Dim's, FE+ and other mods. A standalone piece of BZ Mods.\n\nWith graphics by snouz."
|
"description": "Adds titanium to the base game.\n\nTitanium is used in Low Density Structures, Flying Robot Frames and a few other places.\n\nCompatible with Krastorio 2, Space Exploration, Aircraft, 5Dim's, FE+ and other mods. A standalone piece of BZ Mods.\n\nWith graphics by snouz."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue