1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 23:10:17 +01:00

Doors: Add dedicated sounds for glass doors

Changed node sounds for steel door/trapdoor to stone
defaults instead of wood defaults
This commit is contained in:
paramat 2016-06-23 03:06:57 +01:00
parent 84e4ae1881
commit f796194c69
4 changed files with 9 additions and 1 deletions

View File

@ -75,7 +75,9 @@ fencegate_open.ogg:
fencegate_close.ogg: fencegate_close.ogg:
http://www.freesound.org/people/BarkersPinhead/sounds/274807/ - CC-BY-3.0 http://www.freesound.org/people/BarkersPinhead/sounds/274807/ - CC-BY-3.0
http://www.freesound.org/people/rivernile7/sounds/249573/ - CC-BY-3.0 http://www.freesound.org/people/rivernile7/sounds/249573/ - CC-BY-3.0
Steel door sounds (open & close (CC-BY-3.0) by HazMatt Steel door sounds open & close (CC-BY-3.0) by HazMatt
- http://www.freesound.org/people/HazMattt/sounds/187283/ - http://www.freesound.org/people/HazMattt/sounds/187283/
doors_steel_door_open.ogg doors_steel_door_open.ogg
doors_steel_door_close.ogg doors_steel_door_close.ogg
doors_glass_door_open.ogg, doors_glass_door_close.ogg:
https://www.freesound.org/people/SkeetMasterFunk69/sounds/235546/ (CC0 1.0)

View File

@ -434,6 +434,7 @@ doors.register("door_steel", {
inventory_image = "doors_item_steel.png", inventory_image = "doors_item_steel.png",
protected = true, protected = true,
groups = { snappy = 1, bendy = 2, cracky = 1, melty = 2, level = 2 }, groups = { snappy = 1, bendy = 2, cracky = 1, melty = 2, level = 2 },
sounds = default.node_sound_stone_defaults(),
sound_open = "doors_steel_door_open", sound_open = "doors_steel_door_open",
sound_close = "doors_steel_door_close", sound_close = "doors_steel_door_close",
recipe = { recipe = {
@ -449,6 +450,8 @@ doors.register("door_glass", {
inventory_image = "doors_item_glass.png", inventory_image = "doors_item_glass.png",
groups = { snappy=1, cracky=1, oddly_breakable_by_hand=3 }, groups = { snappy=1, cracky=1, oddly_breakable_by_hand=3 },
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
sound_open = "doors_glass_door_open",
sound_close = "doors_glass_door_close",
recipe = { recipe = {
{"default:glass", "default:glass"}, {"default:glass", "default:glass"},
{"default:glass", "default:glass"}, {"default:glass", "default:glass"},
@ -462,6 +465,8 @@ doors.register("door_obsidian_glass", {
inventory_image = "doors_item_obsidian_glass.png", inventory_image = "doors_item_obsidian_glass.png",
groups = { snappy=1, cracky=1, oddly_breakable_by_hand=3 }, groups = { snappy=1, cracky=1, oddly_breakable_by_hand=3 },
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
sound_open = "doors_glass_door_open",
sound_close = "doors_glass_door_close",
recipe = { recipe = {
{"default:obsidian_glass", "default:obsidian_glass"}, {"default:obsidian_glass", "default:obsidian_glass"},
{"default:obsidian_glass", "default:obsidian_glass"}, {"default:obsidian_glass", "default:obsidian_glass"},
@ -626,6 +631,7 @@ doors.register_trapdoor("doors:trapdoor_steel", {
tile_front = "doors_trapdoor_steel.png", tile_front = "doors_trapdoor_steel.png",
tile_side = "doors_trapdoor_steel_side.png", tile_side = "doors_trapdoor_steel_side.png",
protected = true, protected = true,
sounds = default.node_sound_stone_defaults(),
sound_open = "doors_steel_door_open", sound_open = "doors_steel_door_open",
sound_close = "doors_steel_door_close", sound_close = "doors_steel_door_close",
groups = {snappy=1, bendy=2, cracky=1, melty=2, level=2, door=1}, groups = {snappy=1, bendy=2, cracky=1, melty=2, level=2, door=1},

Binary file not shown.

Binary file not shown.