Rename mod

This commit is contained in:
Simon Brodtmann 2025-10-20 10:10:27 +02:00
parent e6daa69ccd
commit ec272b2135
21 changed files with 87 additions and 87 deletions

View file

@ -2,12 +2,12 @@ local util = require("data-util");
util.add_hot_metals({ util.add_hot_metals({
{name="lead-plate", icons={ {name="lead-plate", icons={
{ icon = "__bzlead__/graphics/icons/lead-plate.png", icon_size = 64}, { icon = "__bzlead2__/graphics/icons/lead-plate.png", icon_size = 64},
{ icon = "__bzlead__/graphics/icons/lead-plate.png", icon_size = 64, tint={.9,.3,0, .5}}, { icon = "__bzlead2__/graphics/icons/lead-plate.png", icon_size = 64, tint={.9,.3,0, .5}},
}}, }},
{name="lead-expansion-bolt", icons={ {name="lead-expansion-bolt", icons={
{ icon = "__bzlead__/graphics/icons/lead-expansion-bolt.png", icon_size = 128}, { icon = "__bzlead2__/graphics/icons/lead-expansion-bolt.png", icon_size = 128},
{ icon = "__bzlead__/graphics/icons/lead-expansion-bolt.png", icon_size = 128, tint={.9,.3,0, .5}}, { icon = "__bzlead2__/graphics/icons/lead-expansion-bolt.png", icon_size = 128, tint={.9,.3,0, .5}},
}}, }},
}) })

View file

@ -4,7 +4,7 @@ require("lead-recipe-final-rrr")
require("lead-recipe-final-stacking") require("lead-recipe-final-stacking")
---- ----
local util = require("__bzlead__.data-util"); local util = require("__bzlead2__.data-util");
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then

View file

