From fc6c00cbe1dee5b3025a3742e70009850097938e Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 3 Dec 2011 20:31:41 +0200 Subject: [PATCH] Remove iron apple from default --- data/mods/default/init.lua | 15 --------------- data/mods/legacy/init.lua | 9 --------- .../{default => legacy}/textures/apple_iron.png | Bin 3 files changed, 24 deletions(-) rename data/mods/{default => legacy}/textures/apple_iron.png (100%) diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua index b32b6215..44048835 100644 --- a/data/mods/default/init.lua +++ b/data/mods/default/init.lua @@ -778,15 +778,6 @@ minetest.register_craft({ } }) -minetest.register_craft({ - output = 'craft "default:apple_iron" 1', - recipe = { - {'', 'craft "default:steel_ingot"', ''}, - {'craft "default:steel_ingot"', 'craft "apple"', 'craft "default:steel_ingot"'}, - {'', 'craft "default:steel_ingot"', ''}, - } -}) - -- -- Node definitions -- @@ -1331,12 +1322,6 @@ minetest.register_craftitem("default:apple", { on_use = minetest.craftitem_eat(4), }) -minetest.register_craftitem("default:apple_iron", { - image = "apple_iron.png", - on_place_on_ground = minetest.craftitem_place_item, - on_use = minetest.craftitem_eat(8), -}) - -- -- Creative inventory -- diff --git a/data/mods/legacy/init.lua b/data/mods/legacy/init.lua index ec691c5e..f3bae81f 100644 --- a/data/mods/legacy/init.lua +++ b/data/mods/legacy/init.lua @@ -445,15 +445,6 @@ minetest.register_craft({ } }) -minetest.register_craft({ - output = 'craft "default:apple_iron" 1', - recipe = { - {'', 'craft "steel_ingot"', ''}, - {'craft "steel_ingot"', 'craft "apple"', 'craft "steel_ingot"'}, - {'', 'craft "steel_ingot"', ''}, - } -}) - -- -- Node compatibility with old 0.4 -- diff --git a/data/mods/default/textures/apple_iron.png b/data/mods/legacy/textures/apple_iron.png similarity index 100% rename from data/mods/default/textures/apple_iron.png rename to data/mods/legacy/textures/apple_iron.png -- 2.30.2