aboutsummaryrefslogtreecommitdiff
path: root/games/devtest
diff options
context:
space:
mode:
Diffstat (limited to 'games/devtest')
-rw-r--r--games/devtest/mods/testnodes/properties.lua11
1 files changed, 9 insertions, 2 deletions
diff --git a/games/devtest/mods/testnodes/properties.lua b/games/devtest/mods/testnodes/properties.lua
index e169d4b08..01846a5f0 100644
--- a/games/devtest/mods/testnodes/properties.lua
+++ b/games/devtest/mods/testnodes/properties.lua
@@ -56,11 +56,18 @@ minetest.register_node("testnodes:attached_wallmounted", {
minetest.register_node("testnodes:nojump", {
description = S("Non-jumping Node"),
groups = {disable_jump=1, dig_immediate=3},
-
-
tiles = {"testnodes_nojump_top.png", "testnodes_nojump_side.png"},
})
+-- Jump disabled plant
+minetest.register_node("testnodes:nojump_walkable", {
+ description = S("Non-jumping Plant Node"),
+ drawtype = "plantlike",
+ groups = {disable_jump=1, dig_immediate=3},
+ walkable = false,
+ tiles = {"testnodes_nojump_top.png"},
+})
+
-- Climbable up and down with jump and sneak keys
minetest.register_node("testnodes:climbable", {
description = S("Climbable Node"),