mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-22 20:26:47 +01:00
Replace all modular HTML spans with defines spans
In total: - Adds span defines for `reallybig hypnophrase`, `big warning`, `header` - Fixes a missing apostrophe for hypno stare - Makes a special exception for cuddling.dm, which uses an irregular span - Puts the spans file back
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
set category = "Server"
|
||||
set name = "Toggle Discord Bunker"
|
||||
if(!SSdbcore.IsConnected())
|
||||
to_chat(usr, "<span class='adminnotice'>The Database is not connected/enabled!</span>")
|
||||
to_chat(usr, span_adminnotice("The Database is not connected/enabled!"))
|
||||
return
|
||||
|
||||
var/new_dbun = !CONFIG_GET(flag/need_discord_to_join)
|
||||
@@ -18,13 +18,13 @@
|
||||
set name = "Add Discord Bypass"
|
||||
set desc = "Allows a given ckey to connect through the discord bunker for the round even if they haven't verified yet."
|
||||
if(!SSdbcore.IsConnected())
|
||||
to_chat(usr, "<span class='adminnotice'>The Database is not connected!</span>")
|
||||
to_chat(usr, span_adminnotice("The Database is not connected!"))
|
||||
return
|
||||
if(!SSdiscord)
|
||||
to_chat(usr, "<span class='adminnotice'>The discord subsystem hasn't initialized yet!</span>")
|
||||
to_chat(usr, span_adminnotice("The discord subsystem hasn't initialized yet!"))
|
||||
return
|
||||
if(!CONFIG_GET(flag/need_discord_to_join))
|
||||
to_chat(usr, "<span class='adminnotice'>The Discord Bunker is deactivated!</span>")
|
||||
to_chat(usr, span_adminnotice("The Discord Bunker is deactivated!"))
|
||||
return
|
||||
|
||||
GLOB.discord_passthrough |= ckey(ckeytobypass)
|
||||
@@ -38,13 +38,13 @@
|
||||
set name = "Revoke Discord Bypass"
|
||||
set desc = "Revoke's a ckey's permission to bypass the discord bunker for a given round."
|
||||
if(!SSdbcore.IsConnected())
|
||||
to_chat(usr, "<span class='adminnotice'>The Database is not connected!</span>")
|
||||
to_chat(usr, span_adminnotice("The Database is not connected!"))
|
||||
return
|
||||
if(!SSdiscord)
|
||||
to_chat(usr, "<span class='adminnotice'>The discord subsystem hasn't initialized yet!</span>")
|
||||
to_chat(usr, span_adminnotice("The discord subsystem hasn't initialized yet!"))
|
||||
return
|
||||
if(!CONFIG_GET(flag/need_discord_to_join))
|
||||
to_chat(usr, "<span class='adminnotice'>The Discord Bunker is deactivated!</span>")
|
||||
to_chat(usr, span_adminnotice("The Discord Bunker is deactivated!"))
|
||||
return
|
||||
|
||||
GLOB.discord_passthrough -= ckey(ckeytobypass)
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
|
||||
log_admin("SubtlePM ([sender]): [key_name(usr)] -> [key_name(M)] : [msg]")
|
||||
msg = "<span class='adminnotice'><b> SubtleMessage ([sender]): [key_name_admin(usr)] -> [key_name_admin(M)] :</b> [msg]</span>"
|
||||
msg = span_adminnotice("<b> SubtleMessage ([sender]): [key_name_admin(usr)] -> [key_name_admin(M)] :</b> [msg]")
|
||||
message_admins(msg)
|
||||
admin_ticket_log(M, msg)
|
||||
SSblackbox.record_feedback("tally", "admin_verb", 1, "Subtle Message") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
Reference in New Issue
Block a user