Admin verbs updated some more:

Give spell, make space ninja, godmode, build mode and gib are no longer verbs. They have been moved to the view variables panel. Attack log was removed as a verb. Please use the view variables panel to see the attack log.
screenshot: http://www.kamletos.si/admin_verbs.PNG

In addition "explosion", "em pulse", "gib", "make space ninja" and "give spell" now have confirmation boxes or the ability to cancel

Okay, so if there are any requests for verbs to be restored (keyboard-admins) please contact me and we'll arrange something.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2237 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-09-20 21:24:07 +00:00
parent c586e285f7
commit 80ed72e1dd
5 changed files with 105 additions and 23 deletions
+15 -6
View File
@@ -562,10 +562,14 @@ Traitors and the like can also be revived with the previous role mostly intact.
src << "Only administrators may use this command."
return
var/devastation = input("Range of total devastation. -1 to none", text("Input")) as num
var/heavy = input("Range of heavy impact. -1 to none", text("Input")) as num
var/light = input("Range of light impact. -1 to none", text("Input")) as num
var/flash = input("Range of flash. -1 to none", text("Input")) as num
var/devastation = input("Range of total devastation. -1 to none", text("Input")) as num|null
if(devastation == null) return
var/heavy = input("Range of heavy impact. -1 to none", text("Input")) as num|null
if(heavy == null) return
var/light = input("Range of light impact. -1 to none", text("Input")) as num|null
if(light == null) return
var/flash = input("Range of flash. -1 to none", text("Input")) as num|null
if(flash == null) return
if ((devastation != -1) || (heavy != -1) || (light != -1) || (flash != -1))
if ((devastation > 20) || (heavy > 20) || (light > 20))
@@ -588,8 +592,10 @@ Traitors and the like can also be revived with the previous role mostly intact.
src << "Only administrators may use this command."
return
var/heavy = input("Range of heavy pulse.", text("Input")) as num
var/light = input("Range of light pulse.", text("Input")) as num
var/heavy = input("Range of heavy pulse.", text("Input")) as num|null
if(heavy == null) return
var/light = input("Range of light pulse.", text("Input")) as num|null
if(light == null) return
if (heavy || light)
@@ -609,6 +615,9 @@ Traitors and the like can also be revived with the previous role mostly intact.
src << "Only administrators may use this command."
return
var/confirm = alert(src, "You sure?", "Confirm", "Yes", "No")
if(confirm != "Yes") return
if(usr.key != M.key && M.client)
log_admin("[key_name(usr)] has gibbed [key_name(M)]")
message_admins("[key_name_admin(usr)] has gibbed [key_name_admin(M)]", 1)