aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-06-16 17:05:21 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-06-16 17:05:21 +0300
commitcd0014b24f91ad2a2fff29d27742781430c16c65 (patch)
tree482c2a9c0dd55f8e2e403913836fae7b7afe1252
parentb3786d84c5a7dc709c7b2a87fcd472013484b9e9 (diff)
downloadminetest-cd0014b24f91ad2a2fff29d27742781430c16c65.tar.gz
minetest-cd0014b24f91ad2a2fff29d27742781430c16c65.tar.bz2
minetest-cd0014b24f91ad2a2fff29d27742781430c16c65.zip
Update field names to non-deprecated ones in node definition prototype
-rw-r--r--builtin/item.lua8
-rw-r--r--games/minimal/mods/default/init.lua1
2 files changed, 4 insertions, 5 deletions
diff --git a/builtin/item.lua b/builtin/item.lua
index f249d9e5a..cefc90886 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 fc9ca0a8c..64dcbbdfe 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 = <default>