[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:
moxian
2022-06-26 11:32:41 +01:00
committed by GitHub
parent 59b91e7c37
commit 1f39be6cfb
+2 -2
View File
@@ -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))