summaryrefslogtreecommitdiff
path: root/doors.lua
diff options
context:
space:
mode:
authorh-v-smacker <hans-von-smacker+github@gmail.com>2018-10-02 16:57:42 +0300
committerh-v-smacker <hans-von-smacker+github@gmail.com>2018-10-02 16:57:42 +0300
commit891db635037703cc6359c2331c1196625962353e (patch)
tree62af0c1f7e5a6c9d229327c634a9a2b454f961e4 /doors.lua
parent01629913382ee5abc2c189bdbc51a86811ae618b (diff)
glass trapdoor
Diffstat (limited to 'doors.lua')
-rw-r--r--doors.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/doors.lua b/doors.lua
index 48176c3..e70939f 100644
--- a/doors.lua
+++ b/doors.lua
@@ -64,6 +64,24 @@ doors.register("door_obsidian_glass_protected", {
})
+doors.register_trapdoor("minetest_errata:trapdoor_glass", {
+ description = "Glass Trapdoor",
+ inventory_image = "minetest_errata_trapdoor_glass.png",
+ wield_image = "minetest_errata_trapdoor_glass.png",
+ tile_front = "minetest_errata_trapdoor_glass.png",
+ tile_side = "minetest_errata_trapdoor_glass_side.png",
+ groups = {cracky = 3, oddly_breakable_by_hand = 3, door = 1},
+ sounds = default.node_sound_glass_defaults(),
+})
+
+minetest.register_craft({
+ output = "minetest_errata:trapdoor_glass 2",
+ recipe = {
+ {"default:glass", "default:glass", "default:stick"},
+ {"default:glass", "default:glass", "default:stick"},
+ }
+})
+
if minetest.get_modpath("moreblocks") then