diff options
author | MoNTE48 <MoNTE48@mail.ua> | 2019-12-11 20:03:12 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-05-29 22:53:58 +0200 |
commit | 34862a644256f2717923de6d35288114a84acd19 (patch) | |
tree | bf1016c11acb41d023322b6e13843ffae721d9a8 /games/devtest/mods | |
parent | 65a6a316d081d3951438bbbcfce74c9c65db407a (diff) | |
download | minetest-34862a644256f2717923de6d35288114a84acd19.tar.gz minetest-34862a644256f2717923de6d35288114a84acd19.tar.bz2 minetest-34862a644256f2717923de6d35288114a84acd19.zip |
Add disable_jump check for the player's feet
Diffstat (limited to 'games/devtest/mods')
-rw-r--r-- | games/devtest/mods/testnodes/properties.lua | 11 |
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"), |