Update field names to non-deprecated ones in node definition prototype
authorPerttu Ahola <celeron55@gmail.com>
Sat, 16 Jun 2012 14:05:21 +0000 (17:05 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 16 Jun 2012 14:05:21 +0000 (17:05 +0300)
builtin/item.lua
games/minimal/mods/default/init.lua

index f249d9e5a9159e9ee5b4be0421d9ef717c0a0d28..cefc90886b5c919bd69b1eeee956808d0dbf20e3 100644 (file)
@@ -362,10 +362,10 @@ minetest.nodedef_default = {
        -- Node properties
        drawtype = "normal",
        visual_scale = 1.0,
-       tile_images = {""},
-       special_materials = {
-               {image="", backface_culling=true},
-               {image="", backface_culling=true},
+       tiles ={""},
+       special_tiles = {
+               {name="", backface_culling=true},
+               {name="", backface_culling=true},
        },
        alpha = 255,
        post_effect_color = {a=0, r=0, g=0, b=0},
index fc9ca0a8c4208277a54979a36fc177a4f0bb04e7..64dcbbdfeeade3b6988e85c373fd07c8f6fb06c8 100644 (file)
@@ -1113,7 +1113,6 @@ minetest.register_node("default:sign_wall", {
        paramtype2 = "wallmounted",
        sunlight_propagates = true,
        walkable = false,
-       metadata_name = "sign",
        selection_box = {
                type = "wallmounted",
                --wall_top = <default>