tech changes

This commit is contained in:
Brevven 2022-12-23 17:11:01 -08:00
parent 7f0cff2d59
commit 11e74fbdc4
4 changed files with 12 additions and 4 deletions

View file

@ -2,7 +2,8 @@
Version: 0.1.6 Version: 0.1.6
Date: 2022-08-19 Date: 2022-08-19
Changes: Changes:
- When used with Aluminum but not Lead, add new solder tech after copper-processing. - When used with Aluminum but not Lead, add new solder tech after copper-processing. Solder and
pipe to ground unlock with (or after) this tech.
- Minor recipe tweaks, including simpler pipe to ground recipe - Minor recipe tweaks, including simpler pipe to ground recipe
Localization: Localization:
- ja, thanks to Sakuro - ja, thanks to Sakuro

View file

@ -11,7 +11,6 @@ util.set_main_product("se-glass-vulcanite", "glass")
-- core mining balancing -- core mining balancing
util.add_to_product("se-core-fragment-omni", "tin-ore", -4) util.add_to_product("se-core-fragment-omni", "tin-ore", -4)
-- Electronic circuits need final fixes -- Electronic circuits need final fixes
util.multiply_recipe("electronic-circuit-stone", 2) util.multiply_recipe("electronic-circuit-stone", 2)
util.replace_some_ingredient("electronic-circuit-stone", "copper-cable", 1, "solder", 1) util.replace_some_ingredient("electronic-circuit-stone", "copper-cable", 1, "solder", 1)

View file

@ -16,6 +16,7 @@
"? bzcarbon >= 0.3.0", "? bzcarbon >= 0.3.0",
"? bzaluminum >= 0.4.9", "? bzaluminum >= 0.4.9",
"? space-exploration >= 0.5.100", "? space-exploration >= 0.5.100",
"(?) aai-industry",
"? aai-industry", "? aai-industry",
"? Krastorio2", "? Krastorio2",
"? sand-and-glass", "? sand-and-glass",

View file

@ -94,7 +94,6 @@ if mods.bzaluminum and not mods.bzlead then
icon_size = 128, icon_size = 128,
effects = { effects = {
{ type = "unlock-recipe", recipe = "solder" }, { type = "unlock-recipe", recipe = "solder" },
{ type = "unlock-recipe", recipe = "pipe-to-ground" },
}, },
unit = { unit = {
count = 10, time = 15, count = 10, time = 15,
@ -103,9 +102,17 @@ if mods.bzaluminum and not mods.bzlead then
prerequisites = {"copper-processing"}, prerequisites = {"copper-processing"},
}, },
}) })
util.add_unlock_force("solder", "pipe-to-ground")
util.add_unlock_force("solder", "solder") util.add_unlock_force("solder", "solder")
util.add_prerequisite("electronics", "solder") util.add_prerequisite("electronics", "solder")
if mods["aai-industry"] or mods.Krastorio2 then
util.add_prerequisite("basic-fluid-handling", "solder")
util.add_prerequisite("kr-basic-fluid-handling", "solder")
else
util.add_unlock_force("solder", "pipe-to-ground")
end
if mods.Krastorio2 then
util.set_tech_recipe("solder", {{"basic-tech-card", 1}})
end
end end
data:extend({ data:extend({