From 9c9a7e3b25e9532a3b6fcde0244e9e59473f8a31 Mon Sep 17 00:00:00 2001 From: KiwiHawk <59639+KiwiHawk@users.noreply.github.com> Date: Wed, 18 Sep 2024 21:03:00 +1200 Subject: [PATCH] Fix item types - Removed mining-tool - Removed spidertron-remote - Added rts_tool --- boblibrary/item-functions.lua | 21 ++++++++++----------- bobwarfare/prototypes/spidertron.lua | 4 ---- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/boblibrary/item-functions.lua b/boblibrary/item-functions.lua index ae62f468b..4106adce9 100644 --- a/boblibrary/item-functions.lua +++ b/boblibrary/item-functions.lua @@ -8,26 +8,25 @@ function bobmods.lib.item.get_type(name) --returns actual item type local item_types = { "ammo", "armor", + "blueprint", + "blueprint-book", "capsule", + "copy-paste-tool", + "deconstruction-item", "fluid", "gun", "item", - "mining-tool", - "repair-tool", - "module", - "tool", "item-with-entity-data", - "rail-planner", - "item-with-label", "item-with-inventory", - "blueprint-book", + "item-with-label", "item-with-tags", + "module", + "rail-planner", + "repair-tool", + "rts-tool", "selection-tool", - "blueprint", - "copy-paste-tool", - "deconstruction-item", + "tool", "upgrade-item", - "spidertron-remote", } for i, type_name in pairs(item_types) do if data.raw[type_name][name] then diff --git a/bobwarfare/prototypes/spidertron.lua b/bobwarfare/prototypes/spidertron.lua index 626f25c83..408dc7df2 100644 --- a/bobwarfare/prototypes/spidertron.lua +++ b/bobwarfare/prototypes/spidertron.lua @@ -810,10 +810,6 @@ data:extend({ type = "unlock-recipe", recipe = "spidertron" }, - { - type = "unlock-recipe", - recipe = "spidertron-remote" - } }, prerequisites = {