mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Fixes a few broken spans.
This commit is contained in:
@@ -31,8 +31,8 @@
|
||||
var/mob/living/carbon/human/H = M
|
||||
if((H.health <= H.crit_threshold || (user.pulling == H && user.grab_state >= GRAB_NECK) || H.IsSleeping()) && user.zone_selected == BODY_ZONE_HEAD) // Only sleeping, neck grabbed, or crit, can be sliced.
|
||||
if(H.has_status_effect(/datum/status_effect/neck_slice))
|
||||
user.show_message("<span class='warning'>[H]'s neck has already been already cut, you can't make the bleeding any worse!", MSG_VISUAL, \
|
||||
"<span class='warning'>Their neck has already been already cut, you can't make the bleeding any worse!")
|
||||
user.show_message("<span class='warning'>[H]'s neck has already been already cut, you can't make the bleeding any worse!</span>", MSG_VISUAL, \
|
||||
"<span class='warning'>Their neck has already been already cut, you can't make the bleeding any worse!</span>")
|
||||
return COMPONENT_ITEM_NO_ATTACK
|
||||
INVOKE_ASYNC(src, .proc/startNeckSlice, source, H, user)
|
||||
return COMPONENT_ITEM_NO_ATTACK
|
||||
@@ -54,8 +54,8 @@
|
||||
playsound(H.loc, butcher_sound, 50, TRUE, -1)
|
||||
if(do_mob(user, H, CLAMP(500 / source.force, 30, 100)) && H.Adjacent(source))
|
||||
if(H.has_status_effect(/datum/status_effect/neck_slice))
|
||||
user.show_message("<span class='warning'>[H]'s neck has already been already cut, you can't make the bleeding any worse!", MSG_VISUAL, \
|
||||
"<span class='warning'>Their neck has already been already cut, you can't make the bleeding any worse!")
|
||||
user.show_message("<span class='warning'>[H]'s neck has already been already cut, you can't make the bleeding any worse!</span>", MSG_VISUAL, \
|
||||
"<span class='warning'>Their neck has already been already cut, you can't make the bleeding any worse!</span>")
|
||||
return
|
||||
|
||||
H.visible_message("<span class='danger'>[user] slits [H]'s throat!</span>", \
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
RegisterSignal(parent, COMSIG_ADD_MOOD_EVENT_RND, .proc/add_event) //Mood events that are only for RnD members
|
||||
|
||||
/datum/component/mood/proc/print_mood(mob/user)
|
||||
var/msg = "<span class='info'>*---------*\n<EM>Your current mood</EM>\n"
|
||||
var/msg = "<span class='info'>*---------*\n<EM>Your current mood</EM></span>\n"
|
||||
msg += "<span class='notice'>My mental status: </span>" //Long term
|
||||
switch(sanity)
|
||||
if(SANITY_GREAT to INFINITY)
|
||||
|
||||
@@ -160,7 +160,7 @@
|
||||
to_chat(A, "<span class='danger'>You [picked_hit_type] [D]!</span>")
|
||||
log_combat(A, D, "[picked_hit_type]s (CQC)")
|
||||
if(A.resting && !D.stat && !D.IsParalyzed())
|
||||
D.visible_message("<span class='danger'>[A] leg sweeps [D]!", \
|
||||
D.visible_message("<span class='danger'>[A] leg sweeps [D]!</span>", \
|
||||
"<span class='userdanger'>Your legs are sweeped by [A]!</span>", "<span class='hear'>You hear a sickening sound of flesh hitting flesh!</span>", null, A)
|
||||
to_chat(A, "<span class='danger'>You leg sweep [D]!</span>")
|
||||
playsound(get_turf(A), 'sound/effects/hit_kick.ogg', 50, TRUE, -1)
|
||||
|
||||
@@ -508,7 +508,7 @@
|
||||
if(..())
|
||||
return
|
||||
if(!processed_reagents.len || reagents.total_volume >= reagents.maximum_volume || !chassis.has_charge(energy_drain))
|
||||
occupant_message("<span class=\"alert\">Reagent processing stopped.</a>")
|
||||
occupant_message("<span class='alert'>Reagent processing stopped.</span>")
|
||||
log_message("Reagent processing stopped.", LOG_MECHA)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
return
|
||||
|
||||
@@ -293,7 +293,7 @@ GENE SCANNER
|
||||
max_damage += ", " //prelude the organ if we've already reported an organ
|
||||
max_damage += organ.name //this just slaps the organ name into the string of text
|
||||
else
|
||||
max_damage = "\t<span class='alert'>Non-Functional Organs: " //our initial statement
|
||||
max_damage = "\t<span class='alert'>Non-Functional Organs: </span>" //our initial statement
|
||||
max_damage += organ.name
|
||||
else if(organ.damage > organ.high_threshold)
|
||||
report_organs = TRUE
|
||||
@@ -301,7 +301,7 @@ GENE SCANNER
|
||||
major_damage += ", "
|
||||
major_damage += organ.name
|
||||
else
|
||||
major_damage = "\t<span class='info'>Severely Damaged Organs: "
|
||||
major_damage = "\t<span class='info'>Severely Damaged Organs: </span>"
|
||||
major_damage += organ.name
|
||||
else if(organ.damage > organ.low_threshold)
|
||||
report_organs = TRUE
|
||||
@@ -309,7 +309,7 @@ GENE SCANNER
|
||||
minor_damage += ", "
|
||||
minor_damage += organ.name
|
||||
else
|
||||
minor_damage = "\t<span class='info'>Mildly Damaged Organs: "
|
||||
minor_damage = "\t<span class='info'>Mildly Damaged Organs: </span>"
|
||||
minor_damage += organ.name
|
||||
|
||||
if(report_organs) //we either finish the list, or set it to be empty if no organs were reported in that category
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
"<span class='userdanger'>[user] is trying to inject you with [src]!</span>")
|
||||
if(!do_mob(user, target) || used)
|
||||
return
|
||||
target.visible_message("<span class='danger'>[user] injects [target] with the syringe with [src]!", \
|
||||
target.visible_message("<span class='danger'>[user] injects [target] with the syringe with [src]!</span>", \
|
||||
"<span class='userdanger'>[user] injects you with the syringe with [src]!</span>")
|
||||
|
||||
else
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
to_chat(user, "<span class='warning'>The [P.name] isn't strong enough!</span>")
|
||||
return
|
||||
if(activated)
|
||||
to_chat(user, "<span class'warning'>The [name] is already active!")
|
||||
to_chat(user, "<span class'warning'>The [name] is already active!</span>")
|
||||
return
|
||||
|
||||
to_chat(user, "<span class='notice'>You start vigorously plunging [src]!</span>")
|
||||
|
||||
@@ -164,7 +164,7 @@
|
||||
|
||||
user.visible_message("<span class='notice'>[user] starts to weld apart [src]!</span>", "<span class='notice'>You start welding apart [src].</span>")
|
||||
if(!I.use_tool(src, user, 60, 5, 50))
|
||||
to_chat(user, "<span class='warning'>You failed to weld apart [src]!/span>")
|
||||
to_chat(user, "<span class='warning'>You failed to weld apart [src]!</span>")
|
||||
return
|
||||
|
||||
user.visible_message("<span class='notice'>[user] welded [src] into pieces!</span>", "<span class='notice'>You welded apart [src]!</span>")
|
||||
@@ -178,7 +178,7 @@
|
||||
|
||||
user.visible_message("<span class='notice'>[user] starts to pry apart [src]!</span>", "<span class='notice'>You start prying apart [src].</span>")
|
||||
if(!I.use_tool(src, user, 60, volume = 50))
|
||||
to_chat(user, "<span class='warning'>You failed to pry apart [src]!/span>")
|
||||
to_chat(user, "<span class='warning'>You failed to pry apart [src]!</span>")
|
||||
return
|
||||
|
||||
user.visible_message("<span class='notice'>[user] pried [src] into pieces!</span>", "<span class='notice'>You pried apart [src]!</span>")
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
/mob/living/simple_animal/hostile/alien/maid/AttackingTarget()
|
||||
if(ismovableatom(target))
|
||||
if(istype(target, /obj/effect/decal/cleanable))
|
||||
visible_message("<span class='notice'>[src] cleans up \the [target].")
|
||||
visible_message("<span class='notice'>[src] cleans up \the [target].</span>")
|
||||
qdel(target)
|
||||
return TRUE
|
||||
var/atom/movable/M = target
|
||||
|
||||
@@ -137,7 +137,7 @@
|
||||
return
|
||||
if(L.reagents.total_volume >= L.reagents.maximum_volume)
|
||||
return
|
||||
L.visible_message("<span class='danger'>[user] injects [L] with the syringe!", \
|
||||
L.visible_message("<span class='danger'>[user] injects [L] with the syringe!</span>", \
|
||||
"<span class='userdanger'>[user] injects you with the syringe!</span>")
|
||||
|
||||
if(L != user)
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
if(how_many_arms < arms_required)
|
||||
if(fall_off_if_missing_arms)
|
||||
unbuckle_mob(user, TRUE)
|
||||
user.visible_message("<span class='danger'>[user] falls off \the [src].",\
|
||||
user.visible_message("<span class='danger'>[user] falls off \the [src].</span>",\
|
||||
"<span class='danger'>You fall off \the [src] while trying to operate it without [arms_required ? "both arms":"an arm"]!</span>")
|
||||
if(isliving(user))
|
||||
var/mob/living/L = user
|
||||
|
||||
Reference in New Issue
Block a user