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",
|
"version": "2.0.0",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"title": "Salt & Chlorine",
|
"title": "Salt & Chlorine",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
local me = {}
|
local me = {}
|
||||||
|
|
||||||
me.name = "bzchlorine"
|
me.name = "bzchlorine2"
|
||||||
me.list = {}
|
me.list = {}
|
||||||
-- Recipes with very specific ratios are deliberately excluded
|
-- Recipes with very specific ratios are deliberately excluded
|
||||||
me.recipes = {"chlorine", "epoxy", "pcb-substrate", "pcb", "bakelite-hcl"}
|
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)
|
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
|
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
|
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.north.filename = "__bzchlorine2__/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.south.filename = "__bzchlorine2__/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.east.filename = "__bzchlorine2__/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.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
|
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.north.layers[1].filename = "__bzchlorine2__/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.south.layers[1].filename = "__bzchlorine2__/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.east.layers[1].filename = "__bzchlorine2__/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.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.north.layers[2] = nil
|
||||||
fb.pipe_picture.south.layers[2] = nil
|
fb.pipe_picture.south.layers[2] = nil
|
||||||
fb.pipe_picture.east.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)
|
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
|
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
|
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.north.filename = "__bzchlorine2__/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.south.filename = "__bzchlorine2__/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.east.filename = "__bzchlorine2__/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.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
|
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.north.layers[1].filename = "__bzchlorine2__/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.south.layers[1].filename = "__bzchlorine2__/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.east.layers[1].filename = "__bzchlorine2__/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.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.north.layers[2] = nil
|
||||||
fb.pipe_picture.south.layers[2] = nil
|
fb.pipe_picture.south.layers[2] = nil
|
||||||
fb.pipe_picture.east.layers[2] = nil
|
fb.pipe_picture.east.layers[2] = nil
|
||||||
|
|
|
@ -13,7 +13,7 @@ data:extend({
|
||||||
heat_capacity = "0.1kJ",
|
heat_capacity = "0.1kJ",
|
||||||
base_color = {r=0.60, g=0.90, b=0.50},
|
base_color = {r=0.60, g=0.90, b=0.50},
|
||||||
flow_color = {r=0.60, g=1.00, 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,
|
icon_size = 128,
|
||||||
order = "a[fluid]-f[chlorine]",
|
order = "a[fluid]-f[chlorine]",
|
||||||
},
|
},
|
||||||
|
@ -24,7 +24,7 @@ data:extend({
|
||||||
heat_capacity = "0.1kJ",
|
heat_capacity = "0.1kJ",
|
||||||
base_color = {r=0.80, g=0.90, b=0.70},
|
base_color = {r=0.80, g=0.90, b=0.70},
|
||||||
flow_color = {r=0.80, g=1.00, 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,
|
icon_size = 128,
|
||||||
order = "a[fluid]-f[chlorine-h]",
|
order = "a[fluid]-f[chlorine-h]",
|
||||||
},
|
},
|
||||||
|
@ -36,7 +36,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "ferric-chloride",
|
name = "ferric-chloride",
|
||||||
icon = "__bzchlorine__/graphics/icons/ferric-chloride.png",
|
icon = "__bzchlorine2__/graphics/icons/ferric-chloride.png",
|
||||||
icon_size = 64, icon_mipmaps = 4,
|
icon_size = 64, icon_mipmaps = 4,
|
||||||
subgroup = "raw-material",
|
subgroup = "raw-material",
|
||||||
order = "b[chlorine-fe]",
|
order = "b[chlorine-fe]",
|
||||||
|
@ -49,7 +49,7 @@ data:extend({
|
||||||
heat_capacity = "0.1kJ",
|
heat_capacity = "0.1kJ",
|
||||||
base_color = {r=0.90, g=0.90, b=0.75},
|
base_color = {r=0.90, g=0.90, b=0.75},
|
||||||
flow_color = {r=0.90, g=1.00, 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,
|
icon_size = 128,
|
||||||
order = "a[fluid]-f[chlorine-v]",
|
order = "a[fluid]-f[chlorine-v]",
|
||||||
},
|
},
|
||||||
|
@ -126,8 +126,8 @@ data:extend({
|
||||||
name = "ferric-chloride-hcl",
|
name = "ferric-chloride-hcl",
|
||||||
results = {{type="item", name="ferric-chloride", amount=4}},
|
results = {{type="item", name="ferric-chloride", amount=4}},
|
||||||
icons = {
|
icons = {
|
||||||
{icon = "__bzchlorine__/graphics/icons/ferric-chloride.png", icon_size=64, scale=1},
|
{icon = "__bzchlorine2__/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/hcl.png", icon_size=128, scale=0.25, shift={8,-8}},
|
||||||
},
|
},
|
||||||
ingredients = {
|
ingredients = {
|
||||||
{type="item", name="iron-ore", amount=1},
|
{type="item", name="iron-ore", amount=1},
|
||||||
|
@ -160,7 +160,7 @@ data:extend({
|
||||||
type="technology",
|
type="technology",
|
||||||
name="chlorine-processing",
|
name="chlorine-processing",
|
||||||
icons = {
|
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 = {
|
effects = {
|
||||||
{ type = "unlock-recipe", recipe = cl_name },
|
{ type = "unlock-recipe", recipe = cl_name },
|
||||||
|
@ -198,7 +198,7 @@ if mods.bzgas then
|
||||||
},
|
},
|
||||||
icons = {
|
icons = {
|
||||||
{icon = "__bzgas__/graphics/icons/bakelite.png", icon_size=128},
|
{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,
|
enabled = false,
|
||||||
category = "chemistry",
|
category = "chemistry",
|
||||||
|
|
|
@ -10,7 +10,7 @@ data:extend({
|
||||||
heat_capacity = "0.1kJ",
|
heat_capacity = "0.1kJ",
|
||||||
base_color = {r=0.90, g=0.95, b=0.90},
|
base_color = {r=0.90, g=0.95, b=0.90},
|
||||||
flow_color = {r=0.90, g=1.00, 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,
|
icon_size = 128,
|
||||||
order = "a[fluid]-f[epoxy]",
|
order = "a[fluid]-f[epoxy]",
|
||||||
},
|
},
|
||||||
|
|
|
@ -6,7 +6,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "pcb-substrate",
|
name = "pcb-substrate",
|
||||||
icon = "__bzchlorine__/graphics/icons/pcb-substrate.png",
|
icon = "__bzchlorine2__/graphics/icons/pcb-substrate.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "intermediate-product",
|
subgroup = "intermediate-product",
|
||||||
order = "f[advanced-circuit][pcb-substrate]",
|
order = "f[advanced-circuit][pcb-substrate]",
|
||||||
|
@ -18,7 +18,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "pcb",
|
name = "pcb",
|
||||||
icon = "__bzchlorine__/graphics/icons/pcb.png",
|
icon = "__bzchlorine2__/graphics/icons/pcb.png",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
subgroup = "intermediate-product",
|
subgroup = "intermediate-product",
|
||||||
order = "f[advanced-circuit][pcb]",
|
order = "f[advanced-circuit][pcb]",
|
||||||
|
|
|
@ -28,7 +28,7 @@ data:extend({
|
||||||
type = "resource",
|
type = "resource",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
name = "salt",
|
name = "salt",
|
||||||
icon = "__bzchlorine__/graphics/icons/salt.png",
|
icon = "__bzchlorine2__/graphics/icons/salt.png",
|
||||||
flags = {"placeable-neutral"},
|
flags = {"placeable-neutral"},
|
||||||
order="a-b-a",
|
order="a-b-a",
|
||||||
map_color = {r=0.92, g=1.00, b=0.93},
|
map_color = {r=0.92, g=1.00, b=0.93},
|
||||||
|
@ -58,7 +58,7 @@ data:extend({
|
||||||
{
|
{
|
||||||
sheet =
|
sheet =
|
||||||
{
|
{
|
||||||
filename = "__bzchlorine__/graphics/entity/ores/hr-salt.png",
|
filename = "__bzchlorine2__/graphics/entity/ores/hr-salt.png",
|
||||||
priority = "extra-high",
|
priority = "extra-high",
|
||||||
size = 128,
|
size = 128,
|
||||||
frame_count = 8,
|
frame_count = 8,
|
||||||
|
@ -97,13 +97,13 @@ data:extend({
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "salt",
|
name = "salt",
|
||||||
icon_size = 128,
|
icon_size = 128,
|
||||||
icon = "__bzchlorine__/graphics/icons/salt.png",
|
icon = "__bzchlorine2__/graphics/icons/salt.png",
|
||||||
pictures = {
|
pictures = {
|
||||||
{filename="__bzchlorine__/graphics/icons/salt.png", size=128, scale=0.25},
|
{filename="__bzchlorine2__/graphics/icons/salt.png", size=128, scale=0.25},
|
||||||
{filename="__bzchlorine__/graphics/icons/salt-1.png", size=128, scale=0.25},
|
{filename="__bzchlorine2__/graphics/icons/salt-1.png", size=128, scale=0.25},
|
||||||
{filename="__bzchlorine__/graphics/icons/salt-2.png", size=128, scale=0.25},
|
{filename="__bzchlorine2__/graphics/icons/salt-2.png", size=128, scale=0.25},
|
||||||
{filename="__bzchlorine__/graphics/icons/salt-3.png", size=128, scale=0.25},
|
{filename="__bzchlorine2__/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-4.png", size=128, scale=0.25},
|
||||||
},
|
},
|
||||||
subgroup = "raw-resource",
|
subgroup = "raw-resource",
|
||||||
order = "t-c-a",
|
order = "t-c-a",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue