mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user