diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-09-23 04:38:15 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-09-23 04:38:15 +0300 |
commit | 5a8922a0155b003ac0bb8d911e99808ffde1a7da (patch) | |
tree | c5beab878c2dbd5dbbe237775d94aefb97fa42f5 /doors.lua | |
parent | c5cc8ec993bee4473af8c2e03c0f92ec0dc9453d (diff) |
first actual content
Diffstat (limited to 'doors.lua')
-rw-r--r-- | doors.lua | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doors.lua b/doors.lua new file mode 100644 index 0000000..6d840c7 --- /dev/null +++ b/doors.lua @@ -0,0 +1,33 @@ + + +doors.register("door_wood_bar", { + tiles = {{ name = "minetest_errata_door_wood_bar.png", backface_culling = true }}, + description = "Wooden Bar Door", + _doc_items_longdec = door_simple, + _doc_items_usagehelp = door_simple_use, + inventory_image = "minetest_errata_door_wood_bar_item.png", + sounds = default.node_sound_wood_defaults(), + sound_open = "doors_fencegate_open", + sound_close = "doors_fencegate_close", + groups = { snappy = 2, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 }, + recipe = { + {"xpanes:wood_flat",}, + {"xpanes:wood_flat",}, + } +}) + +doors.register("door_iron_bar", { + tiles = {{ name = "minetest_errata_door_iron_bar.png", backface_culling = true }}, + description = "Iron Bar Door", + _doc_items_longdec = door_simple, + _doc_items_usagehelp = door_simple_use, + inventory_image = "minetest_errata_door_iron_bar_item.png", + sound_open = "minetest_errata_door_iron_bar_open", + sound_close = "minetest_errata_door_iron_bar_close", + sounds = metal_sounds, + groups = { snappy = 2, bendy = 1, cracky = 1, melty = 2, }, + recipe = { + {"xpanes:bar_flat",}, + {"xpanes:bar_flat",}, + } +})
\ No newline at end of file |