finish up the spans (#9605)

This commit is contained in:
Kashargul
2024-12-09 22:51:05 +01:00
committed by GitHub
parent 19bc22ddb3
commit fe4b5ec2cb
80 changed files with 359 additions and 361 deletions
+1 -1
View File
@@ -52,7 +52,7 @@
to_chat(user, span_warning("You need more energy to lift weights. Go eat something."))
return
if(user.weight < 70) //CHOMPAdd Begin Add weight loss to old fitness equipment
to_chat(user, "<span class='notice'>You're too skinny to risk losing any more weight!</span>")
to_chat(user, span_notice("You're too skinny to risk losing any more weight!"))
return //CHOMPAdd End
if(being_used)
to_chat(user, span_warning("The weight machine is already in use by somebody else."))
+4 -4
View File
@@ -291,7 +291,7 @@
/obj/structure/simple_door/resin/attack_hand(mob/user as mob)
usr.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if (HULK in usr.mutations)
visible_message("<span class='warning'>[usr] destroys the [name]!</span>")
visible_message(span_warning("[usr] destroys the [name]!"))
hardness = 0
else
@@ -300,16 +300,16 @@
if(user.a_intent == I_HURT)
var/mob/living/carbon/M = usr
if(locate(/obj/item/organ/internal/xenos/hivenode) in M.internal_organs)
visible_message ("<span class='warning'>[usr] strokes the [name] and it melts away!</span>", 1)
visible_message (span_warning("[usr] strokes the [name] and it melts away!"), 1)
hardness = 0
CheckHardness()
return
else
visible_message("<span class='warning'>[usr] tears at the [name]!</span>")
visible_message(span_warning("[usr] tears at the [name]!"))
hardness -= 2
CheckHardness()
return
CheckHardness()
TryToSwitchState(user)
return
// CHOMPedit end.
// CHOMPedit end.
@@ -92,7 +92,7 @@
/obj/structure/bed/nest/attack_hand(mob/user as mob)
usr.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if (HULK in usr.mutations)
visible_message("<span class='warning'>[usr] destroys the [name]!</span>")
visible_message(span_warning("[usr] destroys the [name]!"))
health = 0
else
@@ -101,10 +101,10 @@
if(user.a_intent == I_HURT)
var/mob/living/carbon/M = usr
if(locate(/obj/item/organ/internal/xenos/hivenode) in M.internal_organs)
visible_message ("<span class='warning'>[usr] strokes the [name] and it melts away!</span>", 1)
visible_message (span_warning("[usr] strokes the [name] and it melts away!"), 1)
health = 0
healthcheck()
return
healthcheck()
return
// CHOMPedit end.
// CHOMPedit end.