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
@@ -31,7 +31,7 @@
organ_tag = O_AUG_L_FOREARM
parent_organ = BP_L_ARM
target_slot = slot_l_hand
to_chat(user, "<span class='notice'>You swap \the [src]'s servos to install neatly into \the lower [parent_organ] mount.</span>")
to_chat(user, span_notice("You swap \the [src]'s servos to install neatly into \the lower [parent_organ] mount."))
return
. = ..()
@@ -76,7 +76,7 @@
organ_tag = O_AUG_L_HAND
parent_organ = BP_L_HAND
target_slot = slot_l_hand
to_chat(user, "<span class='notice'>You swap \the [src]'s servos to install neatly into \the upper [parent_organ] mount.</span>")
to_chat(user, span_notice("You swap \the [src]'s servos to install neatly into \the upper [parent_organ] mount."))
return
. = ..()
@@ -120,7 +120,7 @@
organ_tag = O_AUG_L_UPPERARM
parent_organ = BP_L_ARM
target_slot = slot_l_hand
to_chat(user, "<span class='notice'>You swap \the [src]'s servos to install neatly into \the upper [parent_organ] mount.</span>")
to_chat(user, span_notice("You swap \the [src]'s servos to install neatly into \the upper [parent_organ] mount."))
return
. = ..()
+6 -7
View File
@@ -53,28 +53,28 @@
drop_from_inventory(glasses)
aug.integrated_object.forceMove(aug)
if(!glasses)
to_chat(src, "<span class='alien'>Your [aug.integrated_object] retract into your skull.</span>")
to_chat(src, span_alien("Your [aug.integrated_object] retract into your skull."))
else if(!istype(glasses, /obj/item/clothing/glasses/hud/security/jensenshades))
to_chat(src, "<span class='notice'>\The [glasses] block your shades from deploying.</span>")
to_chat(src, span_notice("\The [glasses] block your shades from deploying."))
else if(istype(glasses, /obj/item/clothing/glasses/hud/security/jensenshades))
var/obj/item/G = glasses
if(G.canremove)
to_chat(src, "<span class='notice'>\The [G] are not your integrated shades.</span>")
to_chat(src, span_notice("\The [G] are not your integrated shades."))
else
drop_from_inventory(G)
to_chat(src, "<span class='notice'>\The [G] retract into your skull.</span>")
to_chat(src, span_notice("\The [G] retract into your skull."))
qdel(G)
else
if(aug && aug.integrated_object)
to_chat(src, "<span class='alien'>Your [aug.integrated_object] deploy.</span>")
to_chat(src, span_alien("Your [aug.integrated_object] deploy."))
equip_to_slot(aug.integrated_object, slot_glasses, 0, 1)
if(!glasses || glasses != aug.integrated_object)
aug.integrated_object.forceMove(aug)
else
var/obj/item/clothing/glasses/hud/security/jensenshades/J = new(get_turf(src))
equip_to_slot(J, slot_glasses, 1, 1)
to_chat(src, "<span class='notice'>Your [aug.integrated_object] deploy.</span>")
to_chat(src, span_notice("Your [aug.integrated_object] deploy."))
/obj/item/organ/internal/augment/bioaugment/sprint_enhance
name = "locomotive optimization implant"
@@ -101,4 +101,3 @@
if(istype(owner, /mob/living/carbon/human))
var/mob/living/carbon/human/H = owner
H.add_modifier(/datum/modifier/sprinting, 1 MINUTES)