mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 12:05:28 +01:00
refactors most spans
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
|
||||
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
|
||||
user.do_attack_animation(src)
|
||||
visible_message("<span class='warning'>\The [src] has been [LAZYLEN(I.attack_verb) ? "[pick(I.attack_verb)]":"attacked"] with \the [I] by [user].</span>")
|
||||
visible_message(span_warning("\The [src] has been [LAZYLEN(I.attack_verb) ? "[pick(I.attack_verb)]":"attacked"] with \the [I] by [user]."))
|
||||
take_damage(I.force)
|
||||
|
||||
/obj/structure/mob_spawner/bullet_act(var/obj/item/projectile/Proj)
|
||||
@@ -87,7 +87,7 @@
|
||||
/obj/structure/mob_spawner/take_damage(var/damage)
|
||||
health -= damage
|
||||
if(health <= 0)
|
||||
visible_message("<span class='warning'>\The [src] breaks apart!</span>")
|
||||
visible_message(span_warning("\The [src] breaks apart!"))
|
||||
qdel(src)
|
||||
|
||||
/obj/structure/mob_spawner/clear_zlevel/can_spawn()
|
||||
|
||||
Reference in New Issue
Block a user