mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-27 02:23:10 +00:00
Ports Bastion of Hestia rig sounds
This commit is contained in:
@@ -283,6 +283,7 @@
|
||||
|
||||
if(!seal_target && !suit_is_deployed())
|
||||
M.visible_message("<span class='danger'>[M]'s suit flashes an error light.</span>","<span class='danger'>Your suit flashes an error light. It can't function properly without being fully deployed.</span>")
|
||||
playsound(src, 'sound/machines/rig/rigerror.ogg', 20, FALSE)
|
||||
failed_to_seal = 1
|
||||
|
||||
if(!failed_to_seal)
|
||||
@@ -292,6 +293,7 @@
|
||||
if(seal_delay && !do_after(M,seal_delay))
|
||||
if(M)
|
||||
to_chat(M, "<span class='warning'>You must remain still while the suit is adjusting the components.</span>")
|
||||
playsound(src, 'sound/machines/rig/rigerror.ogg', 20, FALSE)
|
||||
failed_to_seal = 1
|
||||
if(!M)
|
||||
failed_to_seal = 1
|
||||
@@ -339,6 +341,7 @@
|
||||
piece.armor["bio"] = 100
|
||||
else
|
||||
piece.armor["bio"] = src.armor["bio"]
|
||||
playsound(src, "[!seal_target ? 'sound/machines/BoltsDown.ogg' : 'sound/machines/BoltsUp.ogg']", 10, FALSE)
|
||||
|
||||
else
|
||||
failed_to_seal = 1
|
||||
@@ -370,6 +373,7 @@
|
||||
else
|
||||
minihud = new (M.hud_used, src)
|
||||
to_chat(M, "<span class='notice'><b>Your entire suit [canremove ? "loosens as the components relax" : "tightens around you as the components lock into place"].</b></span>")
|
||||
playsound(src, 'sound/machines/rig/rigstarted.ogg', 10, FALSE)
|
||||
M.client.screen -= booting_L
|
||||
qdel(booting_L)
|
||||
booting_R.icon_state = "boot_done"
|
||||
@@ -492,7 +496,7 @@
|
||||
wearer.wearing_rig = null
|
||||
wearer = null
|
||||
return PROCESS_KILL
|
||||
|
||||
|
||||
// Run through cooling
|
||||
coolingProcess()
|
||||
|
||||
@@ -507,6 +511,7 @@
|
||||
to_chat(wearer, "<span class='danger'>Your suit beeps stridently, and suddenly goes dead.</span>")
|
||||
else
|
||||
to_chat(wearer, "<span class='danger'>Your suit beeps stridently, and suddenly you're wearing a leaden mass of metal and plastic composites instead of a powered suit.</span>")
|
||||
playsound(src, 'sound/machines/rig/rigdown.ogg', 60, FALSE)
|
||||
if(offline_vision_restriction == 1)
|
||||
to_chat(wearer, "<span class='danger'>The suit optics flicker and die, leaving you with restricted vision.</span>")
|
||||
else if(offline_vision_restriction == 2)
|
||||
@@ -564,6 +569,7 @@
|
||||
|
||||
if(fail_msg)
|
||||
to_chat(user, fail_msg)
|
||||
playsound(src, 'sound/machines/rig/rigerror.ogg', 20, FALSE)
|
||||
return 0
|
||||
|
||||
// This is largely for cancelling stealth and whatever.
|
||||
@@ -813,6 +819,7 @@
|
||||
if(istype(holder))
|
||||
if(use_obj && check_slot == use_obj)
|
||||
to_chat(H, "<span class='notice'><b>Your [use_obj.name] [use_obj.gender == PLURAL ? "retract" : "retracts"] swiftly.</b></span>")
|
||||
playsound(src, 'sound/machines/BoltsUp.ogg', 10, FALSE)
|
||||
use_obj.canremove = 1
|
||||
holder.drop_from_inventory(use_obj)
|
||||
use_obj.forceMove(get_turf(src))
|
||||
@@ -831,6 +838,7 @@
|
||||
return
|
||||
else
|
||||
to_chat(H, "<span class='notice'>Your [use_obj.name] [use_obj.gender == PLURAL ? "deploy" : "deploys"] swiftly.</span>")
|
||||
playsound(src, 'sound/machines/BoltsDown.ogg', 10, FALSE)
|
||||
|
||||
if(piece == "helmet" && helmet)
|
||||
helmet.update_light(H)
|
||||
|
||||
Reference in New Issue
Block a user