mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 06:28:01 +01:00
refactors most spans
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user