248k
This commit is contained in:
parent
0f8d6387a1
commit
e2621dc9a4
5 changed files with 34 additions and 1 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
|
||||||
|
Lead plate items merged into one. Multiple production chains
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.0.5
|
Version: 1.0.5
|
||||||
Date: 2022-06-01
|
Date: 2022-06-01
|
||||||
Fixes:
|
Fixes:
|
||||||
|
|
|
||||||
18
compatibility/248k.lua
Normal file
18
compatibility/248k.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
local util = require("data-util");
|
||||||
|
|
||||||
|
local pb2 = "fu_lead_item"
|
||||||
|
|
||||||
|
|
||||||
|
-- Swap out all 248k titanium for BZ titanium_plate
|
||||||
|
for i, recipe in pairs(data.raw.recipe) do
|
||||||
|
util.replace_ingredient(recipe.name, pb2, "lead-plate")
|
||||||
|
util.replace_product(recipe.name, pb2, "lead-plate")
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Remove 248k titanium plate
|
||||||
|
util.remove_raw("item", pb2)
|
||||||
|
|
||||||
|
-- Update 248k titanium production chain to include titanium ore
|
||||||
|
util.add_ingredient("fu_pure_ore_recipe", "lead-ore", 5)
|
||||||
|
util.add_to_product("fu_pure_ore_recipe", "fi_materials_pure_lead", 5)
|
||||||
|
|
||||||
|
|
@ -3,3 +3,4 @@ require("lead-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": "bzlead",
|
"name": "bzlead",
|
||||||
"version": "1.0.5",
|
"version": "1.1.0",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Lead",
|
"title": "Lead",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
"? space-exploration",
|
"? space-exploration",
|
||||||
"? Krastorio2",
|
"? Krastorio2",
|
||||||
"? Rich-Rocks-Requiem",
|
"? Rich-Rocks-Requiem",
|
||||||
|
"? 248k",
|
||||||
"? deadlock-beltboxes-loaders",
|
"? deadlock-beltboxes-loaders",
|
||||||
"? DeadlockCrating"
|
"? DeadlockCrating"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
7
migrations/bzlead.1.1.0.json
Normal file
7
migrations/bzlead.1.1.0.json
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"item":
|
||||||
|
[
|
||||||
|
["fu_lead_item", "lead-plate"]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue