diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-10-06 02:35:12 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-10-06 02:35:12 +0300 |
commit | cf145140d32ef26804dc97505404c7ac8130f415 (patch) | |
tree | 1b55cb33a00cafca66cbb851c339c33eed80bb32 | |
parent | 27709872410168cc7498646f32551e98778b2ac2 (diff) |
door sounds
-rw-r--r-- | doors.lua | 94 |
1 files changed, 47 insertions, 47 deletions
@@ -4,10 +4,10 @@ doors.register("door_wood_bar", { tiles = {{ name = "minetest_errata_door_wood_bar.png", backface_culling = true }}, description = "Wooden Bar Door", 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 }, + sounds = default.node_sound_wood_defaults(), + groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, recipe = { {"xpanes:wood_flat",}, {"xpanes:wood_flat",}, @@ -21,8 +21,8 @@ doors.register("door_iron_bar", { 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 }, + sounds = default.node_sound_metal_defaults(), + groups = {snappy = 2, bendy = 1, cracky = 1}, recipe = { {"xpanes:bar_flat",}, {"xpanes:bar_flat",}, @@ -32,36 +32,36 @@ doors.register("door_iron_bar", { -- Protected glass doors doors.register("door_glass_protected", { - tiles = {"doors_door_glass.png"}, - description = "Protected Glass Door", - protected = true, - inventory_image = "doors_item_glass.png^(default_key.png^[transformR180FX)", - groups = {cracky=3, oddly_breakable_by_hand=3}, - sounds = default.node_sound_glass_defaults(), - sound_open = "doors_glass_door_open", - sound_close = "doors_glass_door_close", - recipe = { - {"default:glass", "default:glass", ""}, - {"default:glass", "default:glass", "default:steel_ingot"}, - {"default:glass", "default:glass", ""}, - } + tiles = {"doors_door_glass.png"}, + description = "Protected Glass Door", + protected = true, + inventory_image = "doors_item_glass.png^(default_key.png^[transformR180FX)", + groups = {cracky = 3, oddly_breakable_by_hand = 3}, + sound_open = "doors_glass_door_open", + sound_close = "doors_glass_door_close", + sounds = default.node_sound_glass_defaults(), + recipe = { + {"default:glass", "default:glass", ""}, + {"default:glass", "default:glass", "default:steel_ingot"}, + {"default:glass", "default:glass", ""}, + } }) doors.register("door_obsidian_glass_protected", { - tiles = {"doors_door_obsidian_glass.png"}, - description = "Protected Obsidian Glass Door", - protected = true, - inventory_image = "doors_item_obsidian_glass.png^(default_key.png^[transformR180FX)", - groups = {cracky=3}, - sounds = default.node_sound_glass_defaults(), - sound_open = "doors_glass_door_open", - sound_close = "doors_glass_door_close", - recipe = { - {"default:obsidian_glass", "default:obsidian_glass", ""}, - {"default:obsidian_glass", "default:obsidian_glass", "default:steel_ingot"}, - {"default:obsidian_glass", "default:obsidian_glass", ""}, - }, + tiles = {"doors_door_obsidian_glass.png"}, + description = "Protected Obsidian Glass Door", + protected = true, + inventory_image = "doors_item_obsidian_glass.png^(default_key.png^[transformR180FX)", + groups = {cracky = 3}, + sound_open = "doors_glass_door_open", + sound_close = "doors_glass_door_close", + sounds = default.node_sound_glass_defaults(), + recipe = { + {"default:obsidian_glass", "default:obsidian_glass", ""}, + {"default:obsidian_glass", "default:obsidian_glass", "default:steel_ingot"}, + {"default:obsidian_glass", "default:obsidian_glass", ""}, + }, }) @@ -90,10 +90,10 @@ if minetest.get_modpath("moreblocks") then tiles = {{ name = "minetest_errata_door_clean_glass.png", backface_culling = false }}, description = "Clean Glass Door", inventory_image = "minetest_errata_door_clean_glass_item.png", - sound_open = "minetest_errata_door_clean_glass_open", - sound_close = "minetest_errata_door_clean_glass_close", - sounds = metal_sounds, - groups = { snappy = 2, bendy = 1, cracky = 1 }, + sound_open = "doors_glass_door_open", + sound_close = "doors_glass_door_close", + sounds = default.node_sound_glass_defaults(), + groups = {snappy = 2, bendy = 1, cracky = 1}, recipe = { {"moreblocks:clean_glass","moreblocks:clean_glass",""}, {"moreblocks:clean_glass","moreblocks:clean_glass",""}, @@ -105,10 +105,10 @@ if minetest.get_modpath("moreblocks") then tiles = {{ name = "minetest_errata_door_coal_glass.png", backface_culling = false }}, description = "Coal Glass Door", inventory_image = "minetest_errata_door_coal_glass_item.png", - sound_open = "minetest_errata_door_coal_glass_open", - sound_close = "minetest_errata_door_coal_glass_close", - sounds = metal_sounds, - groups = { snappy = 2, bendy = 1, cracky = 1 }, + sound_open = "doors_glass_door_open", + sound_close = "doors_glass_door_close", + sounds = default.node_sound_glass_defaults(), + groups = {snappy = 2, bendy = 1, cracky = 1}, recipe = { {"moreblocks:coal_glass","moreblocks:coal_glass",""}, {"moreblocks:coal_glass","moreblocks:coal_glass",""}, @@ -120,10 +120,10 @@ if minetest.get_modpath("moreblocks") then tiles = {{ name = "minetest_errata_door_iron_glass.png", backface_culling = false }}, description = "Iron Glass Door", inventory_image = "minetest_errata_door_iron_glass_item.png", - sound_open = "minetest_errata_door_iron_glass_open", - sound_close = "minetest_errata_door_iron_glass_close", - sounds = metal_sounds, - groups = { snappy = 2, bendy = 1, cracky = 1 }, + sound_open = "doors_glass_door_open", + sound_close = "doors_glass_door_close", + sounds = default.node_sound_glass_defaults(), + groups = {snappy = 2, bendy = 1, cracky = 1}, recipe = { {"moreblocks:iron_glass","moreblocks:iron_glass",""}, {"moreblocks:iron_glass","moreblocks:iron_glass",""}, @@ -131,17 +131,17 @@ if minetest.get_modpath("moreblocks") then } }) - -- protected iron door + -- protected iron glass door doors.register("door_iron_glass_protected", { tiles = {{ name = "minetest_errata_door_iron_glass.png", backface_culling = false }}, description = "Protected Iron Glass Door", protected = true, inventory_image = "minetest_errata_door_iron_glass_item.png^(default_key.png^[transformR180FX)", - sound_open = "minetest_errata_door_iron_glass_open", - sound_close = "minetest_errata_door_iron_glass_close", - sounds = metal_sounds, - groups = { snappy = 2, bendy = 1, cracky = 1 }, + sound_open = "doors_glass_door_open", + sound_close = "doors_glass_door_close", + sounds = default.node_sound_glass_defaults(), + groups = {snappy = 2, bendy = 1, cracky = 1}, recipe = { {"moreblocks:iron_glass","moreblocks:iron_glass",""}, {"moreblocks:iron_glass","moreblocks:iron_glass","default:steel_ingot"}, |