Added powerful objectives editing tool for admins.

Maximum temperature raise because of running for fat people is now limited.
Some code cleanups.
Added fuel canister with sprites (needs to be fixed, just like the bucket)
Added magboots inhand sprites.
Removed obsolete "fullness.dmi"

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@589 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
Rygzengrho
2010-12-11 01:53:25 +00:00
parent 0ee4ebf88c
commit 222fd009e0
14 changed files with 491 additions and 9 deletions
+16 -1
View File
@@ -219,7 +219,7 @@ var/showadminmessages = 1
message_admins("\blue[usr.client.ckey] has banned [M.ckey].\nReason: [reason]\nThis will be removed in [mins] minutes.")
del(M.client)
//del(M) // See not reason why to delete mob. Important stuff can be lost. And ban can be lifted before round ends.
//del(M) // See no reason why to delete mob. Important stuff can be lost. And ban can be lifted before round ends.
if("No")
var/reason = input(usr,"Reason?","reason","Griefer") as text
if(!reason)
@@ -670,6 +670,11 @@ var/showadminmessages = 1
return
var/mob/M = locate(href_list["traitor"])
var/datum/game_mode/current_mode = ticker.mode
if (istype(M, /mob/living/carbon/human) && M:mind)
M:mind.edit_memory()
return
switch(current_mode.config_tag)
if("revolution")
if(M.mind in current_mode:head_revolutionaries)
@@ -2170,6 +2175,16 @@ var/showadminmessages = 1
alert("You cannot perform this action. You must be of a higher administrative rank!", null, null, null, null, null)
return
/obj/admins/proc/edit_memory(var/mob/M in world)
set category = "Special Verbs"
set desc = "Edit traitor's objectives"
set name = "Traitor Objectives"
if (!M.mind)
usr << "Sorry, this mob have no mind!"
M.mind.edit_memory()
//
//
//ALL DONE
+6
View File
@@ -116,6 +116,7 @@
src.verbs += /proc/release
src.verbs += /proc/togglebuildmode
src.verbs += /proc/toggle_adminmsg
src.verbs += /obj/admins/proc/edit_memory
// src.verbs += /client/proc/grillify
// src.verbs += /client/proc/cmd_admin_list_admins
@@ -214,6 +215,7 @@
src.verbs += /proc/release
src.verbs += /proc/togglebuildmode
src.verbs += /proc/toggle_adminmsg
src.verbs += /obj/admins/proc/edit_memory
// src.verbs += /obj/admins/proc/togglegoonsay
// src.verbs += /client/proc/grillify
@@ -367,6 +369,7 @@
src.verbs += /client/proc/cmd_admin_create_centcom_report
src.verbs += /client/proc/cmd_admin_subtle_message
src.verbs += /client/proc/warn
src.verbs += /obj/admins/proc/edit_memory
if ("Administrator")
@@ -416,6 +419,7 @@
src.verbs += /client/proc/admin_call_shuttle // -- Skie
src.verbs += /client/proc/admin_cancel_shuttle // -- Skie
src.verbs += /obj/admins/proc/edit_memory
if ("Secondary Administrator")
src.holder.level = 1
@@ -452,6 +456,7 @@
src.verbs += /client/proc/cmd_admin_create_centcom_report
src.verbs += /client/proc/cmd_admin_subtle_message
src.verbs += /client/proc/warn
src.verbs += /obj/admins/proc/edit_memory
if ("Moderator")
src.holder.level = 0
@@ -588,6 +593,7 @@
src.verbs -= /client/proc/toggle_view_range
src.verbs -= /obj/admins/proc/toggle_aliens
src.verbs -= /obj/admins/proc/edit_memory
if(src.holder)
src.holder.level = 0