From 41fcdcd2f7086076d891a5f1cf8824bb77138015 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sat, 18 Oct 2025 23:23:14 +0200 Subject: [PATCH] Rename mod --- bzchlorine2/info.json | 2 +- bzchlorine2/me.lua | 2 +- bzchlorine2/prototypes/assembler-updates.lua | 32 ++++++++++---------- bzchlorine2/prototypes/chlorine.lua | 16 +++++----- bzchlorine2/prototypes/epoxy.lua | 2 +- bzchlorine2/prototypes/pcb.lua | 4 +-- bzchlorine2/prototypes/salt.lua | 16 +++++----- 7 files changed, 37 insertions(+), 37 deletions(-) diff --git a/bzchlorine2/info.json b/bzchlorine2/info.json index 472594c..4d8c05b 100644 --- a/bzchlorine2/info.json +++ b/bzchlorine2/info.json @@ -1,5 +1,5 @@ { - "name": "bzchlorine", + "name": "bzchlorine2", "version": "2.0.0", "factorio_version": "2.0", "title": "Salt & Chlorine", diff --git a/bzchlorine2/me.lua b/bzchlorine2/me.lua index d62747c..99758da 100644 --- a/bzchlorine2/me.lua +++ b/bzchlorine2/me.lua @@ -1,6 +1,6 @@ local me = {} -me.name = "bzchlorine" +me.name = "bzchlorine2" me.list = {} -- Recipes with very specific ratios are deliberately excluded me.recipes = {"chlorine", "epoxy", "pcb-substrate", "pcb", "bakelite-hcl"} diff --git a/bzchlorine2/prototypes/assembler-updates.lua b/bzchlorine2/prototypes/assembler-updates.lua index f553779..338d34f 100644 --- a/bzchlorine2/prototypes/assembler-updates.lua +++ b/bzchlorine2/prototypes/assembler-updates.lua @@ -6,15 +6,15 @@ if util.me.early_assemblers() then data.raw["assembling-machine"]["assembling-machine-1"].fluid_boxes = futil.table.deepcopy(data.raw["assembling-machine"]["assembling-machine-2"].fluid_boxes) for i, fb in pairs(data.raw["assembling-machine"]["assembling-machine-1"].fluid_boxes) do if i ~= "off_when_no_fluid_recipe" and fb.pipe_picture then - fb.pipe_picture.north.filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-N.png" - fb.pipe_picture.south.filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-S.png" - fb.pipe_picture.east.filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-E.png" - fb.pipe_picture.west.filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-W.png" + fb.pipe_picture.north.filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-N.png" + fb.pipe_picture.south.filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-S.png" + fb.pipe_picture.east.filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-E.png" + fb.pipe_picture.west.filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-W.png" if fb.pipe_picture.north.layers and fb.pipe_picture.north.layers[1] then - fb.pipe_picture.north.layers[1].filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-N.png" - fb.pipe_picture.south.layers[1].filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-S.png" - fb.pipe_picture.east.layers[1].filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-E.png" - fb.pipe_picture.west.layers[1].filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-W.png" + fb.pipe_picture.north.layers[1].filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-N.png" + fb.pipe_picture.south.layers[1].filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-S.png" + fb.pipe_picture.east.layers[1].filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-E.png" + fb.pipe_picture.west.layers[1].filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-W.png" fb.pipe_picture.north.layers[2] = nil fb.pipe_picture.south.layers[2] = nil fb.pipe_picture.east.layers[2] = nil @@ -27,15 +27,15 @@ if util.me.early_assemblers() then data.raw["assembling-machine"]["burner-assembling-machine"].fluid_boxes = futil.table.deepcopy(data.raw["assembling-machine"]["assembling-machine-2"].fluid_boxes) for i, fb in pairs(data.raw["assembling-machine"]["burner-assembling-machine"].fluid_boxes) do if i ~= "off_when_no_fluid_recipe" and fb.pipe_picture then - fb.pipe_picture.north.filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-N.png" - fb.pipe_picture.south.filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-S.png" - fb.pipe_picture.east.filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-E.png" - fb.pipe_picture.west.filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-W.png" + fb.pipe_picture.north.filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-N.png" + fb.pipe_picture.south.filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-S.png" + fb.pipe_picture.east.filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-E.png" + fb.pipe_picture.west.filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-W.png" if fb.pipe_picture.north.layers and fb.pipe_picture.north.layers[1] then - fb.pipe_picture.north.layers[1].filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-N.png" - fb.pipe_picture.south.layers[1].filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-S.png" - fb.pipe_picture.east.layers[1].filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-E.png" - fb.pipe_picture.west.layers[1].filename = "__bzchlorine__/graphics/entity/assembler/hr-assembling-machine-2-pipe-W.png" + fb.pipe_picture.north.layers[1].filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-N.png" + fb.pipe_picture.south.layers[1].filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-S.png" + fb.pipe_picture.east.layers[1].filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-E.png" + fb.pipe_picture.west.layers[1].filename = "__bzchlorine2__/graphics/entity/assembler/hr-assembling-machine-2-pipe-W.png" fb.pipe_picture.north.layers[2] = nil fb.pipe_picture.south.layers[2] = nil fb.pipe_picture.east.layers[2] = nil diff --git a/bzchlorine2/prototypes/chlorine.lua b/bzchlorine2/prototypes/chlorine.lua index 5359cfd..ee22acb 100644 --- a/bzchlorine2/prototypes/chlorine.lua +++ b/bzchlorine2/prototypes/chlorine.lua @@ -13,7 +13,7 @@ data:extend({ heat_capacity = "0.1kJ", base_color = {r=0.60, g=0.90, b=0.50}, flow_color = {r=0.60, g=1.00, b=0.50}, - icon = "__bzchlorine__/graphics/icons/chlorine.png", + icon = "__bzchlorine2__/graphics/icons/chlorine.png", icon_size = 128, order = "a[fluid]-f[chlorine]", }, @@ -24,7 +24,7 @@ data:extend({ heat_capacity = "0.1kJ", base_color = {r=0.80, g=0.90, b=0.70}, flow_color = {r=0.80, g=1.00, b=0.70}, - icon = "__bzchlorine__/graphics/icons/hcl.png", + icon = "__bzchlorine2__/graphics/icons/hcl.png", icon_size = 128, order = "a[fluid]-f[chlorine-h]", }, @@ -36,7 +36,7 @@ data:extend({ { type = "item", name = "ferric-chloride", - icon = "__bzchlorine__/graphics/icons/ferric-chloride.png", + icon = "__bzchlorine2__/graphics/icons/ferric-chloride.png", icon_size = 64, icon_mipmaps = 4, subgroup = "raw-material", order = "b[chlorine-fe]", @@ -49,7 +49,7 @@ data:extend({ heat_capacity = "0.1kJ", base_color = {r=0.90, g=0.90, b=0.75}, flow_color = {r=0.90, g=1.00, b=0.75}, - icon = "__bzchlorine__/graphics/icons/vinyl-chloride.png", + icon = "__bzchlorine2__/graphics/icons/vinyl-chloride.png", icon_size = 128, order = "a[fluid]-f[chlorine-v]", }, @@ -126,8 +126,8 @@ data:extend({ name = "ferric-chloride-hcl", results = {{type="item", name="ferric-chloride", amount=4}}, icons = { - {icon = "__bzchlorine__/graphics/icons/ferric-chloride.png", icon_size=64, scale=1}, - {icon = "__bzchlorine__/graphics/icons/hcl.png", icon_size=128, scale=0.25, shift={8,-8}}, + {icon = "__bzchlorine2__/graphics/icons/ferric-chloride.png", icon_size=64, scale=1}, + {icon = "__bzchlorine2__/graphics/icons/hcl.png", icon_size=128, scale=0.25, shift={8,-8}}, }, ingredients = { {type="item", name="iron-ore", amount=1}, @@ -160,7 +160,7 @@ data:extend({ type="technology", name="chlorine-processing", icons = { - {icon = "__bzchlorine__/graphics/technology/salt-tech.png", icon_size = 256, tint={a=.75,r=1,b=1,g=1} }, + {icon = "__bzchlorine2__/graphics/technology/salt-tech.png", icon_size = 256, tint={a=.75,r=1,b=1,g=1} }, }, effects = { { type = "unlock-recipe", recipe = cl_name }, @@ -198,7 +198,7 @@ if mods.bzgas then }, icons = { {icon = "__bzgas__/graphics/icons/bakelite.png", icon_size=128}, - {icon = "__bzchlorine__/graphics/icons/hcl.png", icon_size=128, scale=0.125, shift={-8,-8}}, + {icon = "__bzchlorine2__/graphics/icons/hcl.png", icon_size=128, scale=0.125, shift={-8,-8}}, }, enabled = false, category = "chemistry", diff --git a/bzchlorine2/prototypes/epoxy.lua b/bzchlorine2/prototypes/epoxy.lua index 40226c3..b491650 100644 --- a/bzchlorine2/prototypes/epoxy.lua +++ b/bzchlorine2/prototypes/epoxy.lua @@ -10,7 +10,7 @@ data:extend({ heat_capacity = "0.1kJ", base_color = {r=0.90, g=0.95, b=0.90}, flow_color = {r=0.90, g=1.00, b=0.90}, - icon = "__bzchlorine__/graphics/icons/epoxy.png", + icon = "__bzchlorine2__/graphics/icons/epoxy.png", icon_size = 128, order = "a[fluid]-f[epoxy]", }, diff --git a/bzchlorine2/prototypes/pcb.lua b/bzchlorine2/prototypes/pcb.lua index 5f3fe92..7f6f8b3 100644 --- a/bzchlorine2/prototypes/pcb.lua +++ b/bzchlorine2/prototypes/pcb.lua @@ -6,7 +6,7 @@ data:extend({ { type = "item", name = "pcb-substrate", - icon = "__bzchlorine__/graphics/icons/pcb-substrate.png", + icon = "__bzchlorine2__/graphics/icons/pcb-substrate.png", icon_size = 128, subgroup = "intermediate-product", order = "f[advanced-circuit][pcb-substrate]", @@ -18,7 +18,7 @@ data:extend({ { type = "item", name = "pcb", - icon = "__bzchlorine__/graphics/icons/pcb.png", + icon = "__bzchlorine2__/graphics/icons/pcb.png", icon_size = 128, subgroup = "intermediate-product", order = "f[advanced-circuit][pcb]", diff --git a/bzchlorine2/prototypes/salt.lua b/bzchlorine2/prototypes/salt.lua index 102045c..300bc40 100644 --- a/bzchlorine2/prototypes/salt.lua +++ b/bzchlorine2/prototypes/salt.lua @@ -28,7 +28,7 @@ data:extend({ type = "resource", icon_size = 128, name = "salt", - icon = "__bzchlorine__/graphics/icons/salt.png", + icon = "__bzchlorine2__/graphics/icons/salt.png", flags = {"placeable-neutral"}, order="a-b-a", map_color = {r=0.92, g=1.00, b=0.93}, @@ -58,7 +58,7 @@ data:extend({ { sheet = { - filename = "__bzchlorine__/graphics/entity/ores/hr-salt.png", + filename = "__bzchlorine2__/graphics/entity/ores/hr-salt.png", priority = "extra-high", size = 128, frame_count = 8, @@ -97,13 +97,13 @@ data:extend({ type = "item", name = "salt", icon_size = 128, - icon = "__bzchlorine__/graphics/icons/salt.png", + icon = "__bzchlorine2__/graphics/icons/salt.png", pictures = { - {filename="__bzchlorine__/graphics/icons/salt.png", size=128, scale=0.25}, - {filename="__bzchlorine__/graphics/icons/salt-1.png", size=128, scale=0.25}, - {filename="__bzchlorine__/graphics/icons/salt-2.png", size=128, scale=0.25}, - {filename="__bzchlorine__/graphics/icons/salt-3.png", size=128, scale=0.25}, - {filename="__bzchlorine__/graphics/icons/salt-4.png", size=128, scale=0.25}, + {filename="__bzchlorine2__/graphics/icons/salt.png", size=128, scale=0.25}, + {filename="__bzchlorine2__/graphics/icons/salt-1.png", size=128, scale=0.25}, + {filename="__bzchlorine2__/graphics/icons/salt-2.png", size=128, scale=0.25}, + {filename="__bzchlorine2__/graphics/icons/salt-3.png", size=128, scale=0.25}, + {filename="__bzchlorine2__/graphics/icons/salt-4.png", size=128, scale=0.25}, }, subgroup = "raw-resource", order = "t-c-a",