From 0b614ef0ea38b7a438c159180c87069bae8d6d06 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Mon, 14 Apr 2025 07:05:18 -0700 Subject: Renames mod and updates all references --- info.json | 12 ++++++------ prototypes/entities.lua | 28 ++++++++++++++-------------- prototypes/item.lua | 18 +++++++++--------- prototypes/tech.lua | 6 +++--- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/info.json b/info.json index 61a2bd1..93d4ab5 100644 --- a/info.json +++ b/info.json @@ -1,12 +1,12 @@ { - "name": "robot-start-2", - "version": "1.0.1", + "name": "von-newmann-2", + "version": "1.0.0", "factorio_version": "2.0", - "title": "Robot start 2", - "author": "Krypt0n_C0R3", - "contact": "", + "title": "Von Newmann 2", + "author": "Paul Oliver", + "contact": "contact@pauloliver.dev", "homepage": "", - "description": "Replace your character to roboport", + "description": "Fork of robot-start-2 by Krypt0n_C0R3. Replaces your character with a roboport.", "dependencies": [ "base", "Repair_Turret", diff --git a/prototypes/entities.lua b/prototypes/entities.lua index 9337cc4..9620ce7 100644 --- a/prototypes/entities.lua +++ b/prototypes/entities.lua @@ -11,7 +11,7 @@ local chests = {ipsc,ibc,iasc,irc,isc} for _, chest in ipairs(chests) do chest.name = "iron-"..chest.name - chest.icon = "__robot-start-2__/graphics/items/"..chest.name..".png" + chest.icon = "__von-newmann-2__/graphics/items/"..chest.name..".png" chest.corpse = iron_chest.corpse chest.max_health = iron_chest.max_health chest.minable = {mining_time = 0.1, result = chest.name} @@ -22,7 +22,7 @@ for _, chest in ipairs(chests) do chest.inventory_size = iron_chest.inventory_size chest.animation = nil chest.picture = util.table.deepcopy(iron_chest.picture) - chest.picture.layers[1].filename = "__robot-start-2__/graphics/entity/"..chest.name..".png" + chest.picture.layers[1].filename = "__von-newmann-2__/graphics/entity/"..chest.name..".png" end local early_l_bot = util.table.deepcopy(data.raw["logistic-robot"]["logistic-robot"]) @@ -31,7 +31,7 @@ local early_c_bot = util.table.deepcopy(data.raw["construction-robot"]["construc local bots = {early_c_bot,early_l_bot} for _, bot in ipairs(bots) do - bot.icon = "__robot-start-2__/graphics/items/"..bot.name..".png" + bot.icon = "__von-newmann-2__/graphics/items/"..bot.name..".png" bot.name = "early-"..bot.name bot.minable = {mining_time = 0.1, result = bot.name} bot.resistances = @@ -45,19 +45,19 @@ for _, bot in ipairs(bots) do bot.speed = 0.04 bot.max_energy = "0.75MJ" bot.energy_per_move = "2.5kJ" - bot.idle.filename = bot.idle.filename:gsub("base","robot-start-2") - bot.in_motion.filename = bot.in_motion.filename:gsub("base","robot-start-2") - bot.shadow_idle.filename = bot.shadow_idle.filename:gsub("base","robot-start-2") - bot.shadow_in_motion.filename = bot.shadow_in_motion.filename:gsub("base","robot-start-2") + bot.idle.filename = bot.idle.filename:gsub("base","von-newmann-2") + bot.in_motion.filename = bot.in_motion.filename:gsub("base","von-newmann-2") + bot.shadow_idle.filename = bot.shadow_idle.filename:gsub("base","von-newmann-2") + bot.shadow_in_motion.filename = bot.shadow_in_motion.filename:gsub("base","von-newmann-2") end -early_c_bot.working.filename = early_c_bot.working.filename:gsub("base","robot-start-2") -early_c_bot.shadow_working.filename = early_c_bot.shadow_working.filename:gsub("base","robot-start-2") +early_c_bot.working.filename = early_c_bot.working.filename:gsub("base","von-newmann-2") +early_c_bot.shadow_working.filename = early_c_bot.shadow_working.filename:gsub("base","von-newmann-2") -early_l_bot.idle_with_cargo.filename = early_l_bot.idle_with_cargo.filename:gsub("base","robot-start-2") -early_l_bot.in_motion_with_cargo.filename = early_l_bot.in_motion_with_cargo.filename:gsub("base","robot-start-2") -early_l_bot.shadow_idle_with_cargo.filename = early_l_bot.shadow_idle_with_cargo.filename:gsub("base","robot-start-2") -early_l_bot.shadow_in_motion_with_cargo.filename = early_l_bot.shadow_in_motion_with_cargo.filename:gsub("base","robot-start-2") +early_l_bot.idle_with_cargo.filename = early_l_bot.idle_with_cargo.filename:gsub("base","von-newmann-2") +early_l_bot.in_motion_with_cargo.filename = early_l_bot.in_motion_with_cargo.filename:gsub("base","von-newmann-2") +early_l_bot.shadow_idle_with_cargo.filename = early_l_bot.shadow_idle_with_cargo.filename:gsub("base","von-newmann-2") +early_l_bot.shadow_in_motion_with_cargo.filename = early_l_bot.shadow_in_motion_with_cargo.filename:gsub("base","von-newmann-2") data:extend{ ipsc, @@ -67,4 +67,4 @@ data:extend{ irc, early_c_bot, early_l_bot -} \ No newline at end of file +} diff --git a/prototypes/item.lua b/prototypes/item.lua index 70ca8ee..b0eeb68 100644 --- a/prototypes/item.lua +++ b/prototypes/item.lua @@ -2,7 +2,7 @@ data:extend{ { type = "item", name = "iron-active-provider-chest", - icon = "__robot-start-2__/graphics/items/iron-active-provider-chest.png", + icon = "__von-newmann-2__/graphics/items/iron-active-provider-chest.png", icon_size = 64, icon_mipmaps = 4, subgroup = "storage", @@ -13,7 +13,7 @@ data:extend{ { type = "item", name = "iron-buffer-chest", - icon = "__robot-start-2__/graphics/items/iron-buffer-chest.png", + icon = "__von-newmann-2__/graphics/items/iron-buffer-chest.png", icon_size = 64, icon_mipmaps = 4, subgroup = "storage", @@ -24,7 +24,7 @@ data:extend{ { type = "item", name = "iron-passive-provider-chest", - icon = "__robot-start-2__/graphics/items/iron-passive-provider-chest.png", + icon = "__von-newmann-2__/graphics/items/iron-passive-provider-chest.png", icon_size = 64, icon_mipmaps = 4, subgroup = "storage", @@ -35,7 +35,7 @@ data:extend{ { type = "item", name = "iron-requester-chest", - icon = "__robot-start-2__/graphics/items/iron-requester-chest.png", + icon = "__von-newmann-2__/graphics/items/iron-requester-chest.png", icon_size = 64, icon_mipmaps = 4, subgroup = "storage", @@ -46,7 +46,7 @@ data:extend{ { type = "item", name = "iron-storage-chest", - icon = "__robot-start-2__/graphics/items/iron-storage-chest.png", + icon = "__von-newmann-2__/graphics/items/iron-storage-chest.png", icon_size = 64, icon_mipmaps = 4, subgroup = "storage", @@ -57,7 +57,7 @@ data:extend{ { type = "item", name = "early-logistic-robot", - icon = "__robot-start-2__/graphics/items/logistic-robot.png", + icon = "__von-newmann-2__/graphics/items/logistic-robot.png", icon_size = 64, icon_mipmaps = 4, subgroup = "logistic-network", @@ -68,7 +68,7 @@ data:extend{ { type = "item", name = "early-construction-robot", - icon = "__robot-start-2__/graphics/items/construction-robot.png", + icon = "__von-newmann-2__/graphics/items/construction-robot.png", icon_size = 64, icon_mipmaps = 4, subgroup = "logistic-network", @@ -79,11 +79,11 @@ data:extend{ { type = "item", name = "inventory-blocker", - icon = "__robot-start-2__/graphics/items/inventory-blocker.png", + icon = "__von-newmann-2__/graphics/items/inventory-blocker.png", icon_size = 64, icon_mipmaps = 4, subgroup = "logistic-network", order = "a[robot]-b[early-construction-robot]", stack_size = 1 }, -} \ No newline at end of file +} diff --git a/prototypes/tech.lua b/prototypes/tech.lua index bc77fe5..47ce701 100644 --- a/prototypes/tech.lua +++ b/prototypes/tech.lua @@ -1,4 +1,4 @@ -data.raw.technology["logistic-system"].icon = "__robot-start-2__/graphics/technology/logistic-system.png" +data.raw.technology["logistic-system"].icon = "__von-newmann-2__/graphics/technology/logistic-system.png" --[[data.raw.technology["logistic-robotics"].effects = { { @@ -24,7 +24,7 @@ data:extend{ type = "technology", name = "early-logistic", icon_size = 256, icon_mipmaps = 4, - icon = "__robot-start-2__/graphics/technology/logistic-system-early.png", + icon = "__von-newmann-2__/graphics/technology/logistic-system-early.png", effects = { { @@ -70,4 +70,4 @@ data:extend{ upgrade = false, order = "e-l-a" }, -} \ No newline at end of file +} -- cgit v1.2.1