@ -1,13 +1,13 @@
{ {
"name": "bzlead", "name": "bzlead2",
"version": "2.0.27", "version": "2.0.29",
"factorio_version": "2.0", "factorio_version": "2.0",
"title": "Lead", "title": "Lead",
"author": "Brevven", "author": "Brevven",
"contact": "", "contact": "",
"homepage": "", "homepage": "",
"dependencies": [ "dependencies": [
"base >= 1.1.0", "base >= 2.0.0",
"? space-age", "? space-age",
"? bzsilicon", "? bzsilicon",
"? hot-metals", "? hot-metals",

View file

@ -20,7 +20,7 @@ if mods["space-age"] then
{ {
{icon="__space-age__/graphics/icons/metallic-asteroid-crushing.png", size=64}, {icon="__space-age__/graphics/icons/metallic-asteroid-crushing.png", size=64},
{icon="__base__/graphics/icons/iron-ore.png", size=64, scale=0.25, shift={-8,0}}, {icon="__base__/graphics/icons/iron-ore.png", size=64, scale=0.25, shift={-8,0}},
{icon="__bzlead__/graphics/icons/lead-ore.png", size=64, scale=0.25, shift={8,0}}, {icon="__bzlead2__/graphics/icons/lead-ore.png", size=64, scale=0.25, shift={8,0}},
}, },
category = "crushing", category = "crushing",
subgroup="space-crushing", subgroup="space-crushing",

View file

@ -29,7 +29,7 @@ if simpleCompress then
} or { } or {
{type="item", name = "lead-plate", amount=simpleCompress.CompressedSmeltAmount}, {type="item", name = "lead-plate", amount=simpleCompress.CompressedSmeltAmount},
} }
leadRecipe.icons = {{ icon = "__bzlead__/graphics/icons/lead-plate.png", icon_size = 64 }} leadRecipe.icons = {{ icon = "__bzlead2__/graphics/icons/lead-plate.png", icon_size = 64 }}
leadRecipe.subgroup = "raw-material" leadRecipe.subgroup = "raw-material"
leadRecipe.order = "d[lead-plate]" leadRecipe.order = "d[lead-plate]"
end end

View file

@ -8,13 +8,13 @@ data:extend(
type = "item", type = "item",
name = "enriched-lead", name = "enriched-lead",
icon_size = 64, icon_size = 64,
icon = "__bzlead__/graphics/icons/enriched-lead.png", icon = "__bzlead2__/graphics/icons/enriched-lead.png",
icon_mipmaps = 3, icon_mipmaps = 3,
pictures = { pictures = {
{filename="__bzlead__/graphics/icons/enriched-lead.png", size=64, scale=0.5}, {filename="__bzlead2__/graphics/icons/enriched-lead.png", size=64, scale=0.5},
{filename="__bzlead__/graphics/icons/enriched-lead-1.png", size=64, scale=0.5}, {filename="__bzlead2__/graphics/icons/enriched-lead-1.png", size=64, scale=0.5},
{filename="__bzlead__/graphics/icons/enriched-lead-2.png", size=64, scale=0.5}, {filename="__bzlead2__/graphics/icons/enriched-lead-2.png", size=64, scale=0.5},
{filename="__bzlead__/graphics/icons/enriched-lead-3.png", size=64, scale=0.5}, {filename="__bzlead2__/graphics/icons/enriched-lead-3.png", size=64, scale=0.5},
}, },
subgroup = "raw-material", subgroup = "raw-material",
order = "e05-a[enriched-ores]-a1[enriched-lead]", order = "e05-a[enriched-ores]-a1[enriched-lead]",
@ -24,7 +24,7 @@ data:extend(
type = "recipe", type = "recipe",
name = "enriched-lead", name = "enriched-lead",
main_product = "enriched-lead", main_product = "enriched-lead",
icon = "__bzlead__/graphics/icons/enriched-lead.png", icon = "__bzlead2__/graphics/icons/enriched-lead.png",
icon_size = 64, icon_size = 64,
icon_mipmaps = 3, icon_mipmaps = 3,
category = "chemistry", category = "chemistry",
@ -60,8 +60,8 @@ data:extend(
name = "enriched-lead-plate", name = "enriched-lead-plate",
icons = icons =
{ {
{ icon = "__bzlead__/graphics/icons/lead-plate.png", icon_size = 64, icon_mipmaps = 3 }, { icon = "__bzlead2__/graphics/icons/lead-plate.png", icon_size = 64, icon_mipmaps = 3 },
{ icon = "__bzlead__/graphics/icons/enriched-lead.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}}, { icon = "__bzlead2__/graphics/icons/enriched-lead.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}},
}, },
category = "smelting", category = "smelting",
energy_required = 16, energy_required = 16,

View file

@ -14,7 +14,7 @@ data:extend(
icon_size = 256, icon_size = 256,
}, },
{ {
icon = "__bzlead__/graphics/icons/lead-ore.png", icon = "__bzlead2__/graphics/icons/lead-ore.png",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
scale = 1.25, scale = 1.25,
} }

View file

@ -8,7 +8,7 @@ data:extend(
pictures = pictures =
{ {
{ {
filename = "__bzlead__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-1.png", filename = "__bzlead2__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-1.png",
priority = "extra-high", priority = "extra-high",
width = 32, width = 32,
height = 32, height = 32,
@ -16,7 +16,7 @@ data:extend(
scale = 0.5 scale = 0.5
}, },
{ {
filename = "__bzlead__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-2.png", filename = "__bzlead2__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-2.png",
priority = "extra-high", priority = "extra-high",
width = 32, width = 32,
height = 32, height = 32,
@ -24,7 +24,7 @@ data:extend(
scale = 0.5 scale = 0.5
}, },
{ {
filename = "__bzlead__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-3.png", filename = "__bzlead2__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-3.png",
priority = "extra-high", priority = "extra-high",
width = 32, width = 32,
height = 32, height = 32,
@ -32,7 +32,7 @@ data:extend(
scale = 0.5 scale = 0.5
}, },
{ {
filename = "__bzlead__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-4.png", filename = "__bzlead2__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-4.png",
priority = "extra-high", priority = "extra-high",
width = 32, width = 32,
height = 32, height = 32,
@ -43,7 +43,7 @@ data:extend(
shadows = shadows =
{ {
{ {
filename = "__bzlead__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-shadow-1.png", filename = "__bzlead2__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-shadow-1.png",
priority = "extra-high", priority = "extra-high",
width = 32, width = 32,
height = 32, height = 32,
@ -51,7 +51,7 @@ data:extend(
scale = 0.5 scale = 0.5
}, },
{ {
filename = "__bzlead__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-shadow-2.png", filename = "__bzlead2__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-shadow-2.png",
priority = "extra-high", priority = "extra-high",
width = 32, width = 32,
height = 32, height = 32,
@ -59,7 +59,7 @@ data:extend(
scale = 0.5 scale = 0.5
}, },
{ {
filename = "__bzlead__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-shadow-3.png", filename = "__bzlead2__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-shadow-3.png",
priority = "extra-high", priority = "extra-high",
width = 32, width = 32,
height = 32, height = 32,
@ -67,7 +67,7 @@ data:extend(
scale = 0.5 scale = 0.5
}, },
{ {
filename = "__bzlead__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-shadow-4.png", filename = "__bzlead2__/graphics/entity/lead-ore-particle/hr-lead-ore-particle-shadow-4.png",
priority = "extra-high", priority = "extra-high",
width = 32, width = 32,
height = 32, height = 32,

View file

@ -1,5 +1,5 @@
local resource_autoplace = require('resource-autoplace') local resource_autoplace = require('resource-autoplace')
local util = require("__bzlead__.data-util"); local util = require("data-util");
local item_sounds = require('__base__.prototypes.item_sounds') local item_sounds = require('__base__.prototypes.item_sounds')
data.raw.planet.nauvis.map_gen_settings.autoplace_controls["lead-ore"] = {} data.raw.planet.nauvis.map_gen_settings.autoplace_controls["lead-ore"] = {}
@ -29,7 +29,7 @@ data:extend({
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
category="basic-solid", category="basic-solid",
name = "lead-ore", name = "lead-ore",
icon = "__bzlead__/graphics/icons/lead-ore.png", icon = "__bzlead2__/graphics/icons/lead-ore.png",
flags = {"placeable-neutral"}, flags = {"placeable-neutral"},
order="a-b-a", order="a-b-a",
map_color = {r=0.35, g=0.10, b=0.10}, map_color = {r=0.35, g=0.10, b=0.10},
@ -57,7 +57,7 @@ data:extend({
stages = stages =
{ {
sheet = { sheet = {
filename = "__bzlead__/graphics/entity/ores/hr-lead-ore.png", filename = "__bzlead2__/graphics/entity/ores/hr-lead-ore.png",
priority = "extra-high", priority = "extra-high",
size = 128, size = 128,
frame_count = 8, frame_count = 8,
@ -70,12 +70,12 @@ data:extend({
type = "item", type = "item",
name = "lead-ore", name = "lead-ore",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
icon = "__bzlead__/graphics/icons/lead-ore.png", icon = "__bzlead2__/graphics/icons/lead-ore.png",
pictures = { pictures = {
{filename="__bzlead__/graphics/icons/lead-ore.png", size=64, scale=0.5}, {filename="__bzlead2__/graphics/icons/lead-ore.png", size=64, scale=0.5},
{filename="__bzlead__/graphics/icons/lead-ore-1.png", size=64, scale=0.5}, {filename="__bzlead2__/graphics/icons/lead-ore-1.png", size=64, scale=0.5},
{filename="__bzlead__/graphics/icons/lead-ore-2.png", size=64, scale=0.5}, {filename="__bzlead2__/graphics/icons/lead-ore-2.png", size=64, scale=0.5},
{filename="__bzlead__/graphics/icons/lead-ore-3.png", size=64, scale=0.5}, {filename="__bzlead2__/graphics/icons/lead-ore-3.png", size=64, scale=0.5},
}, },
subgroup = "raw-resource", subgroup = "raw-resource",
order = "t-c-a", order = "t-c-a",

View file

@ -1,4 +1,4 @@
local util = require("__bzlead__.data-util"); local util = require("data-util");

View file

@ -1,4 +1,4 @@
local util = require("__bzlead__.data-util"); local util = require("data-util");
if mods["5dim_core"] then if mods["5dim_core"] then
local leb = util.me.more_entities() and "lead-expansion-bolt" or "lead-plate" local leb = util.me.more_entities() and "lead-expansion-bolt" or "lead-plate"
@ -16,7 +16,7 @@ local leb = util.me.more_entities() and "lead-expansion-bolt" or "lead-plate"
category = "industrial-furnace", category = "industrial-furnace",
subgroup = "plates-industrial-ore", subgroup = "plates-industrial-ore",
order = "ad[lead-plate]", order = "ad[lead-plate]",
icon = "__bzlead__/graphics/icons/lead-plate.png", icon = "__bzlead2__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
enabled = true, enabled = true,
energy_required = 65, energy_required = 65,
@ -35,14 +35,14 @@ local leb = util.me.more_entities() and "lead-expansion-bolt" or "lead-plate"
name = "lead-dust", name = "lead-dust",
subgroup = "plates-dust", subgroup = "plates-dust",
order = "d[lead-plate]", order = "d[lead-plate]",
icon = "__bzlead__/graphics/icons/lead-powder.png", icon = "__bzlead2__/graphics/icons/lead-powder.png",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
stack_size = 200 stack_size = 200
}, },
{ {
type = "recipe", type = "recipe",
name = "lead-plate-dust", name = "lead-plate-dust",
icon = "__bzlead__/graphics/icons/lead-plate.png", icon = "__bzlead2__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
subgroup = "plates-plates2", subgroup = "plates-plates2",
order = "d[lead-plate]", order = "d[lead-plate]",
@ -60,7 +60,7 @@ local leb = util.me.more_entities() and "lead-expansion-bolt" or "lead-plate"
type = "recipe", type = "recipe",
name = "lead-dust", name = "lead-dust",
main_product = "lead-dust", main_product = "lead-dust",
icon = "__bzlead__/graphics/icons/lead-powder.png", icon = "__bzlead2__/graphics/icons/lead-powder.png",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
category = "mashering", category = "mashering",
subgroup = "", subgroup = "",
@ -80,7 +80,7 @@ local leb = util.me.more_entities() and "lead-expansion-bolt" or "lead-plate"
category = "industrial-furnace", category = "industrial-furnace",
subgroup = "plates-industrial-dust", subgroup = "plates-industrial-dust",
order = "ad[lead-plate]", order = "ad[lead-plate]",
icon = "__bzlead__/graphics/icons/lead-plate.png", icon = "__bzlead2__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
enabled = true, enabled = true,
energy_required = 65, energy_required = 65,

View file

@ -1,4 +1,4 @@
local util = require("__bzlead__.data-util"); local util = require("data-util");
if mods["Rich-Rocks-Requiem"] then if mods["Rich-Rocks-Requiem"] then
if data.raw.recipe["rrr-stone-processing"] then if data.raw.recipe["rrr-stone-processing"] then

View file

@ -1,11 +1,11 @@
local util = require("__bzlead__.data-util"); local util = require("data-util");
-- Deadlock stacking recipes -- Deadlock stacking recipes
if deadlock and deadlock["add_stack"] then if deadlock and deadlock["add_stack"] then
deadlock.add_stack("lead-ore", "__bzlead__/graphics/icons/stacked/lead-ore-stacked.png", "deadlock-stacking-1", 64) deadlock.add_stack("lead-ore", "__bzlead2__/graphics/icons/stacked/lead-ore-stacked.png", "deadlock-stacking-1", 64)
deadlock.add_stack("lead-plate", "__bzlead__/graphics/icons/stacked/lead-plate-stacked.png" , "deadlock-stacking-1", 64) deadlock.add_stack("lead-plate", "__bzlead2__/graphics/icons/stacked/lead-plate-stacked.png" , "deadlock-stacking-1", 64)
if util.k2() then if util.k2() then
deadlock.add_stack("enriched-lead", "__bzlead__/graphics/icons/stacked/enriched-lead-stacked.png" , "deadlock-stacking-1", 64) deadlock.add_stack("enriched-lead", "__bzlead2__/graphics/icons/stacked/enriched-lead-stacked.png" , "deadlock-stacking-1", 64)
end end
if data.raw.item["lead-ingot"] then if data.raw.item["lead-ingot"] then
deadlock.add_stack("lead-ingot", nil, "deadlock-stacking-1", nil) deadlock.add_stack("lead-ingot", nil, "deadlock-stacking-1", nil)

View file

@ -20,7 +20,7 @@ if mods["space-exploration"] then
{ {
type = "item", type = "item",
name = "lead-ingot", name = "lead-ingot",
icons = {{icon = "__bzlead__/graphics/icons/lead-ingot.png", icon_size = 128}}, icons = {{icon = "__bzlead2__/graphics/icons/lead-ingot.png", icon_size = 128}},
order = "b-b", order = "b-b",
stack_size = 50, stack_size = 50,
subgroup = "lead", subgroup = "lead",
@ -32,7 +32,7 @@ if mods["space-exploration"] then
max_temperature = 600, max_temperature = 600,
base_color = {r=121, g=80, b=80}, base_color = {r=121, g=80, b=80},
flow_color = {r=121, g=80, b=80}, flow_color = {r=121, g=80, b=80},
icons = {{icon = "__bzlead__/graphics/icons/molten-lead.png", icon_size = 128}}, icons = {{icon = "__bzlead2__/graphics/icons/molten-lead.png", icon_size = 128}},
order = "a[molten]-a", order = "a[molten]-a",
pressure_to_speed_ratio = 0.4, pressure_to_speed_ratio = 0.4,
flow_to_energy_ratio = 0.59, flow_to_energy_ratio = 0.59,
@ -77,8 +77,8 @@ if mods["space-exploration"] then
name = "lead-ingot-to-plate", name = "lead-ingot-to-plate",
icons = { icons = {
{icon = "__bzlead__/graphics/icons/lead-plate.png", icon_size = 64, icon_mipmaps = 3}, {icon = "__bzlead2__/graphics/icons/lead-plate.png", icon_size = 64, icon_mipmaps = 3},
{icon = "__bzlead__/graphics/icons/lead-ingot.png", icon_size = 128, scale = 0.125, shift = {-8, -8}}, {icon = "__bzlead2__/graphics/icons/lead-ingot.png", icon_size = 128, scale = 0.125, shift = {-8, -8}},
}, },
results = { results = {
{type="item", name = "lead-plate", amount = 10}, {type="item", name = "lead-plate", amount = 10},

View file

@ -1,6 +1,6 @@
-- Titanium recipe & tech changes -- Titanium recipe & tech changes
-- --
local util = require("__bzlead__.data-util"); local util = require("data-util");
local leb = util.me.more_entities() and "lead-expansion-bolt" or "lead-plate" local leb = util.me.more_entities() and "lead-expansion-bolt" or "lead-plate"

View file

@ -1,6 +1,6 @@
-- Lead smelting -- Lead smelting
local util = require("__bzlead__.data-util"); local util = require("data-util");
local item_sounds = require('__base__.prototypes.item_sounds') local item_sounds = require('__base__.prototypes.item_sounds')
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"] and not mods["IndustrialRevolution"]) then if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"] and not mods["IndustrialRevolution"]) then
@ -12,10 +12,10 @@ data:extend({
order = "d[lead-plate]", order = "d[lead-plate]",
icons = (util.k2() and icons = (util.k2() and
{ {
{ icon = "__bzlead__/graphics/icons/lead-plate.png", icon_size = 64, icon_mipmaps = 3, }, { icon = "__bzlead2__/graphics/icons/lead-plate.png", icon_size = 64, icon_mipmaps = 3, },
{ icon = "__bzlead__/graphics/icons/lead-ore.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}}, { icon = "__bzlead2__/graphics/icons/lead-ore.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}},
} or { } or {
{ icon = "__bzlead__/graphics/icons/lead-plate.png", icon_size = 64, icon_mipmaps = 3, }, { icon = "__bzlead2__/graphics/icons/lead-plate.png", icon_size = 64, icon_mipmaps = 3, },
} }
), ),
main_product = util.me.lead_plate, main_product = util.me.lead_plate,
@ -59,7 +59,7 @@ data:extend({
{ {
type = "item", type = "item",
name = util.me.lead_plate, name = util.me.lead_plate,
icon = "__bzlead__/graphics/icons/lead-plate.png", icon = "__bzlead2__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
subgroup = "raw-material", subgroup = "raw-material",
order = "b[lead-plate]", order = "b[lead-plate]",
@ -107,7 +107,7 @@ data:extend({
subgroup = "intermediate-product", subgroup = "intermediate-product",
rocket_capacity = 1000, rocket_capacity = 1000,
stack_size=100, stack_size=100,
icon = "__bzlead__/graphics/icons/lead-expansion-bolt.png", icon = "__bzlead2__/graphics/icons/lead-expansion-bolt.png",
icon_size = 128, icon_size = 128,
order = "a[basic-intermediates]-e[expansion-bolt]", order = "a[basic-intermediates]-e[expansion-bolt]",
weight = 2*kg, weight = 2*kg,
@ -136,9 +136,9 @@ data:extend({
subgroup = "vulcanus-processes", subgroup = "vulcanus-processes",
order = "z[casting]-d[casting-solder]", order = "z[casting]-d[casting-solder]",
icons = { icons = {
{icon = "__bzlead__/graphics/icons/lead-expansion-bolt.png", icon_size = 128, shift={0,8}}, {icon = "__bzlead2__/graphics/icons/lead-expansion-bolt.png", icon_size = 128, shift={0,8}},
{icon = "__space-age__/graphics/icons/fluid/molten-iron.png", icon_size = 64, shift={-4,-4}}, {icon = "__space-age__/graphics/icons/fluid/molten-iron.png", icon_size = 64, shift={-4,-4}},
{icon = "__bzlead__/graphics/icons/molten-lead-sa.png", icon_size = 64, shift={4,-4}}, {icon = "__bzlead2__/graphics/icons/molten-lead-sa.png", icon_size = 64, shift={4,-4}},
}, },
enabled = false, enabled = false,
ingredients = { ingredients = {
@ -162,7 +162,7 @@ data:extend({
{ {
type = "fluid", type = "fluid",
name = "molten-lead", name = "molten-lead",
icon = "__bzlead__/graphics/icons/molten-lead-sa.png", icon = "__bzlead2__/graphics/icons/molten-lead-sa.png",
subgroup = "fluid", subgroup = "fluid",
order = "b[new-fluid]-b[vulcanus]-d[molten-lead]", order = "b[new-fluid]-b[vulcanus]-d[molten-lead]",
default_temperature = 1500, default_temperature = 1500,
@ -177,7 +177,7 @@ data:extend({
name = "molten-lead-from-lava", name = "molten-lead-from-lava",
icons = { icons = {
{icon = "__base__/graphics/icons/stone.png", icon_size=64, shift={-8,8}}, {icon = "__base__/graphics/icons/stone.png", icon_size=64, shift={-8,8}},
{icon = "__bzlead__/graphics/icons/molten-lead-sa.png", icon_size=64, shift={8,8}}, {icon = "__bzlead2__/graphics/icons/molten-lead-sa.png", icon_size=64, shift={8,8}},
{icon = "__space-age__/graphics/icons/fluid/lava.png", icon_size=64, shift={0,-8}}, {icon = "__space-age__/graphics/icons/fluid/lava.png", icon_size=64, shift={0,-8}},
}, },
category = "metallurgy", category = "metallurgy",
@ -231,8 +231,8 @@ data:extend({
subgroup = "vulcanus-processes", subgroup = "vulcanus-processes",
order = "b[casting]-d[casting-lead]", order = "b[casting]-d[casting-lead]",
icons = { icons = {
{icon = "__bzlead__/graphics/icons/lead-plate.png", size = 64, shift={-4,4}}, {icon = "__bzlead2__/graphics/icons/lead-plate.png", size = 64, shift={-4,4}},
{icon = "__bzlead__/graphics/icons/molten-lead-sa.png", size = 64, shift={4,-4}}, {icon = "__bzlead2__/graphics/icons/molten-lead-sa.png", size = 64, shift={4,-4}},
}, },
enabled = false, enabled = false,
ingredients = ingredients =
@ -256,7 +256,7 @@ data:extend({
type = "item", type = "item",
name = "chelated-lead", name = "chelated-lead",
icons = { icons = {
{icon="__bzlead__/graphics/icons/lead-powder.png", icon_size = 64} {icon="__bzlead2__/graphics/icons/lead-powder.png", icon_size = 64}
}, },
subgroup = "agriculture-processes", subgroup = "agriculture-processes",
order = "b[agriculture]-c[lead]", order = "b[agriculture]-c[lead]",
@ -275,7 +275,7 @@ data:extend({
order = "e[chelation]-a[lead]", order = "e[chelation]-a[lead]",
icons = { icons = {
{icon = "__space-age__/graphics/icons/yumako-mash.png", size=64, shift={-4,-4}}, {icon = "__space-age__/graphics/icons/yumako-mash.png", size=64, shift={-4,-4}},
{icon="__bzlead__/graphics/icons/lead-powder.png", icon_size = 64, shift={4,4}}, {icon="__bzlead2__/graphics/icons/lead-powder.png", icon_size = 64, shift={4,4}},
}, },
enabled = false, enabled = false,
allow_productivity = true, allow_productivity = true,
@ -301,7 +301,7 @@ data:extend({
auto_recycle_helper = false, auto_recycle_helper = false,
icons = { icons = {
{icon = "__base__/graphics/icons/fluid/sulfuric-acid.png", size = 64, shift={-4,-4}}, {icon = "__base__/graphics/icons/fluid/sulfuric-acid.png", size = 64, shift={-4,-4}},
{icon = "__bzlead__/graphics/icons/lead-ore.png", size = 64, shift={4,4}}, {icon = "__bzlead2__/graphics/icons/lead-ore.png", size = 64, shift={4,4}},
}, },
enabled = false, enabled = false,
allow_productivity = true, allow_productivity = true,
@ -366,7 +366,7 @@ data:extend({
icons = (util.k2() and icons = (util.k2() and
{ {
{ icon = "__IndustrialRevolution__/graphics/icons/64/lead-ingot.png", icon_size = 64, icon_mipmaps = 4, }, { icon = "__IndustrialRevolution__/graphics/icons/64/lead-ingot.png", icon_size = 64, icon_mipmaps = 4, },
{ icon = "__bzlead__/graphics/icons/lead-ore.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}}, { icon = "__bzlead2__/graphics/icons/lead-ore.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}},
} or { } or {
{ icon = "__IndustrialRevolution__/graphics/icons/64/lead-ingot.png", icon_size = 64, icon_mipmaps = 4, }, { icon = "__IndustrialRevolution__/graphics/icons/64/lead-ingot.png", icon_size = 64, icon_mipmaps = 4, },
}), }),
@ -419,7 +419,7 @@ data:extend({
{ icon = util.k2assets().."/icons/items/pistol-ammo-1.png", icon_size = 64}, { icon = util.k2assets().."/icons/items/pistol-ammo-1.png", icon_size = 64},
{ icon = "__base__/graphics/icons/iron-plate.png", icon_size = 64, { icon = "__base__/graphics/icons/iron-plate.png", icon_size = 64,
scale=0.25, shift= {8, -6}}, scale=0.25, shift= {8, -6}},
{ icon = "__bzlead__/graphics/icons/lead-plate.png", { icon = "__bzlead2__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -6}}, icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -6}},
}, },
}, },
@ -451,7 +451,7 @@ data:extend({
{ icon = util.k2assets().."/icons/items/pistol-ammo-1.png", icon_size = 64}, { icon = util.k2assets().."/icons/items/pistol-ammo-1.png", icon_size = 64},
{ icon = "__base__/graphics/icons/copper-plate.png", icon_size = 64, { icon = "__base__/graphics/icons/copper-plate.png", icon_size = 64,
scale=0.25, shift= {8, -6}}, scale=0.25, shift= {8, -6}},
{ icon = "__bzlead__/graphics/icons/lead-plate.png", { icon = "__bzlead2__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -6}}, icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -6}},
}, },
}, },
@ -468,7 +468,7 @@ data:extend({
{ icon = util.k2assets().."/icons/ammo/rifle-magazine.png", icon_size = 64}, { icon = util.k2assets().."/icons/ammo/rifle-magazine.png", icon_size = 64},
{ icon = "__base__/graphics/icons/iron-plate.png", icon_size = 64, { icon = "__base__/graphics/icons/iron-plate.png", icon_size = 64,
scale=0.25, shift= {8, -6}}, scale=0.25, shift= {8, -6}},
{ icon = "__bzlead__/graphics/icons/lead-plate.png", { icon = "__bzlead2__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -6}}, icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -6}},
}, },
}, },
@ -500,7 +500,7 @@ data:extend({
{ icon = util.k2assets().."/icons/ammo/rifle-magazine.png", icon_size = 64}, { icon = util.k2assets().."/icons/ammo/rifle-magazine.png", icon_size = 64},
{ icon = "__base__/graphics/icons/copper-plate.png", icon_size = 64, { icon = "__base__/graphics/icons/copper-plate.png", icon_size = 64,
scale=0.25, shift= {8, -6}}, scale=0.25, shift= {8, -6}},
{ icon = "__bzlead__/graphics/icons/lead-plate.png", { icon = "__bzlead2__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -6}}, icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -6}},
}, },
}, },
@ -522,7 +522,7 @@ data:extend({
{ icon = "__base__/graphics/icons/firearm-magazine.png", icon_size = 64}, { icon = "__base__/graphics/icons/firearm-magazine.png", icon_size = 64},
{ icon = "__base__/graphics/icons/iron-plate.png", icon_size = 64, { icon = "__base__/graphics/icons/iron-plate.png", icon_size = 64,
scale=0.25, shift= {8, -8}}, scale=0.25, shift= {8, -8}},
{ icon = "__bzlead__/graphics/icons/lead-plate.png", { icon = "__bzlead2__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}}, icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}},
}, },
}, },
@ -556,7 +556,7 @@ data:extend({
{ icon = "__base__/graphics/icons/firearm-magazine.png", icon_size = 64}, { icon = "__base__/graphics/icons/firearm-magazine.png", icon_size = 64},
{ icon = "__base__/graphics/icons/copper-plate.png", icon_size = 64, { icon = "__base__/graphics/icons/copper-plate.png", icon_size = 64,
scale=0.25, shift= {8, -8}}, scale=0.25, shift= {8, -8}},
{ icon = "__bzlead__/graphics/icons/lead-plate.png", { icon = "__bzlead2__/graphics/icons/lead-plate.png",
icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}}, icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}},
}, },
}, },

View file

@ -11,7 +11,7 @@
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then
data.raw["utility-constants"]["default"].main_menu_simulations["lead-ammo"] = { data.raw["utility-constants"]["default"].main_menu_simulations["lead-ammo"] = {
checkboard = false, checkboard = false,
save = "__bzlead__/menu-simulations/lead-ammo-sim.zip", length = 15*60, save = "__bzlead2__/menu-simulations/lead-ammo-sim.zip", length = 15*60,
init = init =
[[ [[
local logo = game.surfaces.nauvis.find_entities_filtered{ local logo = game.surfaces.nauvis.find_entities_filtered{

View file

@ -1,6 +1,6 @@
local me = {} local me = {}
me.name = "bzlead" me.name = "bzlead2"
me.resources = {{"lead-ore", "nauvis"}} me.resources = {{"lead-ore", "nauvis"}}
me.fluid_mining = false me.fluid_mining = false
me.lead_ore = "lead-ore" me.lead_ore = "lead-ore"

View file

@ -1,4 +1,4 @@
local util = require("__bzlead__.data-util"); local util = require("data-util");
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then
if omni and omni.matter then if omni and omni.matter then
@ -10,7 +10,7 @@ if omni and omni.matter then
data.raw.recipe["omnicium-plate-mix"].icons = data.raw.recipe["omnicium-plate-mix"].icons =
{ {
{icon = data.raw.item["omnicium-plate"].icons[1].icon}, {icon = data.raw.item["omnicium-plate"].icons[1].icon},
{icon = "__bzlead__/graphics/icons/lead-ore.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {8, -8}}, {icon = "__bzlead2__/graphics/icons/lead-ore.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {8, -8}},
{icon = "__base__/graphics/icons/iron-ore.png", scale =0.25, icon_size=64, shift={-6, 6}}, {icon = "__base__/graphics/icons/iron-ore.png", scale =0.25, icon_size=64, shift={-6, 6}},
} }
end end

View file

@ -1,4 +1,4 @@
local leadutil = require("__bzlead__.data-util"); local leadutil = require("data-util");
require("data-util") require("data-util")
if leadutil.me.more_entities() and data.raw.item["lead-plate"] then if leadutil.me.more_entities() and data.raw.item["lead-plate"] then
@ -7,7 +7,7 @@ data:extend({
{ {
type = "item", type = "item",
name = "lead-chest", name = "lead-chest",
icon = "__bzlead__/graphics/icons/lead-chest.png", icon = "__bzlead2__/graphics/icons/lead-chest.png",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
subgroup = "storage", subgroup = "storage",
order = "a[items]-az[lead-chest]", order = "a[items]-az[lead-chest]",
@ -24,7 +24,7 @@ data:extend({
{ {
type = "container", type = "container",
name = "lead-chest", name = "lead-chest",
icon = "__bzlead__/graphics/icons/lead-chest.png", icon = "__bzlead2__/graphics/icons/lead-chest.png",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
flags = {"placeable-neutral", "player-creation"}, flags = {"placeable-neutral", "player-creation"},
minable = {mining_time = 0.2, result = "lead-chest"}, minable = {mining_time = 0.2, result = "lead-chest"},
@ -55,7 +55,7 @@ data:extend({
layers = layers =
{ {
{ {
filename = "__bzlead__/graphics/entity/hr-lead-chest.png", filename = "__bzlead2__/graphics/entity/hr-lead-chest.png",
priority = "extra-high", priority = "extra-high",
width = 66, width = 66,
height = 76, height = 76,
@ -63,7 +63,7 @@ data:extend({
scale = 0.5 scale = 0.5
}, },
{ {
filename = "__bzlead__/graphics/entity/hr-lead-chest-shadow.png", filename = "__bzlead2__/graphics/entity/hr-lead-chest-shadow.png",
priority = "extra-high", priority = "extra-high",
width = 110, width = 110,
height = 50, height = 50,
@ -80,7 +80,7 @@ data:extend({
{ {
type = "corpse", type = "corpse",
name = "lead-chest-remnants", name = "lead-chest-remnants",
icon = "__bzlead__/graphics/icons/lead-chest.png", icon = "__bzlead2__/graphics/icons/lead-chest.png",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"},
subgroup = "storage-remnants", subgroup = "storage-remnants",
@ -95,7 +95,7 @@ data:extend({
hidden_in_factoriopedia = true, hidden_in_factoriopedia = true,
animation = animation =
{ {
filename = "__bzlead__/graphics/entity/hr-lead-chest-remnants.png", filename = "__bzlead2__/graphics/entity/hr-lead-chest-remnants.png",
line_length = 1, line_length = 1,
width = 126, width = 126,
height = 78, height = 78,

View file

@ -1,8 +1,8 @@
local util = require("__bzlead__.data-util"); local util = require("data-util");
local ore = "lead-ore" local ore = "lead-ore"
local ore_icon = "__bzlead__/graphics/icons/lead-ore.png" local ore_icon = "__bzlead2__/graphics/icons/lead-ore.png"
if mods["StrangeMatter"] then if mods["StrangeMatter"] then
data:extend({ data:extend({