mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
[GBP no update] Fix the display of the zone being operated on during the surgery (#18087)
* Fix the display of the zone during the surgery * wrecks => rips. Better english
This commit is contained in:
@@ -119,10 +119,10 @@
|
||||
if(S?.voluntary)
|
||||
H.SetSleeping(0) // wake up people who are napping through the surgery
|
||||
if(pain_mod < 0.95)
|
||||
to_chat(H, "<span class='danger'>The surgery on your [target_zone] is agonizingly painful, and wrecks you out of your shallow slumber!</span>")
|
||||
to_chat(H, "<span class='danger'>The surgery on your [parse_zone(target_zone)] is agonizingly painful, and rips you out of your shallow slumber!</span>")
|
||||
else
|
||||
// Still wake people up, but they shouldn't be as alarmed.
|
||||
to_chat(H, "<span class='warning'>The surgery being performed on your [target_zone] wakes you up.</span>")
|
||||
to_chat(H, "<span class='warning'>The surgery being performed on your [parse_zone(target_zone)] wakes you up.</span>")
|
||||
prob_chance *= pain_mod //operating on conscious people is hard.
|
||||
|
||||
if(prob(prob_chance) || isrobot(user))
|
||||
|
||||
Reference in New Issue
Block a user