mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Add fishtank sounds to cryo cell (#88466)
## About The Pull Request ~~Note to maints, need to wait until:~~ - ~~#88462~~ ~~Is merged before adding this.~~ It's merged now. We good to go. Adds some fishtank sounds to cryo cell when it's in use. https://github.com/user-attachments/assets/4b2ec114-f38b-4a56-b2ee-8b1f2b5289cd https://github.com/user-attachments/assets/8b00179c-c4c3-4e4a-8165-94226c2fd5de https://github.com/user-attachments/assets/c59b9eb9-7605-4548-8bca-5d9f716fdecc https://github.com/user-attachments/assets/fd14e6d6-053e-4e17-bca8-c68b18f6c6d6 https://github.com/user-attachments/assets/4f6de5d6-3698-4c94-94a6-9f093c7f2e02 https://github.com/user-attachments/assets/ee238c51-0b84-4757-8b87-202aa89eeb37 https://github.com/user-attachments/assets/270babce-ad54-4dc6-a0f7-748c8c446f0f https://github.com/user-attachments/assets/abde675a-c792-474c-9bfc-099e3d064bb2 https://github.com/user-attachments/assets/9f3f92d0-4acf-4a5d-b32b-4f9cee85c6b3 https://github.com/user-attachments/assets/c43058c1-844d-4698-97b7-24e2322b281f Taken from - https://freesound.org/people/DudeAwesome/sounds/386023/ Converted into OGG and split into 5 second sections License: CC BY 4.0 ## Why It's Good For The Game Human fishtank immersion. ## Changelog 🆑 sound: Add fishtank looping sounds to cryo cells when in use. Sound is from https://freesound.org/people/DudeAwesome/sounds/386023/ /🆑 --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
@@ -206,3 +206,19 @@
|
||||
end_volume = 60
|
||||
extra_range = MEDIUM_RANGE_SOUND_EXTRARANGE
|
||||
falloff_exponent = 4
|
||||
|
||||
/datum/looping_sound/cryo_cell
|
||||
mid_sounds = list(
|
||||
'sound/machines/cryo/cryo_1.ogg',
|
||||
'sound/machines/cryo/cryo_2.ogg',
|
||||
'sound/machines/cryo/cryo_3.ogg',
|
||||
'sound/machines/cryo/cryo_4.ogg',
|
||||
'sound/machines/cryo/cryo_5.ogg',
|
||||
'sound/machines/cryo/cryo_6.ogg',
|
||||
'sound/machines/cryo/cryo_7.ogg',
|
||||
'sound/machines/cryo/cryo_8.ogg',
|
||||
'sound/machines/cryo/cryo_9.ogg',
|
||||
'sound/machines/cryo/cryo_10.ogg',
|
||||
)
|
||||
mid_length = 5 SECONDS
|
||||
volume = 50
|
||||
|
||||
@@ -101,6 +101,8 @@
|
||||
var/datum/gas_machine_connector/internal_connector
|
||||
/// Check if the machine has been turned on
|
||||
var/on = FALSE
|
||||
/// The sound loop that can be heard when the generator is processing.
|
||||
var/datum/looping_sound/cryo_cell/soundloop
|
||||
|
||||
/datum/armor/unary_cryo_cell
|
||||
energy = 100
|
||||
@@ -119,6 +121,7 @@
|
||||
occupant_vis = new(mapload, src)
|
||||
vis_contents += occupant_vis
|
||||
internal_connector = new(loc, src, dir, CELL_VOLUME * 0.5)
|
||||
soundloop = new(src)
|
||||
|
||||
register_context()
|
||||
|
||||
@@ -130,6 +133,7 @@
|
||||
QDEL_NULL(radio)
|
||||
QDEL_NULL(beaker)
|
||||
QDEL_NULL(internal_connector)
|
||||
QDEL_NULL(soundloop)
|
||||
|
||||
return ..()
|
||||
|
||||
@@ -378,10 +382,14 @@
|
||||
/obj/machinery/cryo_cell/begin_processing()
|
||||
. = ..()
|
||||
SSair.start_processing_machine(src)
|
||||
if(soundloop)
|
||||
soundloop.start()
|
||||
|
||||
/obj/machinery/cryo_cell/end_processing()
|
||||
. = ..()
|
||||
SSair.stop_processing_machine(src)
|
||||
if(soundloop)
|
||||
soundloop.stop()
|
||||
|
||||
/obj/machinery/cryo_cell/on_set_is_operational(old_value)
|
||||
//Turned off
|
||||
|
||||
@@ -214,4 +214,7 @@ sound\items\weapons\hammer_death_scream.ogg - Undefeatablesos' scream recorded b
|
||||
|
||||
sound/machines/sink-faucet.ogg -- https://freesound.org/people/FOSSarts/sounds/740086/ -- by FOSSarts (CC0)
|
||||
|
||||
cryo_1.ogg, cryo_2.ogg, cryo_3.ogg, cryo_4.ogg, cryo_5.ogg, cryo_6.ogg, cryo_7.ogg, cryo_8.ogg, cryo_9.ogg, cryo_10.ogg:
|
||||
converted to OGG / split apart (but is otherwise unchanged) -- original from https://freesound.org/people/DudeAwesome/sounds/386023/ by DudeAwesome -- License: CC BY 4.0
|
||||
|
||||
sound/items/dice_roll.ogg -- https://freesound.org/people/Crovic/sounds/661935/ -- by Crovic (CC0)
|
||||
|
||||
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user