refactors most spans

This commit is contained in:
Kashargul
2024-10-02 21:10:31 +02:00
parent 5417c7772c
commit a2c673ab7a
1517 changed files with 12436 additions and 12347 deletions
+4 -4
View File
@@ -48,11 +48,11 @@
pred.loc = fallloc
if(!safe_fall)
pred.Weaken(8)
pred.visible_message("<span class='vdanger'>\The [pred] falls right onto \the [prey]!</span>")
pred.visible_message(span_vdanger("\The [pred] falls right onto \the [prey]!"))
else if(prey.vore_selected && prey.can_be_drop_pred && pred.can_be_drop_prey && pred.drop_vore && prey.drop_vore)
prey.feed_grabbed_to_self_falling_nom(prey,pred)
prey.Weaken(4)
prey.visible_message("<span class='vdanger'>\The [pred] falls right into \the [prey]!</span>")
prey.visible_message(span_vdanger("\The [pred] falls right into \the [prey]!"))
else
pred.loc = prey.loc
if(!safe_fall)
@@ -66,9 +66,9 @@
prey.adjustBruteLoss(tdamage)
pred.updatehealth()
prey.updatehealth()
pred.visible_message("<span class='danger'>\The [pred] falls onto \the [prey]!</span>")
pred.visible_message(span_danger("\The [pred] falls onto \the [prey]!"))
else
pred.visible_message("<span class='notice'>\The [pred] safely brushes past \the [prey] as they land.</span>")
pred.visible_message(span_notice("\The [pred] safely brushes past \the [prey] as they land."))
return 1
/mob/observer/dead/CheckFall()