Some revisions for removing wizard spells, along with minor mind.dm revisions.

Wizards can no-longer cast when dead.
Fixed issues with Transfer Mind spell.
Wizards now begin with a random name (but can choose a different one).
Wizards may now re-use their spell book to memorize a new set of spells (can only be done on the wizard shuttle).
Added special role for cultists, revs, and nuke operatives for that round type.
Respawn Character special admin verb should now give the target the same mind if they were gibbed/had a mind as a ghost. This means traitors, changelings, etc, would retain their traitor status but not their powers/equipment. General updates to that proc.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@819 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
noisomehollow@lycos.com
2011-01-09 03:39:45 +00:00
parent b890a512ee
commit 28d376664c
12 changed files with 283 additions and 104 deletions

View File

@@ -114,10 +114,6 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
returnval = call(procname)(arglist(lst)) // Pass the lst as an argument list to the proc
usr << "\blue Proc returned: [returnval ? returnval : "null"]"
/client/proc/Cell()
set category = "Debug"
set name = "Air Status in Location"
@@ -153,7 +149,6 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
else
alert("Invalid mob")
/client/proc/cmd_admin_alienize(var/mob/M in world)
set category = "Admin"
set name = "Make Alien"
@@ -195,6 +190,8 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
spawn(10)
M.absorbed_dna[M.real_name] = M.dna
M.make_changeling()
if(M.mind)
M.mind.special_role = "Changeling"
else
alert("Invalid mob")
@@ -214,6 +211,46 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
M.make_abomination()
*/
/client/proc/make_cultist(var/mob/M in world) // -- TLE, modified by Urist
set category = "Admin"
set name = "Make Cultist"
set desc = "Makes target a cultist"
if(!wordtravel)
runerandom()
if(M)
if(cultists.Find(M))
return
else
if(alert("Spawn that person a tome?",,"Yes","No")=="Yes")
M << "\red You catch a glimpse of the Realm of Nar-Sie, The Geometer of Blood. You now see how flimsy the world is, you see that it should be open to the knowledge of Nar-Sie. A tome, a message from your new master, appears on the ground."
new /obj/item/weapon/tome(M.loc)
else
M << "\red You catch a glimpse of the Realm of Nar-Sie, The Geometer of Blood. You now see how flimsy the world is, you see that it should be open to the knowledge of Nar-Sie."
var/glimpse=pick("1","2","3","4","5","6","7","8")
switch(glimpse)
if("1")
M << "\red You remembered one thing from the glimpse... [wordtravel] is travel..."
if("2")
M << "\red You remembered one thing from the glimpse... [wordblood] is blood..."
if("3")
M << "\red You remembered one thing from the glimpse... [wordjoin] is join..."
if("4")
M << "\red You remembered one thing from the glimpse... [wordhell] is Hell..."
if("5")
M << "\red You remembered one thing from the glimpse... [worddestr] is destroy..."
if("6")
M << "\red You remembered one thing from the glimpse... [wordtech] is technology..."
if("7")
M << "\red You remembered one thing from the glimpse... [wordself] is self..."
if("8")
M << "\red You remembered one thing from the glimpse... [wordsee] is see..."
cultists.Add(M)
if(M.mind)
M.mind.special_role = "Cultist"
src << "Made [M] a cultist."
if(ticker.mode.name == "cult")
ticker.mode:cult += M.mind
/client/proc/cmd_debug_del_all()
set category = "Debug"
set name = "Del-All"