Merge pull request #7354 from Neerti/status_indicators

Implements Status Indicators
This commit is contained in:
Atermonera
2020-07-30 12:29:46 -07:00
committed by GitHub
39 changed files with 288 additions and 76 deletions
+2 -2
View File
@@ -1465,12 +1465,12 @@ proc/admin_notice(var/message, var/rights)
if(check_rights(R_ADMIN|R_MOD|R_EVENT))
if (H.paralysis == 0)
H.paralysis = 8000
H.SetParalysis(8000)
msg = "has paralyzed [key_name(H)]."
log_and_message_admins(msg)
else
if(alert(src, "[key_name(H)] is paralyzed, would you like to unparalyze them?",,"Yes","No") == "Yes")
H.paralysis = 0
H.SetParalysis(0)
msg = "has unparalyzed [key_name(H)]."
log_and_message_admins(msg)