mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Replace all BYOND text macros
This commit is contained in:
@@ -71,11 +71,11 @@
|
||||
|
||||
for(var/obj/O in range(0, src))
|
||||
if(O.density == 1 && O != src && !istype(O, /obj/machinery/door/window)) //Ignores windoors, as those already block climbing, otherwise a windoor on the opposite side of a table would prevent climbing.
|
||||
to_chat(user, "\red You cannot climb [src], as it is blocked by \a [O]!")
|
||||
to_chat(user, "<span class='warning'>You cannot climb [src], as it is blocked by \a [O]!</span>")
|
||||
return
|
||||
for(var/turf/T in range(0, src))
|
||||
if(T.density == 1)
|
||||
to_chat(user, "\red You cannot climb [src], as it is blocked by \a [T]!")
|
||||
to_chat(user, "<span class='warning'>You cannot climb [src], as it is blocked by \a [T]!</span>")
|
||||
return
|
||||
var/turf/T = src.loc
|
||||
if(!T || !istype(T)) return
|
||||
@@ -111,14 +111,14 @@
|
||||
if(M.lying) return //No spamming this on people.
|
||||
|
||||
M.Weaken(5)
|
||||
to_chat(M, "\red You topple as \the [src] moves under you!")
|
||||
to_chat(M, "<span class='warning'>You topple as \the [src] moves under you!</span>")
|
||||
|
||||
if(prob(25))
|
||||
|
||||
var/damage = rand(15,30)
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(!istype(H))
|
||||
to_chat(H, "\red You land heavily!")
|
||||
to_chat(H, "<span class='warning'>You land heavily!</span>")
|
||||
M.adjustBruteLoss(damage)
|
||||
return
|
||||
|
||||
@@ -137,12 +137,12 @@
|
||||
affecting = H.get_organ("head")
|
||||
|
||||
if(affecting)
|
||||
to_chat(M, "\red You land heavily on your [affecting.name]!")
|
||||
to_chat(M, "<span class='warning'>You land heavily on your [affecting.name]!</span>")
|
||||
affecting.take_damage(damage, 0)
|
||||
if(affecting.parent)
|
||||
affecting.parent.add_autopsy_data("Misadventure", damage)
|
||||
else
|
||||
to_chat(H, "\red You land heavily!")
|
||||
to_chat(H, "<span class='warning'>You land heavily!</span>")
|
||||
H.adjustBruteLoss(damage)
|
||||
|
||||
H.UpdateDamageIcon()
|
||||
|
||||
Reference in New Issue
Block a user