mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] Makes rigsuits instead use balloon alerts when deploying parts (#11799)
Co-authored-by: Ryumi <ghosttehspychecka@gmail.com>
This commit is contained in:
committed by
GitHub
parent
32cf8b0a70
commit
26752fcc87
@@ -740,7 +740,7 @@
|
|||||||
holder = use_obj.loc
|
holder = use_obj.loc
|
||||||
if(istype(holder))
|
if(istype(holder))
|
||||||
if(use_obj && check_slot == use_obj)
|
if(use_obj && check_slot == use_obj)
|
||||||
to_chat(H, span_boldnotice("Your [use_obj.name] [use_obj.gender == PLURAL ? "retract" : "retracts"] swiftly."))
|
balloon_alert(H, "your [use_obj.name] [use_obj.gender == PLURAL ? "retract" : "retracts"] swiftly.")
|
||||||
playsound(src, 'sound/machines/rig/rigservo.ogg', 10, FALSE)
|
playsound(src, 'sound/machines/rig/rigservo.ogg', 10, FALSE)
|
||||||
use_obj.canremove = TRUE
|
use_obj.canremove = TRUE
|
||||||
holder.drop_from_inventory(use_obj)
|
holder.drop_from_inventory(use_obj)
|
||||||
@@ -759,7 +759,7 @@
|
|||||||
to_chat(H, span_danger("You are unable to deploy \the [piece] as \the [check_slot] [check_slot.gender == PLURAL ? "are" : "is"] in the way."))
|
to_chat(H, span_danger("You are unable to deploy \the [piece] as \the [check_slot] [check_slot.gender == PLURAL ? "are" : "is"] in the way."))
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
to_chat(H, span_notice("Your [use_obj.name] [use_obj.gender == PLURAL ? "deploy" : "deploys"] swiftly."))
|
balloon_alert(H, "your [use_obj.name] [use_obj.gender == PLURAL ? "deploy" : "deploys"] swiftly.")
|
||||||
playsound(src, 'sound/machines/rig/rigservo.ogg', 10, FALSE)
|
playsound(src, 'sound/machines/rig/rigservo.ogg', 10, FALSE)
|
||||||
|
|
||||||
if(piece == "helmet" && helmet?.light_system == STATIC_LIGHT)
|
if(piece == "helmet" && helmet?.light_system == STATIC_LIGHT)
|
||||||
|
|||||||
Reference in New Issue
Block a user