From: Perttu Ahola Date: Sat, 16 Jun 2012 14:05:21 +0000 (+0300) Subject: Update field names to non-deprecated ones in node definition prototype X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=cd0014b24f91ad2a2fff29d27742781430c16c65;p=zefram%2Fminetest%2Fminetest_engine.git Update field names to non-deprecated ones in node definition prototype --- diff --git a/builtin/item.lua b/builtin/item.lua index f249d9e5..cefc9088 100644 --- a/builtin/item.lua +++ b/builtin/item.lua @@ -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}, diff --git a/games/minimal/mods/default/init.lua b/games/minimal/mods/default/init.lua index fc9ca0a8..64dcbbdf 100644 --- a/games/minimal/mods/default/init.lua +++ b/games/minimal/mods/default/init.lua @@ -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 =