mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 04:17:33 +01:00
ccbfbdc50a
Continued from #19839 > Part 1 of a refactor to try and make our various fabricators use the same system and basic code. This adds the microlathe as a proof of concept to the whole refactor, ported from Baystation. Currently not mapped anywhere. > This also ports over Nebula's autolathe working sound, however it is adapted to fit our code. As such, I went to the original sound and re-cut it, now including start and stop sounds. Plan is overall to make it much easier to add new types of fabricators. ### Asset Licenses The following assets that **have not** been created by myself are included in this PR: | Path | Original Author | License | | --- | --- | --- | | icons/obj/machinery/fabricators/microlathe.dmi | [BloodyMan](https://github.com/BloodyMan) (Baystation 12) | CC-BY-SA | | sound/machines/fabricators/autolathe/ | [pencilina](https://freesound.org/people/pencilina/) | CC-0 | --------- Co-authored-by: Cody Brittain <cbrittain10@live.com>
173 lines
7.3 KiB
Plaintext
173 lines
7.3 KiB
Plaintext
/datum/looping_sound/showering
|
|
start_sound = 'sound/machines/shower/shower_start.ogg'
|
|
start_length = 2
|
|
mid_sounds = list('sound/machines/shower/shower_mid1.ogg' = 1,'sound/machines/shower/shower_mid2.ogg' = 1,'sound/machines/shower/shower_mid3.ogg' = 1)
|
|
mid_length = 10
|
|
end_sound = 'sound/machines/shower/shower_end.ogg'
|
|
volume = 20
|
|
extra_range = SHORT_RANGE_SOUND_EXTRARANGE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/datum/looping_sound/supermatter
|
|
mid_sounds = list('sound/machines/sm/loops/calm.ogg' = 1)
|
|
mid_length = 60
|
|
volume = 40
|
|
ignore_walls = FALSE
|
|
falloff_distance = 4
|
|
vary = TRUE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/datum/looping_sound/generator
|
|
start_sound = 'sound/machines/generator/generator_start.ogg'
|
|
start_length = 4
|
|
mid_sounds = list('sound/machines/generator/generator_mid1.ogg' = 1, 'sound/machines/generator/generator_mid2.ogg' = 1, 'sound/machines/generator/generator_mid3.ogg' = 1)
|
|
mid_length = 4
|
|
end_sound = 'sound/machines/generator/generator_end.ogg'
|
|
volume = 20
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/datum/looping_sound/grill
|
|
mid_sounds = list('sound/machines/grill/grillsizzle.ogg' = 1)
|
|
mid_length = 18
|
|
volume = 50
|
|
extra_range = SHORT_RANGE_SOUND_EXTRARANGE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/datum/looping_sound/oven
|
|
start_sound = 'sound/machines/oven/oven_loop_start.ogg' //my immersions
|
|
start_length = 12
|
|
mid_sounds = list('sound/machines/oven/oven_loop_mid.ogg' = 1)
|
|
mid_length = 13
|
|
end_sound = 'sound/machines/oven/oven_loop_end.ogg'
|
|
volume = 15
|
|
falloff_distance = 4
|
|
extra_range = SHORT_RANGE_SOUND_EXTRARANGE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/datum/looping_sound/microwave
|
|
start_sound = 'sound/machines/microwave/microwave-start.ogg'
|
|
start_length = 10
|
|
mid_sounds = list('sound/machines/microwave/microwave-mid1.ogg'= 1, 'sound/machines/microwave/microwave-mid2.ogg'= 1)
|
|
mid_length = 10
|
|
end_sound = 'sound/machines/microwave/microwave-end.ogg'
|
|
volume = 30
|
|
extra_range = SHORT_RANGE_SOUND_EXTRARANGE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/datum/looping_sound/server
|
|
mid_sounds = list(
|
|
'sound/machines/tcomms/tcomms_mid1.ogg' = 1,
|
|
'sound/machines/tcomms/tcomms_mid2.ogg' = 1,
|
|
'sound/machines/tcomms/tcomms_mid3.ogg' = 1,
|
|
'sound/machines/tcomms/tcomms_mid4.ogg' = 1,
|
|
'sound/machines/tcomms/tcomms_mid5.ogg' = 1,
|
|
'sound/machines/tcomms/tcomms_mid6.ogg' = 1,
|
|
'sound/machines/tcomms/tcomms_mid7.ogg' = 1
|
|
)
|
|
mid_length = 1.8 SECONDS
|
|
extra_range = MEDIUM_RANGE_SOUND_EXTRARANGE
|
|
ignore_walls = FALSE
|
|
volume = 35
|
|
falloff_exponent = 5
|
|
falloff_distance = 3
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
/datum/looping_sound/computer
|
|
start_sound = 'sound/machines/computer/computer_start.ogg'
|
|
start_length = 7.2 SECONDS
|
|
start_volume = 10
|
|
mid_sounds = list('sound/machines/computer/computer_mid1.ogg' = 1, 'sound/machines/computer/computer_mid2.ogg' = 1)
|
|
mid_length = 1.8 SECONDS
|
|
end_sound = 'sound/machines/computer/computer_end.ogg'
|
|
end_volume = 10
|
|
volume = 1
|
|
extra_range = SILENCED_SOUND_EXTRARANGE
|
|
ignore_walls = FALSE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/datum/looping_sound/gravgen
|
|
mid_sounds = list('sound/machines/gravgen/gravgen_mid1.ogg' = 1, 'sound/machines/gravgen/gravgen_mid2.ogg' = 1, 'sound/machines/gravgen/gravgen_mid3.ogg' = 1, 'sound/machines/gravgen/gravgen_mid4.ogg' = 1)
|
|
mid_length = 1.8 SECONDS
|
|
extra_range = 10
|
|
volume = 70
|
|
ignore_walls = FALSE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/datum/looping_sound/firealarm
|
|
mid_sounds = list('sound/machines/firealarm/FireAlarm1.ogg' = 1,'sound/machines/firealarm/FireAlarm2.ogg' = 1,'sound/machines/firealarm/FireAlarm3.ogg' = 1,'sound/machines/firealarm/FireAlarm4.ogg' = 1)
|
|
mid_length = 2.4 SECONDS
|
|
volume = 75
|
|
ignore_walls = FALSE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/datum/looping_sound/clanking
|
|
mid_sounds = list('sound/machines/clanking.ogg' = 1)
|
|
mid_length = 5 SECONDS
|
|
volume = 75
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// FABRICATORS AND SUBTYPES
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/datum/looping_sound/fabricator
|
|
start_sound = 'sound/machines/fabricators/autolathe/autolathe_start.ogg'
|
|
start_length = 2.67 SECONDS
|
|
mid_sounds = list(
|
|
'sound/machines/fabricators/autolathe/autolathe_mid01.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid02.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid03.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid04.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid05.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid06.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid07.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid08.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid09.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid10.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid11.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid12.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid13.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid14.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid15.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid16.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid17.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid18.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid19.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid20.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid21.ogg' = 1,
|
|
'sound/machines/fabricators/autolathe/autolathe_mid22.ogg' = 1,
|
|
)
|
|
mid_length = 1 SECOND
|
|
end_sound = 'sound/machines/fabricators/autolathe/autolathe_end.ogg'
|
|
each_once = TRUE
|
|
in_order = TRUE
|
|
volume = 30
|
|
extra_range = MEDIUM_RANGE_SOUND_EXTRARANGE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/datum/looping_sound/fabricator/minilathe
|
|
volume = 20
|
|
extra_range = SHORT_RANGE_SOUND_EXTRARANGE
|
|
ignore_walls = FALSE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
/datum/looping_sound/synth_fab
|
|
start_sound = 'sound/machines/synthfab/synthfab_start.ogg'
|
|
start_length = 1 SECOND
|
|
start_volume = 100
|
|
mid_sounds = list('sound/machines/synthfab/synthfab_running.ogg' = 1)
|
|
mid_length = 3 SECONDS
|
|
end_sound = 'sound/machines/synthfab/synthfab_end.ogg'
|
|
volume = 75
|
|
|