recipe updates, modded
This commit is contained in:
parent
25ecceef57
commit
42626eb07a
5 changed files with 31 additions and 8 deletions
|
|
@ -1,4 +1,12 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.1.5
|
||||
Date: 2022-08-17
|
||||
Fixes:
|
||||
- SE: Disable matter recipes at start
|
||||
Changes:
|
||||
- Compatibility with bob's assembling machines
|
||||
- Compatibility with Renai Transportation inserters
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.1.4
|
||||
Date: 2022-08-16
|
||||
Changes:
|
||||
|
|
|
|||
|
|
@ -19,5 +19,16 @@ util.replace_some_ingredient("electronic-circuit-stone", "copper-cable", 1, "sol
|
|||
util.multiply_recipe("electronic-circuit", 2)
|
||||
util.replace_some_ingredient("electronic-circuit", "copper-cable", 1, "solder", 1)
|
||||
|
||||
if mods.RenaiTransportation then
|
||||
for i, recipe in pairs(data.raw.recipe) do
|
||||
if recipe.result and data.raw.item[recipe.result] and
|
||||
data.raw.item[recipe.result].subgroup == "throwers" and
|
||||
recipe.result ~= "RTThrower-burner-inserter"
|
||||
then
|
||||
util.add_ingredient(recipe.name, "bronze-plate", 1)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- Must be last
|
||||
util.create_list()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bztin",
|
||||
"version": "0.1.4",
|
||||
"version": "0.1.5",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Tin",
|
||||
"author": "Brevven",
|
||||
|
|
@ -14,12 +14,14 @@
|
|||
"? bzzirconium >= 0.6.0",
|
||||
"? bztungsten >= 0.6.0",
|
||||
"? bzcarbon >= 0.3.0",
|
||||
"? bzaluminum >= 0.4.9",
|
||||
"? space-exploration >= 0.5.100",
|
||||
"? aai-industry",
|
||||
"? Krastorio2",
|
||||
"? sand-and-glass",
|
||||
"? deadlock-beltboxes-loaders",
|
||||
"? DeadlockCrating"
|
||||
"? DeadlockCrating",
|
||||
"(?) RenaiTransportation"
|
||||
],
|
||||
"description": "Adds tin, solder and more to the base game.\n\nCompatible with Krastorio 2 and Space Exploration. A standalone piece of BZ Mods."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -165,3 +165,9 @@ if mods.bztungsten and not mods.bzaluminum then
|
|||
util.replace_ingredient("small-lamp", "copper-cable", "tinned-cable")
|
||||
util.add_prerequisite("optics", "tinned-cable")
|
||||
end
|
||||
|
||||
if mods.bobassembly then
|
||||
util.add_ingredient("steam-assembling-machine", "solder", 1)
|
||||
util.add_ingredient("fluid-furnace", "solder", 1)
|
||||
util.add_ingredient("chemical-plant-2", "solder", 1)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -177,10 +177,6 @@ if util.me.use_bronze() then
|
|||
local bronze_i = {}
|
||||
bronze_i["copper-plate"] = 17
|
||||
bronze_i["tin-plate"] = 3
|
||||
if mods.bzaluminum then
|
||||
bronze_i["copper-plate"] = bronze_i["copper-plate"] - 1
|
||||
bronze_i["aluminum-plate"] = 1
|
||||
end
|
||||
|
||||
data:extend({
|
||||
{
|
||||
|
|
@ -204,12 +200,12 @@ data:extend({
|
|||
},
|
||||
})
|
||||
for item, count in pairs(bronze_i) do
|
||||
util.add_ingredient("bronze-plate", item, count)
|
||||
util.add_ingredient("bronze-plate", item, count, {force=true})
|
||||
end
|
||||
if mods.bzfoundry and data.raw.item["foundry"] then
|
||||
util.add_effect("foundry", { type = "unlock-recipe", recipe = "bronze-plate" })
|
||||
util.add_prerequisite("fast-inserter", "foundry")
|
||||
util.set_to_founding("bronze-plate")
|
||||
util.set_to_founding("bronze-plate", {force=true})
|
||||
else
|
||||
util.add_effect("automation", { type = "unlock-recipe", recipe = "bronze-plate" })
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue