Hopefully fixes the handle_regular_status_updates runtime. Also adds option for admins to allow Taj/Sog for a round on the player panel. This needs to be done before spawning!

This commit is contained in:
Erthilo
2012-05-22 22:14:47 +01:00
parent bfc411afeb
commit 8131287d03
2 changed files with 35 additions and 7 deletions
+27
View File
@@ -1267,6 +1267,31 @@ var/global/BSACooldown = 0
else
alert("You cannot perform this action. You must be of a higher administrative rank!")
return
if (href_list["granttaj"])
if (src.level>=5)
var/mob/M = locate(href_list["granttaj"])
for (var/s in alien_whitelist)
if(findtext(s,"[M.ckey] - Tajaran"))
alert("This key is already on the whitelist!", null, null, null, null, null)
return
alien_whitelist += "[M.ckey] - Tajaran"
else
alert("You cannot perform this action. You must be of a higher administrative rank!")
return
if (href_list["grantsog"])
if (src.level>=5)
var/mob/M = locate(href_list["grantsog"])
for (var/s in alien_whitelist)
if(findtext(s,"[M.ckey] - Soghun"))
alert("This key is already on the whitelist!", null, null, null, null, null)
return
alien_whitelist += "[M.ckey] - Soghun"
else
alert("You cannot perform this action. You must be of a higher administrative rank!")
return
/***************** BEFORE**************
if (href_list["l_players"])
@@ -2473,6 +2498,8 @@ var/global/BSACooldown = 0
body += "<A href='?src=\ref[src];tdome2=\ref[M]'>Thunderdome 2</A> | "
body += "<A href='?src=\ref[src];tdomeadmin=\ref[M]'>Thunderdome Admin</A> | "
body += "<A href='?src=\ref[src];tdomeobserve=\ref[M]'>Thunderdome Observer</A> | "
body += "<A href='?src=\ref[src];granttaj=\ref[M]'>Grant Tajaran (Temp)</A> | "
body += "<A href='?src=\ref[src];grantsog=\ref[M]'>Grant Soghun (Temp)</A> | "
body += "<br>"
body += "</body></html>"