Rename mod

This commit is contained in:
Simon Brodtmann 2025-10-19 15:50:42 +02:00
parent 5d217e1140
commit 921ab7907e
18 changed files with 69 additions and 69 deletions

View file

@ -1,5 +1,5 @@
local futil = require("util"); local futil = require("util");
local util = require("__bztungsten__.data-util"); local util = require("data-util");
if util.me.get_setting("bztungsten-advanced-carbon-furnace") == "yes" and not mods.Krastorio2 and not mods.bzfoundry2 then if util.me.get_setting("bztungsten-advanced-carbon-furnace") == "yes" and not mods.Krastorio2 and not mods.bzfoundry2 then
log("Using advanced carbon furnace") log("Using advanced carbon furnace")

View file

@ -1,4 +1,4 @@
local util = require("__bztungsten__.data-util"); local util = require("data-util");
if mods["248k-Redux"] then if mods["248k-Redux"] then
local cuw = util.me.cuw() and "cuw" or "tungsten-plate" local cuw = util.me.cuw() and "cuw" or "tungsten-plate"

View file

@ -5,7 +5,7 @@ require("tungsten-recipe-final-rrr")
local util = require("__bztungsten__.data-util"); local util = require("data-util");
-- Only burners can make tungsten carbide in vanilla -- Only burners can make tungsten carbide in vanilla
for i, entity in pairs(data.raw.furnace) do for i, entity in pairs(data.raw.furnace) do

View file

