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 @@ 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"))]"))