248k
This commit is contained in:
parent
8820f37926
commit
10ebbb6f45
6 changed files with 34 additions and 2 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 1.1.0
|
||||||
|
Date: 2022-06-26
|
||||||
|
Features:
|
||||||
|
- Beta support for 248k. This is an initial release and may change in the future
|
||||||
|
Titanium plate items merged into one. Multiple production chains
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.0.9
|
Version: 1.0.9
|
||||||
Date: 2022-05-25
|
Date: 2022-05-25
|
||||||
Features:
|
Features:
|
||||||
|
|
|
||||||
18
compatibility/248k.lua
Normal file
18
compatibility/248k.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
local util = require("data-util");
|
||||||
|
|
||||||
|
local ti2 = "fi_materials_titan"
|
||||||
|
|
||||||
|
|
||||||
|
-- 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
|
||||||
|
|
||||||
|
-- Remove 248k titanium plate
|
||||||
|
util.remove_raw("item", ti2)
|
||||||
|
|
||||||
|
-- Update 248k titanium production chain to include titanium ore
|
||||||
|
util.add_ingredient("fi_pure_titan_recipe", "titanium-ore", 10)
|
||||||
|
util.add_to_product("fi_pure_titan_recipe", "fi_materials_pure_titan", 2)
|
||||||
|
|
||||||
|
|
@ -4,3 +4,4 @@ require("titanium-matter")
|
||||||
require("omni")
|
require("omni")
|
||||||
require("map-gen-preset-updates")
|
require("map-gen-preset-updates")
|
||||||
require("strange-matter")
|
require("strange-matter")
|
||||||
|
require("compatibility/248k")
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bztitanium",
|
"name": "bztitanium",
|
||||||
"version": "1.0.9",
|
"version": "1.1.0",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Titanium",
|
"title": "Titanium",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
"? modmashsplinterresources",
|
"? modmashsplinterresources",
|
||||||
"? EndgameCombat",
|
"? EndgameCombat",
|
||||||
"(?) Power Armor MK3",
|
"(?) Power Armor MK3",
|
||||||
|
"? 248k",
|
||||||
"! 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."
|
||||||
|
|
|
||||||
7
migrations/bztitanium.1.1.0.json
Normal file
7
migrations/bztitanium.1.1.0.json
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"item":
|
||||||
|
[
|
||||||
|
["fi_materials_titan", "titanium-plate"]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -118,4 +118,3 @@ data:extend({
|
||||||
} or nil,
|
} or nil,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue