[MIRROR] refactors most spans (#9139)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-04 06:00:17 -07:00
committed by GitHub
parent 43ee646816
commit ab154b48b2
1511 changed files with 12497 additions and 12357 deletions

View File

@@ -39,9 +39,9 @@
add_fingerprint(user)
disable = !disable
if(disable)
user.visible_message("<span class='warning'>[user] has disconnected the [src]'s flashbulb!</span>", "<span class='warning'>You disconnect the [src]'s flashbulb!</span>")
user.visible_message(span_warning("[user] has disconnected the [src]'s flashbulb!"), span_warning("You disconnect the [src]'s flashbulb!"))
if(!disable)
user.visible_message("<span class='warning'>[user] has connected the [src]'s flashbulb!</span>", "<span class='warning'>You connect the [src]'s flashbulb!</span>")
user.visible_message(span_warning("[user] has connected the [src]'s flashbulb!"), span_warning("You connect the [src]'s flashbulb!"))
//Let the AI trigger them directly.
/obj/machinery/flasher/attack_ai()
@@ -122,12 +122,12 @@
anchored = !anchored
if(!anchored)
user.show_message(text("<span class='warning'>[src] can now be moved.</span>"))
user.show_message(span_warning("[src] can now be moved."))
cut_overlays()
unsense_proximity(callback = TYPE_PROC_REF(/atom,HasProximity)) // CHOMPEdit
else if(anchored)
user.show_message(text("<span class='warning'>[src] is now secured.</span>"))
user.show_message(span_warning("[src] is now secured."))
add_overlay("[base_state]-s")
sense_proximity(callback = TYPE_PROC_REF(/atom,HasProximity)) // CHOMPEdit