Rename mod
This commit is contained in:
parent
fb3e32b8e6
commit
41fcdcd2f7
7 changed files with 37 additions and 37 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "bzchlorine",
|
||||
"name": "bzchlorine2",
|
||||
"version": "2.0.0",
|
||||
"factorio_version": "2.0",
|
||||
"title": "Salt & Chlorine",
|
||||
|
|
|
@ -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"}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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]",
|
||||
},
|
||||
|
|
|
@ -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]",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue