diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-10-02 16:57:42 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-10-02 16:57:42 +0300 |
commit | 891db635037703cc6359c2331c1196625962353e (patch) | |
tree | 62af0c1f7e5a6c9d229327c634a9a2b454f961e4 /doors.lua | |
parent | 01629913382ee5abc2c189bdbc51a86811ae618b (diff) |
glass trapdoor
Diffstat (limited to 'doors.lua')
-rw-r--r-- | doors.lua | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 |