@ -1,5 +1,5 @@
{ {
"name": "bztungsten", "name": "bztungsten2",
"version": "0.7.13", "version": "0.7.13",
"factorio_version": "2.0", "factorio_version": "2.0",
"title": "Tungsten", "title": "Tungsten",

View file

@ -1,6 +1,6 @@
local me = {} local me = {}
me.name = "bztungsten" me.name = "bztungsten2"
me.tungsten_ore = "tungsten-ore" me.tungsten_ore = "tungsten-ore"
me.tungsten_plate = "tungsten-plate" me.tungsten_plate = "tungsten-plate"
me.tungsten_carbide_recipe = "tungsten-carbide" me.tungsten_carbide_recipe = "tungsten-carbide"

View file

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

View file

@ -24,7 +24,7 @@ if simpleCompress then
tungstenRecipe.results = { tungstenRecipe.results = {
{type="item", name = "tungsten-plate", amount=simpleCompress.CompressedSmeltAmount}, {type="item", name = "tungsten-plate", amount=simpleCompress.CompressedSmeltAmount},
} }
tungstenRecipe.icons = {{ icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon_size = 128 }} tungstenRecipe.icons = {{ icon = "__bztungsten2__/graphics/icons/tungsten-plate.png", icon_size = 128 }}
tungstenRecipe.subgroup = "raw-material" tungstenRecipe.subgroup = "raw-material"
tungstenRecipe.order = "d[tungsten-plate]" tungstenRecipe.order = "d[tungsten-plate]"
end end

View file

@ -1,5 +1,5 @@
-- Enriched Titanium for Krastorio2 -- Enriched Titanium for Krastorio2
local util = require("__bztungsten__.data-util"); local util = require("data-util");
if mods["Krastorio2"] then if mods["Krastorio2"] then
data:extend({ data:extend({
@ -9,10 +9,10 @@ data:extend({
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
icon = "__bztungsten__/graphics/icons/enriched-tungsten.png", icon = "__bztungsten__/graphics/icons/enriched-tungsten.png",
pictures = { pictures = {
{filename="__bztungsten__/graphics/icons/enriched-tungsten.png", size=64, scale=0.5}, {filename="__bztungsten2__/graphics/icons/enriched-tungsten.png", size=64, scale=0.5},
{filename="__bztungsten__/graphics/icons/enriched-tungsten-2.png", size=64, scale=0.5}, {filename="__bztungsten2__/graphics/icons/enriched-tungsten-2.png", size=64, scale=0.5},
{filename="__bztungsten__/graphics/icons/enriched-tungsten-3.png", size=64, scale=0.5}, {filename="__bztungsten2__/graphics/icons/enriched-tungsten-3.png", size=64, scale=0.5},
{filename="__bztungsten__/graphics/icons/enriched-tungsten-4.png", size=64, scale=0.5}, {filename="__bztungsten2__/graphics/icons/enriched-tungsten-4.png", size=64, scale=0.5},
}, },
subgroup = "raw-material", subgroup = "raw-material",
order = "e05-a[enriched-ores]-a1[enriched-tungsten]", order = "e05-a[enriched-ores]-a1[enriched-tungsten]",
@ -22,7 +22,7 @@ data:extend({
type = "recipe", type = "recipe",
name = "enriched-tungsten", name = "enriched-tungsten",
main_product = "enriched-tungsten", main_product = "enriched-tungsten",
icon = "__bztungsten__/graphics/icons/enriched-tungsten.png", icon = "__bztungsten2__/graphics/icons/enriched-tungsten.png",
icon_size = 64, icon_size = 64,
category = "chemistry", category = "chemistry",
energy_required = 3, energy_required = 3,
@ -56,8 +56,8 @@ data:extend({
name = "enriched-tungsten-plate", name = "enriched-tungsten-plate",
icons = icons =
{ {
{ icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon_size = 128, icon_mipmaps = 3, }, { icon = "__bztungsten2__/graphics/icons/tungsten-plate.png", icon_size = 128, icon_mipmaps = 3, },
{ icon = "__bztungsten__/graphics/icons/enriched-tungsten.png", icon_size = 64, scale=0.25, shift= {-8, -8}}, { icon = "__bztungsten2__/graphics/icons/enriched-tungsten.png", icon_size = 64, scale=0.25, shift= {-8, -8}},
}, },
category = "smelting", category = "smelting",
energy_required = 24, energy_required = 24,

View file

@ -9,7 +9,7 @@ if mods["Krastorio2"] then
energy_required = 1, energy_required = 1,
need_stabilizer = false, need_stabilizer = false,
unlocked_by_technology = "tungsten-matter-processing", unlocked_by_technology = "tungsten-matter-processing",
icon = {icon = "__bztungsten__/graphics/icons/tungsten-ore.png", icon_size = 64, scale = 1.25} icon = {icon = "__bztungsten2__/graphics/icons/tungsten-ore.png", icon_size = 64, scale = 1.25}
}) })
matter.make_recipes({ matter.make_recipes({

View file

@ -8,7 +8,7 @@ data:extend(
pictures = pictures =
{ {
{ {
filename = "__bztungsten__/graphics/entity/tungsten-ore-particle/tungsten-ore-particle-1.png", filename = "__bztungsten2__/graphics/entity/tungsten-ore-particle/tungsten-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 = "__bztungsten__/graphics/entity/tungsten-ore-particle/tungsten-ore-particle-2.png", filename = "__bztungsten2__/graphics/entity/tungsten-ore-particle/tungsten-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 = "__bztungsten__/graphics/entity/tungsten-ore-particle/tungsten-ore-particle-3.png", filename = "__bztungsten2__/graphics/entity/tungsten-ore-particle/tungsten-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 = "__bztungsten__/graphics/entity/tungsten-ore-particle/tungsten-ore-particle-4.png", filename = "__bztungsten2__/graphics/entity/tungsten-ore-particle/tungsten-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 = "__bztungsten__/graphics/entity/tungsten-ore-particle/tungsten-ore-particle-shadow-1.png", filename = "__bztungsten2__/graphics/entity/tungsten-ore-particle/tungsten-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 = "__bztungsten__/graphics/entity/tungsten-ore-particle/tungsten-ore-particle-shadow-2.png", filename = "__bztungsten2__/graphics/entity/tungsten-ore-particle/tungsten-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 = "__bztungsten__/graphics/entity/tungsten-ore-particle/tungsten-ore-particle-shadow-3.png", filename = "__bztungsten2__/graphics/entity/tungsten-ore-particle/tungsten-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 = "__bztungsten__/graphics/entity/tungsten-ore-particle/tungsten-ore-particle-shadow-4.png", filename = "__bztungsten2__/graphics/entity/tungsten-ore-particle/tungsten-ore-particle-shadow-4.png",
priority = "extra-high", priority = "extra-high",
width = 32, width = 32,
height = 32, height = 32,

View file

@ -1,6 +1,6 @@
local resource_autoplace = require('resource-autoplace'); local resource_autoplace = require('resource-autoplace');
local item_sounds = require('__base__.prototypes.item_sounds') local item_sounds = require('__base__.prototypes.item_sounds')
local util = require("__bztungsten__.data-util"); local util = require("data-util");
data.raw.planet.nauvis.map_gen_settings.autoplace_controls["tungsten-ore"] = {} data.raw.planet.nauvis.map_gen_settings.autoplace_controls["tungsten-ore"] = {}
data.raw.planet.nauvis.map_gen_settings.autoplace_settings.entity.settings["tungsten-ore"] = {} data.raw.planet.nauvis.map_gen_settings.autoplace_settings.entity.settings["tungsten-ore"] = {}
@ -51,7 +51,7 @@ data:extend({
{ {
sheet = sheet =
{ {
filename = "__bztungsten__/graphics/entity/ores/tungsten-ore.png", filename = "__bztungsten2__/graphics/entity/ores/tungsten-ore.png",
priority = "extra-high", priority = "extra-high",
size = 128, size = 128,
frame_count = 8, frame_count = 8,
@ -64,12 +64,12 @@ data:extend({
type = "item", type = "item",
name = "tungsten-ore", name = "tungsten-ore",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
icon = "__bztungsten__/graphics/icons/tungsten-ore.png", icon = "__bztungsten2__/graphics/icons/tungsten-ore.png",
pictures = { pictures = {
{filename="__bztungsten__/graphics/icons/tungsten-ore.png", size=64, scale=0.5}, {filename="__bztungsten2__/graphics/icons/tungsten-ore.png", size=64, scale=0.5},
{filename="__bztungsten__/graphics/icons/tungsten-ore-2.png", size=64, scale=0.5}, {filename="__bztungsten2__/graphics/icons/tungsten-ore-2.png", size=64, scale=0.5},
{filename="__bztungsten__/graphics/icons/tungsten-ore-3.png", size=64, scale=0.5}, {filename="__bztungsten2__/graphics/icons/tungsten-ore-3.png", size=64, scale=0.5},
{filename="__bztungsten__/graphics/icons/tungsten-ore-4.png", size=64, scale=0.5}, {filename="__bztungsten2__/graphics/icons/tungsten-ore-4.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("__bztungsten__.data-util"); local util = require("data-util");
if mods["5dim_core"] then if mods["5dim_core"] then
@ -36,14 +36,14 @@ if mods["5dim_core"] then
name = "tungsten-dust", name = "tungsten-dust",
subgroup = "plates-dust", subgroup = "plates-dust",
order = "d[tungsten-plate]", order = "d[tungsten-plate]",
icon = "__bztungsten__/graphics/icons/tungsten-powder.png", icon = "__bztungsten2__/graphics/icons/tungsten-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 = "tungsten-plate-dust", name = "tungsten-plate-dust",
icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon = "__bztungsten2__/graphics/icons/tungsten-plate.png",
icon_size = 128, icon_mipmaps = 3, icon_size = 128, icon_mipmaps = 3,
subgroup = "plates-plates2", subgroup = "plates-plates2",
order = "d[tungsten-plate]", order = "d[tungsten-plate]",
@ -58,7 +58,7 @@ if mods["5dim_core"] then
{ {
type = "recipe", type = "recipe",
name = "tungsten-dust", name = "tungsten-dust",
icon = "__bztungsten__/graphics/icons/tungsten-powder.png", icon = "__bztungsten2__/graphics/icons/tungsten-powder.png",
icon_size = 64, icon_mipmaps = 3, icon_size = 64, icon_mipmaps = 3,
category = "mashering", category = "mashering",
subgroup = "", subgroup = "",
@ -78,7 +78,7 @@ if mods["5dim_core"] then
category = "industrial-furnace", category = "industrial-furnace",
subgroup = "plates-industrial-dust", subgroup = "plates-industrial-dust",
order = "ad[tungsten-plate]", order = "ad[tungsten-plate]",
icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon = "__bztungsten2__/graphics/icons/tungsten-plate.png",
icon_size = 128, icon_mipmaps = 3, icon_size = 128, icon_mipmaps = 3,
enabled = true, enabled = true,
energy_required = 50, energy_required = 50,
@ -91,7 +91,7 @@ if mods["5dim_core"] then
category = "industrial-furnace", category = "industrial-furnace",
subgroup = "plates-industrial-ore", subgroup = "plates-industrial-ore",
order = "ae[tungsten-carbide]", order = "ae[tungsten-carbide]",
icon = "__bztungsten__/graphics/icons/tungsten-carbide.png", icon = "__bztungsten2__/graphics/icons/tungsten-carbide.png",
icon_size = 128, icon_mipmaps = 3, icon_size = 128, icon_mipmaps = 3,
enabled = true, enabled = true,
energy_required = 500, energy_required = 500,

View file

@ -1,4 +1,4 @@
local util = require("__bztungsten__.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,20 +1,20 @@
-- Deadlock stacking recipes -- Deadlock stacking recipes
local util = require("__bztungsten__.data-util"); local util = require("data-util");
if deadlock then if deadlock then
deadlock.add_stack("tungsten-ore", "__bztungsten__/graphics/icons/stacked/tungsten-ore-stacked.png", "deadlock-stacking-2", 64) deadlock.add_stack("tungsten-ore", "__bztungsten__/graphics/icons/stacked/tungsten-ore-stacked.png", "deadlock-stacking-2", 64)
deadlock.add_stack("tungsten-plate", "__bztungsten__/graphics/icons/stacked/tungsten-plate-stacked.png" , "deadlock-stacking-2", 128) deadlock.add_stack("tungsten-plate", "__bztungsten2__/graphics/icons/stacked/tungsten-plate-stacked.png" , "deadlock-stacking-2", 128)
deadlock.add_stack("tungsten-carbide", "__bztungsten__/graphics/icons/stacked/tungsten-carbide-stacked.png" , "deadlock-stacking-2", 128) deadlock.add_stack("tungsten-carbide", "__bztungsten2__/graphics/icons/stacked/tungsten-carbide-stacked.png" , "deadlock-stacking-2", 128)
deadlock.add_stack("rocket-engine-nozzle", "__bztungsten__/graphics/icons/stacked/rocket-engine-nozzle-stacked.png" , "deadlock-stacking-2", 128) deadlock.add_stack("rocket-engine-nozzle", "__bztungsten2__/graphics/icons/stacked/rocket-engine-nozzle-stacked.png" , "deadlock-stacking-2", 128)
if mods["Krastorio2"] then if mods["Krastorio2"] then
deadlock.add_stack("enriched-tungsten", "__bztungsten__/graphics/icons/stacked/enriched-tungsten-stacked.png" , "deadlock-stacking-2", 64) deadlock.add_stack("enriched-tungsten", "__bztungsten2__/graphics/icons/stacked/enriched-tungsten-stacked.png" , "deadlock-stacking-2", 64)
end end
if data.raw.item["tungsten-ingot"] then if data.raw.item["tungsten-ingot"] then
deadlock.add_stack("tungsten-ingot", nil, "deadlock-stacking-2", nil) deadlock.add_stack("tungsten-ingot", nil, "deadlock-stacking-2", nil)
end end
if util.me.cuw() then if util.me.cuw() then
deadlock.add_stack("cuw", "__bztungsten__/graphics/icons/stacked/cuw-stacked.png" , "deadlock-stacking-2", 128) deadlock.add_stack("cuw", "__bztungsten2__/graphics/icons/stacked/cuw-stacked.png" , "deadlock-stacking-2", 128)
end end
if data.raw.item["tungsten-powder"] then if data.raw.item["tungsten-powder"] then
deadlock.add_stack("tungsten-powder", nil, "deadlock-stacking-2", nil) deadlock.add_stack("tungsten-powder", nil, "deadlock-stacking-2", nil)

View file

@ -28,7 +28,7 @@ if string.sub(mods["space-exploration"], 1, 3) >= "0.6" then
{ {
type = "item", type = "item",
name = "tungsten-ingot", name = "tungsten-ingot",
icons = {{icon = "__bztungsten__/graphics/icons/tungsten-ingot.png", icon_size = 128}}, icons = {{icon = "__bztungsten2__/graphics/icons/tungsten-ingot.png", icon_size = 128}},
order = "b-b", order = "b-b",
stack_size = 50, stack_size = 50,
subgroup = "tungsten", subgroup = "tungsten",
@ -37,7 +37,7 @@ if string.sub(mods["space-exploration"], 1, 3) >= "0.6" then
util.me.sinter() and { util.me.sinter() and {
type = "item", type = "item",
name = "tungsten-powder", name = "tungsten-powder",
icons = {{icon = "__bztungsten__/graphics/icons/tungsten-powder.png", icon_size = 64, icon_mipmaps = 3}}, icons = {{icon = "__bztungsten2__/graphics/icons/tungsten-powder.png", icon_size = 64, icon_mipmaps = 3}},
order = "b-a-x", order = "b-a-x",
subgroup = "tungsten", subgroup = "tungsten",
stack_size = 200, stack_size = 200,
@ -48,7 +48,7 @@ if string.sub(mods["space-exploration"], 1, 3) >= "0.6" then
max_temperature = 3422, max_temperature = 3422,
base_color = {r=255, g=160, b=60}, base_color = {r=255, g=160, b=60},
flow_color = {r=255, g=160, b=60}, flow_color = {r=255, g=160, b=60},
icons = {{icon = "__bztungsten__/graphics/icons/molten-tungsten.png", icon_size = 128}}, icons = {{icon = "__bztungsten2__/graphics/icons/molten-tungsten.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,
@ -109,10 +109,10 @@ if string.sub(mods["space-exploration"], 1, 3) >= "0.6" then
name = "tungsten-carbide-casting", name = "tungsten-carbide-casting",
category = "casting", category = "casting",
icons = { icons = {
{icon = "__bztungsten__/graphics/icons/tungsten-carbide.png", icon_size = 128}, {icon = "__bztungsten2__/graphics/icons/tungsten-carbide.png", icon_size = 128},
util.me.sinter() and util.me.sinter() and
{icon = "__bztungsten__/graphics/icons/tungsten-powder.png", icon_size = 64, scale = 0.25, shift = {-8, -8}} or {icon = "__bztungsten2__/graphics/icons/tungsten-powder.png", icon_size = 64, scale = 0.25, shift = {-8, -8}} or
{icon = "__bztungsten__/graphics/icons/molten-tungsten.png", icon_size = 128, scale = 0.125, shift = {-8, -8}}, {icon = "__bztungsten2__/graphics/icons/molten-tungsten.png", icon_size = 128, scale = 0.125, shift = {-8, -8}},
}, },
results = {{type="item", name="tungsten-carbide", amount=4}}, results = {{type="item", name="tungsten-carbide", amount=4}},
energy_required = 40, energy_required = 40,
@ -129,8 +129,8 @@ if string.sub(mods["space-exploration"], 1, 3) >= "0.6" then
category = "crafting", category = "crafting",
name = "tungsten-ingot-to-plate", name = "tungsten-ingot-to-plate",
icons = { icons = {
{icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon_size = 128}, {icon = "__bztungsten2__/graphics/icons/tungsten-plate.png", icon_size = 128},
{icon = "__bztungsten__/graphics/icons/tungsten-ingot.png", icon_size = 128, scale = 0.125, shift = {-8, -8}}, {icon = "__bztungsten2__/graphics/icons/tungsten-ingot.png", icon_size = 128, scale = 0.125, shift = {-8, -8}},
}, },
results = { results = {
{type="item", name = "tungsten-plate", amount = 10}, {type="item", name = "tungsten-plate", amount = 10},
@ -185,7 +185,7 @@ else
}, },
icons = icons =
{ {
{ icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon_size = 128, icon_mipmaps = 3 }, { icon = "__bztungsten2__/graphics/icons/tungsten-plate.png", icon_size = 128, icon_mipmaps = 3 },
{ icon = "__space-exploration-graphics__/graphics/icons/vulcanite-block.png", icon_size = 64, scale=0.25, shift= {-10, -10}}, { icon = "__space-exploration-graphics__/graphics/icons/vulcanite-block.png", icon_size = 64, scale=0.25, shift= {-10, -10}},
}, },
}, },
@ -214,7 +214,7 @@ else
}, },
icons = icons =
{ {
{ icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon_size = 128, icon_mipmaps = 3,}, { icon = "__bztungsten2__/graphics/icons/tungsten-plate.png", icon_size = 128, icon_mipmaps = 3,},
{ icon = "__space-exploration-graphics__/graphics/icons/vulcanite-block.png", icon_size = 64, scale=0.25, shift= {-10, -10}}, { icon = "__space-exploration-graphics__/graphics/icons/vulcanite-block.png", icon_size = 64, scale=0.25, shift= {-10, -10}},
}, },
}, },
@ -233,7 +233,7 @@ if mods["aai-industry"] and not mods["Krastorio2"] and not mods.bzfoundry2 then
order = "z[tungsten-carbide]", order = "z[tungsten-carbide]",
icons = icons =
{ {
{ icon = "__bztungsten__/graphics/icons/tungsten-carbide.png", icon_size = 128 }, { icon = "__bztungsten2__/graphics/icons/tungsten-carbide.png", icon_size = 128 },
{ icon = "__base__/graphics/icons/coal.png", icon_size = 64, icon_mipmaps=4, scale=0.25, shift= {-10, -10}}, { icon = "__base__/graphics/icons/coal.png", icon_size = 64, icon_mipmaps=4, scale=0.25, shift= {-10, -10}},
}, },
enabled = false, enabled = false,

View file

@ -1,4 +1,4 @@
local util = require("__bztungsten__.data-util"); local util = require("data-util");
local cuw = "tungsten-plate" local cuw = "tungsten-plate"
if util.me.cuw() then cuw = "cuw" end if util.me.cuw() then cuw = "cuw" end

View file

@ -11,7 +11,7 @@ data:extend({
{ {
type = "item", type = "item",
name = "tungsten-carbide", name = "tungsten-carbide",
icon = "__bztungsten__/graphics/icons/tungsten-carbide.png", icon = "__bztungsten2__/graphics/icons/tungsten-carbide.png",
icon_size = 128, icon_size = 128,
subgroup = "raw-material", subgroup = "raw-material",
order = "z[tungsten-carbide]", order = "z[tungsten-carbide]",
@ -20,7 +20,7 @@ data:extend({
{ {
type = "item", type = "item",
name = util.me.tungsten_plate, name = util.me.tungsten_plate,
icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon = "__bztungsten2__/graphics/icons/tungsten-plate.png",
icon_size = 128, icon_mipmaps = 3, icon_size = 128, icon_mipmaps = 3,
subgroup = "raw-material", subgroup = "raw-material",
order = "b[tungsten-plate]", order = "b[tungsten-plate]",
@ -37,13 +37,13 @@ data:extend({
category = "smelting", category = "smelting",
order = "d[tungsten-plate]", order = "d[tungsten-plate]",
icons = (mods["Krastorio2"] and { icons = (mods["Krastorio2"] and {
{ icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon_size = 128, icon_mipmaps = 3, }, { icon = "__bztungsten2__/graphics/icons/tungsten-plate.png", icon_size = 128, icon_mipmaps = 3, },
{ icon = "__bztungsten__/graphics/icons/tungsten-ore.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}}, { icon = "__bztungsten2__/graphics/icons/tungsten-ore.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}},
} or mods.bobplates and { } or mods.bobplates and {
{ icon = "__bobplates__/graphics/icons/plate/tungsten-plate.png", icon_size = 32}, { icon = "__bobplates__/graphics/icons/plate/tungsten-plate.png", icon_size = 32},
} or } or
{ {
{ icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon_size = 128}, { icon = "__bztungsten2__/graphics/icons/tungsten-plate.png", icon_size = 128},
}), }),
enabled = false, enabled = false,
energy_required = mods["Krastorio2"] and 24 or 32/15, energy_required = mods["Krastorio2"] and 24 or 32/15,
@ -56,7 +56,7 @@ data:extend({
icons = {{ icon = icons = {{ icon =
mods.bobplates mods.bobplates
and "__bobplates__/graphics/icons/technology/tungsten-processing.png" and "__bobplates__/graphics/icons/technology/tungsten-processing.png"
or "__bztungsten__/graphics/technology/tungsten-processing.png", or "__bztungsten2__/graphics/technology/tungsten-processing.png",
icon_size = mods.bobplates and 64 or 256, icon_size = mods.bobplates and 64 or 256,
}}, }},
effects = effects =
@ -90,7 +90,7 @@ data:extend({
mods["TheBigFurnace"] and { mods["TheBigFurnace"] and {
type = "recipe", type = "recipe",
name = "big-tungsten-plate", name = "big-tungsten-plate",
icons = { { icon = "__bztungsten__/graphics/icons/tungsten-plate.png", icon_size = 128 }, }, icons = { { icon = "__bztungsten2__/graphics/icons/tungsten-plate.png", icon_size = 128 }, },
subgroup = "raw-material", subgroup = "raw-material",
category = "big-smelting", category = "big-smelting",
order = "d[tungsten-plate]", order = "d[tungsten-plate]",
@ -141,7 +141,7 @@ data:extend({
order = "z[tungsten-carbide]", order = "z[tungsten-carbide]",
icons = { mods.bobplates and icons = { mods.bobplates and
{ icon = "__bobplates__/graphics/icons/plate/tungsten-carbide-plate.png", icon_size = 64} { icon = "__bobplates__/graphics/icons/plate/tungsten-carbide-plate.png", icon_size = 64}
or { icon = "__bztungsten__/graphics/icons/tungsten-carbide.png", icon_size = 128} or { icon = "__bztungsten2__/graphics/icons/tungsten-carbide.png", icon_size = 128}
}, },
enabled = false, enabled = false,
energy_required = mods["Krastorio2"] and 48 or 64/3, energy_required = mods["Krastorio2"] and 48 or 64/3,
@ -154,7 +154,7 @@ data:extend({
{ {
type = "item", type = "item",
name = "rocket-engine-nozzle", name = "rocket-engine-nozzle",
icon = "__bztungsten__/graphics/icons/rocket-engine-nozzle.png", icon = "__bztungsten2__/graphics/icons/rocket-engine-nozzle.png",
icon_size = 128, icon_size = 128,
subgroup = "intermediate-product", subgroup = "intermediate-product",
order = "z[rocket-engine-nozzle]", order = "z[rocket-engine-nozzle]",
@ -167,7 +167,7 @@ data:extend({
subgroup = "intermediate-product", subgroup = "intermediate-product",
order = "z[rocket-engine-nozzle]", order = "z[rocket-engine-nozzle]",
icons = { icons = {
{ icon = "__bztungsten__/graphics/icons/rocket-engine-nozzle.png", icon_size = 128} { icon = "__bztungsten2__/graphics/icons/rocket-engine-nozzle.png", icon_size = 128}
}, },
enabled = false, enabled = false,
energy_required = 5, energy_required = 5,
@ -181,7 +181,7 @@ if util.me.cuw() then
{ {
type = "item", type = "item",
name = "cuw", name = "cuw",
icon = "__bztungsten__/graphics/icons/cuw.png", icon = "__bztungsten2__/graphics/icons/cuw.png",
icon_size = 128, icon_size = 128,
subgroup = "raw-material", subgroup = "raw-material",
order = "z[cuw]", order = "z[cuw]",

View file

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