mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Adds sounds to the Electric Loom (#35561)
* adds sounds to the electric loom * adjust volume and range
This commit is contained in:
@@ -268,6 +268,7 @@
|
||||
|
||||
if ((remaining_cloth_to_spin > 0) || (current_production > 0))
|
||||
use_power = MACHINE_POWER_USE_ACTIVE
|
||||
playsound(src, 'sound/machines/electric_loom.ogg', 15, 0, -3)
|
||||
spawn()
|
||||
for (var/i = 1 to (manipulator_rating))
|
||||
if (!process_cloth())
|
||||
@@ -313,6 +314,8 @@
|
||||
else if ((stat & (NOPOWER|FORCEDISABLE)) || !powered())
|
||||
icon_state = "electric_loom_ready"
|
||||
else
|
||||
if (icon_state != "electric_loom_spin")
|
||||
playsound(src, 'sound/machines/electric_loom_start.ogg', 10, 0, -3)
|
||||
icon_state = "electric_loom_spin"
|
||||
luminosity = 2
|
||||
var/image/led = image(icon,src,"electric_loom-lightready")
|
||||
|
||||
BIN
sound/machines/electric_loom.ogg
Normal file
BIN
sound/machines/electric_loom.ogg
Normal file
Binary file not shown.
BIN
sound/machines/electric_loom_start.ogg
Normal file
BIN
sound/machines/electric_loom_start.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user