[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

@@ -31,7 +31,7 @@ Controlled by the player_tips subsystem under code/controllers/subsystems/player
if(!M.key && !(M.key in HasReceived))
to_chat(M, span_warning("You have periodic player tips enabled. You may turn them off at any time with the Toggle Receiving Player Tips verb in Preferences, or in character set up under the OOC tab!\n Player tips appear every 45-75 minutes."))
HasReceived.Add(M.key)
tip = GLOB.is_valid_url.Replace(tip,"<span class='linkify'>$1</span>")
tip = GLOB.is_valid_url.Replace(tip,span_linkify("$1"))
to_chat(M, span_notice("[tip]"))
@@ -47,4 +47,4 @@ Controlled by the player_tips subsystem under code/controllers/subsystems/player
if(choice == "cancel")
return
var/static/datum/player_tips/player_tips = new
to_chat(src, span_notice("[GLOB.is_valid_url.Replace(player_tips.pick_tip(choice),"<span class='linkify'>$1</span>")]"))
to_chat(src, span_notice("[GLOB.is_valid_url.Replace(player_tips.pick_tip(choice),span_linkify("$1"))]"))