Yucky wucky regen mesh sounds (#89923)

## About The Pull Request


https://github.com/user-attachments/assets/c79fc5a2-54c9-4594-9923-e60b833ab073
## Why It's Good For The Game
yum yums
## Changelog
🆑
sound: regenerative meshes now make sounds when healing and have new
drop/pickup sounds
/🆑
This commit is contained in:
grungussuss
2025-03-10 17:53:28 +01:00
committed by GitHub
parent 02f9a69ac7
commit e98eb5db8d
28 changed files with 38 additions and 3 deletions
+5
View File
@@ -263,6 +263,11 @@ GLOBAL_LIST_INIT(announcer_keys, list(
#define SFX_SUTURE_END "suture_end"
#define SFX_SUTURE_PICKUP "suture_pickup"
#define SFX_SUTURE_DROP "suture_drop"
#define SFX_REGEN_MESH_BEGIN "regen_mesh_begin"
#define SFX_REGEN_MESH_CONTINUOUS "regen_mesh_continuous"
#define SFX_REGEN_MESH_END "regen_mesh_end"
#define SFX_REGEN_MESH_PICKUP "regen_mesh_pickup"
#define SFX_REGEN_MESH_DROP "regen_mesh_drop"
// Standard is 44.1khz
#define MIN_EMOTE_PITCH 40000
+5 -2
View File
@@ -599,8 +599,11 @@
repeating = TRUE
sanitization = 0.75
flesh_regeneration = 3
pickup_sound = SFX_CLOTH_PICKUP
drop_sound = SFX_CLOTH_DROP
pickup_sound = SFX_REGEN_MESH_PICKUP
drop_sound = SFX_REGEN_MESH_DROP
heal_begin_sound = SFX_REGEN_MESH_BEGIN
heal_continuous_sound = SFX_REGEN_MESH_CONTINUOUS
heal_end_sound = SFX_REGEN_MESH_END
var/is_open = TRUE ///This var determines if the sterile packaging of the mesh has been opened.
grind_results = list(/datum/reagent/medicine/spaceacillin = 2)
+28 -1
View File
@@ -853,9 +853,36 @@
)
if(SFX_SUTURE_DROP)
soundin = pick(
'sound/items/handling/suture/needle_drop1.ogg',
'sound/items/handling/suture/needle_drop2.ogg',
'sound/items/handling/suture/needle_drop3.ogg',
)
if(SFX_REGEN_MESH_BEGIN)
soundin = pick(
'sound/items/regenerative_mesh/regen_mesh_begin1.ogg',
'sound/items/regenerative_mesh/regen_mesh_begin2.ogg',
'sound/items/regenerative_mesh/regen_mesh_begin3.ogg',
'sound/items/regenerative_mesh/regen_mesh_begin4.ogg',
)
if(SFX_REGEN_MESH_CONTINUOUS)
soundin = pick(
'sound/items/regenerative_mesh/regen_mesh_continuous1.ogg',
'sound/items/regenerative_mesh/regen_mesh_continuous2.ogg',
'sound/items/regenerative_mesh/regen_mesh_continuous3.ogg',
'sound/items/regenerative_mesh/regen_mesh_continuous4.ogg',
'sound/items/regenerative_mesh/regen_mesh_continuous5.ogg',
)
if(SFX_REGEN_MESH_END)
soundin = pick(
'sound/items/regenerative_mesh/regen_mesh_end1.ogg',
'sound/items/regenerative_mesh/regen_mesh_end2.ogg',
)
if(SFX_REGEN_MESH_PICKUP)
soundin = pick(
'sound/items/handling/regenerative_mesh/regen_mesh_pickup1.ogg',
'sound/items/handling/regenerative_mesh/regen_mesh_pickup2.ogg',
'sound/items/handling/regenerative_mesh/regen_mesh_pickup3.ogg',
)
if(SFX_REGEN_MESH_DROP)
soundin = 'sound/items/regenerative_mesh/regen_mesh_drop1.ogg'
return soundin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.