Adds a neat warden hat. Jobbans now display an appeal link.

This commit is contained in:
Ren Erthilo
2012-04-17 02:53:00 +01:00
parent 93392dcc34
commit 8080b4b688
5 changed files with 11 additions and 10 deletions

View File

@@ -270,7 +270,8 @@ var/global/BSACooldown = 0
message_admins("\blue [key_name_admin(usr)] banned [key_name_admin(M)] from [job]", 1)
jobban_fullban(M, job, reason)
href_list["jobban2"] = 1 // lets it fall through and refresh
if(config.appeal_address)
M << "\red You may try to appeal this at [config.appeal_address]"
if (href_list["boot2"])
if ((src.rank in list( "Moderator", "Temporary Admin", "Admin Candidate", "Trial Admin", "Badmin", "Game Admin", "Game Master" )))
@@ -320,10 +321,10 @@ var/global/BSACooldown = 0
M << "\red<BIG><B>You have been banned by [usr.client.ckey].\nReason: [reason].</B></BIG>"
M << "\red This is a temporary ban, it will be removed in [mins] minutes."
feedback_inc("ban_tmp",1)
if(config.banappeals)
M << "\red To try to resolve this matter head to [config.banappeals]"
if(config.appeal_address)
M << "\red You may try to appeal this at [config.appeal_address]"
else
M << "\red No ban appeals URL has been set."
M << "\red No ban appeal URL has been set."
log_admin("[usr.client.ckey] has banned [M.ckey].\nReason: [reason]\nThis will be removed in [mins] minutes.")
message_admins("\blue[usr.client.ckey] has banned [M.ckey].\nReason: [reason]\nThis will be removed in [mins] minutes.")
@@ -336,10 +337,10 @@ var/global/BSACooldown = 0
AddBan(M.ckey, M.computer_id, reason, usr.ckey, 0, 0)
M << "\red<BIG><B>You have been banned by [usr.client.ckey].\nReason: [reason].</B></BIG>"
M << "\red This is a permanent ban."
if(config.banappeals)
M << "\red To try to resolve this matter head to [config.banappeals]"
if(config.appeal_address)
M << "\red You may try to appeal this at [config.appeal_address]"
else
M << "\red No ban appeals URL has been set."
M << "\red No ban appeal URL has been set."
ban_unban_log_save("[usr.client.ckey] has permabanned [M.ckey]. - Reason: [reason] - This is a permanent ban.")
log_admin("[usr.client.ckey] has banned [M.ckey].\nReason: [reason]\nThis is a permanent ban.")
message_admins("\blue[usr.client.ckey] has banned [M.ckey].\nReason: [reason]\nThis is a permanent ban.")

View File

@@ -11,8 +11,8 @@
/obj/item/clothing/head/helmet/warden
name = "Warden Hat"
desc = "A special helmet issued to the Warden of a securiy force. Protects the head from impacts."
icon_state = "policehelm"
desc = "A special helmet issued to the Warden of a security force. Protects the head from impacts."
icon_state = "wardencap"
flags_inv = 0
/obj/item/clothing/head/helmet/swat

View File

@@ -739,7 +739,7 @@
if (isbanned)
log_access("Failed Login: [src] - Banned")
message_admins("\blue Failed Login: [src] - Banned")
alert(src,"You have been banned.\nReason : [isbanned][config.appeal_address ? "\nYou may appeal this at [config.appeal_address]" : ""]","Ban","Ok")
alert(src,"You have been banned.\nReason : [isbanned][config.appeal_address ? "\nYou may try to appeal this at [config.appeal_address]" : ""]","Ban","Ok")
del(src)
/*