summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorWuzzy <wuzzy2@mail.ru>2020-11-15 17:37:09 +0100
committerGitHub <noreply@github.com>2020-11-15 17:37:09 +0100
commitee1853e9bc740a521270e2e113bb4215246382c4 (patch)
tree18471772941b4c0008e8fb502d61fdcb4992f886 /games
parentad58ece18062d4c545432b45d71ce6dbe841746b (diff)
downloadminetest-ee1853e9bc740a521270e2e113bb4215246382c4.tar.gz
minetest-ee1853e9bc740a521270e2e113bb4215246382c4.tar.bz2
minetest-ee1853e9bc740a521270e2e113bb4215246382c4.zip
Fix falling image of torchlike if paramtype2="none" (#10612)
Diffstat (limited to 'games')
-rw-r--r--games/devtest/mods/testnodes/drawtypes.lua21
1 files changed, 20 insertions, 1 deletions
diff --git a/games/devtest/mods/testnodes/drawtypes.lua b/games/devtest/mods/testnodes/drawtypes.lua
index 82d862819..b3ab2b322 100644
--- a/games/devtest/mods/testnodes/drawtypes.lua
+++ b/games/devtest/mods/testnodes/drawtypes.lua
@@ -145,6 +145,23 @@ minetest.register_node("testnodes:fencelike", {
})
minetest.register_node("testnodes:torchlike", {
+ description = S("Torchlike Drawtype Test Node"),
+ drawtype = "torchlike",
+ paramtype = "light",
+ tiles = {
+ "testnodes_torchlike_floor.png",
+ "testnodes_torchlike_ceiling.png",
+ "testnodes_torchlike_wall.png",
+ },
+
+
+ walkable = false,
+ sunlight_propagates = true,
+ groups = { dig_immediate = 3 },
+ inventory_image = fallback_image("testnodes_torchlike_floor.png"),
+})
+
+minetest.register_node("testnodes:torchlike_wallmounted", {
description = S("Wallmounted Torchlike Drawtype Test Node"),
drawtype = "torchlike",
paramtype = "light",
@@ -162,6 +179,8 @@ minetest.register_node("testnodes:torchlike", {
inventory_image = fallback_image("testnodes_torchlike_floor.png"),
})
+
+
minetest.register_node("testnodes:signlike", {
description = S("Wallmounted Signlike Drawtype Test Node"),
drawtype = "signlike",
@@ -526,7 +545,7 @@ scale("allfaces_optional_waving",
scale("plantlike",
S("Double-sized Plantlike Drawtype Test Node"),
S("Half-sized Plantlike Drawtype Test Node"))
-scale("torchlike",
+scale("torchlike_wallmounted",
S("Double-sized Wallmounted Torchlike Drawtype Test Node"),
S("Half-sized Wallmounted Torchlike Drawtype Test Node"))
scale("signlike",