Add new stone door lock sounds

master
Wuzzy 2021-10-09 14:52:23 +02:00
parent 9345fb2b39
commit 55f7f5a673
5 changed files with 10 additions and 4 deletions

View File

@ -389,6 +389,10 @@ Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
by BenjaminNelan (relicensed CC0)
modified by sorceryid
/sounds/doors_door_locked_stone.ogg
obtained from https://freesound.org/people/F.M.Audio/sounds/570534/
by F.M.Audio (CC BY 3.0)
/sounds/doors_door_locking.ogg
/sounds/doors_door_unlocking.ogg
/sounds/doors_door_sharing.ogg

View File

@ -698,10 +698,10 @@ function doors.register_door( name, def )
end
if def.is_lockable == nil then
def.is_lockable = false
def.is_lockable = true
end
if def.is_closable == nil then
def.is_closable = false
def.is_closable = true
end
-- define the essential callbacks
@ -833,10 +833,10 @@ function doors.register_trapdoor( name, def )
-- define the placement types
if def.is_lockable == nil then
def.is_lockable = false
def.is_lockable = true
end
if def.is_closable == nil then
def.is_closable = false
def.is_closable = true
end
-- define the essential callbacks

View File

@ -179,6 +179,8 @@ doors.register_door("doors:door_stone", {
sounds = hades_sounds.node_sound_stone_defaults(),
sound_open = "mcl_fences_nether_brick_fence_gate_open",
sound_close = "mcl_fences_nether_brick_fence_gate_close",
sound_locked = "doors_door_locked_stone",
sound_held_open = "doors_door_held_open_stone",
sunlight_propagates = false,
})

Binary file not shown.

Binary file not shown.