diff options
author | Wuzzy <wuzzy2@mail.ru> | 2021-04-20 17:50:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 19:50:03 +0200 |
commit | 90a7bd6a0afb6509e96bcb373f95b448ee7f3b1d (patch) | |
tree | b3243491bdddb11c2ac01a488ad700840f1b5e85 /games/devtest | |
parent | 16e5b39e1dbe503684effb11f4b87a641c3e43e6 (diff) | |
download | minetest-90a7bd6a0afb6509e96bcb373f95b448ee7f3b1d.tar.gz minetest-90a7bd6a0afb6509e96bcb373f95b448ee7f3b1d.tar.bz2 minetest-90a7bd6a0afb6509e96bcb373f95b448ee7f3b1d.zip |
Put torch/signlike node on floor if no paramtype2 (#11074)
Diffstat (limited to 'games/devtest')
-rw-r--r-- | games/devtest/mods/testnodes/drawtypes.lua | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/games/devtest/mods/testnodes/drawtypes.lua b/games/devtest/mods/testnodes/drawtypes.lua index f6d48b06f..881ba75aa 100644 --- a/games/devtest/mods/testnodes/drawtypes.lua +++ b/games/devtest/mods/testnodes/drawtypes.lua @@ -129,14 +129,10 @@ minetest.register_node("testnodes:fencelike", { }) minetest.register_node("testnodes:torchlike", { - description = S("Torchlike Drawtype Test Node"), + description = S("Floor Torchlike Drawtype Test Node"), drawtype = "torchlike", paramtype = "light", - tiles = { - "testnodes_torchlike_floor.png", - "testnodes_torchlike_ceiling.png", - "testnodes_torchlike_wall.png", - }, + tiles = { "testnodes_torchlike_floor.png^[colorize:#FF0000:64" }, walkable = false, @@ -161,9 +157,21 @@ minetest.register_node("testnodes:torchlike_wallmounted", { groups = { dig_immediate = 3 }, }) +minetest.register_node("testnodes:signlike", { + description = S("Floor Signlike Drawtype Test Node"), + drawtype = "signlike", + paramtype = "light", + tiles = { "testnodes_signlike.png^[colorize:#FF0000:64" }, -minetest.register_node("testnodes:signlike", { + walkable = false, + groups = { dig_immediate = 3 }, + sunlight_propagates = true, + inventory_image = fallback_image("testnodes_signlike.png"), +}) + + +minetest.register_node("testnodes:signlike_wallmounted", { description = S("Wallmounted Signlike Drawtype Test Node"), drawtype = "signlike", paramtype = "light", @@ -583,7 +591,7 @@ scale("plantlike", scale("torchlike_wallmounted", S("Double-sized Wallmounted Torchlike Drawtype Test Node"), S("Half-sized Wallmounted Torchlike Drawtype Test Node")) -scale("signlike", +scale("signlike_wallmounted", S("Double-sized Wallmounted Signlike Drawtype Test Node"), S("Half-sized Wallmounted Signlike Drawtype Test Node")) scale("firelike", |