From 2b1489028ac57827a91be11773c4f634b67b31fe Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 12 Jan 2017 00:39:45 +0100 Subject: [PATCH] Remove legacy_wallmounted --- mods/cake/init.lua | 6 ------ mods/farming/melon.lua | 4 ---- mods/farming/pumpkin.lua | 4 ---- mods/itemframes/init.lua | 1 - mods/redstone/mesecons_button/init.lua | 4 ---- 5 files changed, 19 deletions(-) diff --git a/mods/cake/init.lua b/mods/cake/init.lua index 53914d7949..53c14a0362 100644 --- a/mods/cake/init.lua +++ b/mods/cake/init.lua @@ -39,7 +39,6 @@ minetest.register_node("cake:cake", { stack_max = 1, groups = {crumbly=3,falling_node=1}, drop = '', - --legacy_mineral = true, on_rightclick = function(pos, node, clicker, itemstack) if clicker:get_hp() < 20 then clicker:set_hp(clicker:get_hp()+2) @@ -63,7 +62,6 @@ minetest.register_node("cake:cake_5", { }, groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1}, drop = '', - --legacy_mineral = true, on_rightclick = function(pos, node, clicker, itemstack) if clicker:get_hp() < 20 then clicker:set_hp(clicker:get_hp()+2) @@ -87,7 +85,6 @@ minetest.register_node("cake:cake_4", { }, groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1}, drop = '', - --legacy_mineral = true, on_rightclick = function(pos, node, clicker, itemstack) if clicker:get_hp() < 20 then clicker:set_hp(clicker:get_hp()+2) @@ -111,7 +108,6 @@ minetest.register_node("cake:cake_3", { }, groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1}, drop = '', - --legacy_mineral = true, on_rightclick = function(pos, node, clicker, itemstack) if clicker:get_hp() < 20 then clicker:set_hp(clicker:get_hp()+2) @@ -135,7 +131,6 @@ minetest.register_node("cake:cake_2", { }, groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1}, drop = '', - --legacy_mineral = true, on_rightclick = function(pos, node, clicker, itemstack) if clicker:get_hp() < 20 then clicker:set_hp(clicker:get_hp()+2) @@ -159,7 +154,6 @@ minetest.register_node("cake:cake_1", { }, groups = {crumbly=3,falling_node=1,not_in_creative_inventory=1}, drop = '', - --legacy_mineral = true, on_rightclick = function(pos, node, clicker, itemstack) if clicker:get_hp() < 20 then clicker:set_hp(clicker:get_hp()+2) diff --git a/mods/farming/melon.lua b/mods/farming/melon.lua index 5870543b27..5700efb4cb 100644 --- a/mods/farming/melon.lua +++ b/mods/farming/melon.lua @@ -90,7 +90,6 @@ minetest.register_node("farming:melontige_linked_r", { drawtype = "nodebox", paramtype = "light", paramtype2 = "wallmounted", - legacy_wallmounted = true, node_box = { type = "fixed", fixed = { @@ -121,7 +120,6 @@ minetest.register_node("farming:melontige_linked_l", { drawtype = "nodebox", paramtype = "light", paramtype2 = "wallmounted", - legacy_wallmounted = true, node_box = { type = "fixed", fixed = { @@ -152,7 +150,6 @@ minetest.register_node("farming:melontige_linked_t", { drawtype = "nodebox", paramtype = "light", paramtype2 = "wallmounted", - legacy_wallmounted = true, node_box = { type = "fixed", fixed = { @@ -183,7 +180,6 @@ minetest.register_node("farming:melontige_linked_b", { drawtype = "nodebox", paramtype = "light", paramtype2 = "wallmounted", - legacy_wallmounted = true, node_box = { type = "fixed", fixed = { diff --git a/mods/farming/pumpkin.lua b/mods/farming/pumpkin.lua index 08f4b936cb..0019b46162 100644 --- a/mods/farming/pumpkin.lua +++ b/mods/farming/pumpkin.lua @@ -100,7 +100,6 @@ minetest.register_node("farming:pumpkintige_linked_r", { drawtype = "nodebox", paramtype = "light", paramtype2 = "wallmounted", - legacy_wallmounted = true, node_box = { type = "fixed", fixed = { @@ -131,7 +130,6 @@ minetest.register_node("farming:pumpkintige_linked_l", { drawtype = "nodebox", paramtype = "light", paramtype2 = "wallmounted", - legacy_wallmounted = true, node_box = { type = "fixed", fixed = { @@ -162,7 +160,6 @@ minetest.register_node("farming:pumpkintige_linked_t", { drawtype = "nodebox", paramtype = "light", paramtype2 = "wallmounted", - legacy_wallmounted = true, node_box = { type = "fixed", fixed = { @@ -193,7 +190,6 @@ minetest.register_node("farming:pumpkintige_linked_b", { drawtype = "nodebox", paramtype = "light", paramtype2 = "wallmounted", - legacy_wallmounted = true, node_box = { type = "fixed", fixed = { diff --git a/mods/itemframes/init.lua b/mods/itemframes/init.lua index 4e98072bd6..991dd442e3 100644 --- a/mods/itemframes/init.lua +++ b/mods/itemframes/init.lua @@ -100,7 +100,6 @@ minetest.register_node("itemframes:frame",{ paramtype2 = "facedir", sunlight_propagates = true, groups = { choppy=2,dig_immediate=2 }, - legacy_wallmounted = true, sounds = default.node_sound_defaults(), after_place_node = function(pos, placer, itemstack) local meta = minetest.get_meta(pos) diff --git a/mods/redstone/mesecons_button/init.lua b/mods/redstone/mesecons_button/init.lua index 3617caa631..9a91e6a881 100644 --- a/mods/redstone/mesecons_button/init.lua +++ b/mods/redstone/mesecons_button/init.lua @@ -25,7 +25,6 @@ minetest.register_node("mesecons_button:button_stone_off", { tiles = {"default_stone.png"}, paramtype = "light", paramtype2 = "facedir", - legacy_wallmounted = true, is_ground_content = false, walkable = false, sunlight_propagates = true, @@ -57,7 +56,6 @@ minetest.register_node("mesecons_button:button_stone_on", { tiles = {"default_stone.png"}, paramtype = "light", paramtype2 = "facedir", - legacy_wallmounted = true, is_ground_content = false, walkable = false, sunlight_propagates = true, @@ -84,7 +82,6 @@ minetest.register_node("mesecons_button:button_wood_off", { tiles = {"default_wood.png"}, paramtype = "light", paramtype2 = "facedir", - legacy_wallmounted = true, is_ground_content = false, walkable = false, sunlight_propagates = true, @@ -116,7 +113,6 @@ minetest.register_node("mesecons_button:button_wood_on", { tiles = {"default_wood.png"}, paramtype = "light", paramtype2 = "facedir", - legacy_wallmounted = true, is_ground_content = false, walkable = false, sunlight_propagates = true,