aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods
diff options
context:
space:
mode:
authorGregor Parzefall <82708541+grorp@users.noreply.github.com>2022-07-31 15:18:29 +0200
committerGitHub <noreply@github.com>2022-07-31 15:18:29 +0200
commit70b71c501332521b05173bc8e1d505720d0187c5 (patch)
treef9f1c6524bef5ee8a022b0b40ad16f85c908ec04 /games/devtest/mods
parent95d7fcb9499d7f51a660847a5b5671925206883f (diff)
downloadminetest-70b71c501332521b05173bc8e1d505720d0187c5.tar.gz
minetest-70b71c501332521b05173bc8e1d505720d0187c5.tar.bz2
minetest-70b71c501332521b05173bc8e1d505720d0187c5.zip
Fix rotation of falling facedir nodes (#12587)
in some cases
Diffstat (limited to 'games/devtest/mods')
-rw-r--r--games/devtest/mods/testnodes/properties.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/devtest/mods/testnodes/properties.lua b/games/devtest/mods/testnodes/properties.lua
index 89facf71c..bacd555cd 100644
--- a/games/devtest/mods/testnodes/properties.lua
+++ b/games/devtest/mods/testnodes/properties.lua
@@ -13,6 +13,20 @@ minetest.register_node("testnodes:falling", {
groups = { falling_node = 1, dig_immediate = 3 },
})
+minetest.register_node("testnodes:falling_facedir", {
+ description = S("Falling Facedir Node"),
+ tiles = {
+ "testnodes_1.png",
+ "testnodes_2.png",
+ "testnodes_3.png",
+ "testnodes_4.png",
+ "testnodes_5.png",
+ "testnodes_6.png",
+ },
+ paramtype2 = "facedir",
+ groups = { falling_node = 1, dig_immediate = 3 },
+})
+
-- Same as falling node, but will stop falling on top of liquids
minetest.register_node("testnodes:falling_float", {
description = S("Falling+Floating Node"),