mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
Wizards are no-longer trackable by AI if they are inside their sanctuary.
Removed all the old notes form the map (except for the last one). Rest in piece, HONK! git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1371 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -398,15 +398,13 @@
|
||||
usr.mind.special_verbs += /client/proc/knock
|
||||
src.temp = "This spell opens nearby doors and does not require wizard garb."
|
||||
if ("14")
|
||||
for(var/area/wizard_station/A in world)
|
||||
if(usr in A.contents)
|
||||
src.uses = 5
|
||||
usr.spellremove(usr)
|
||||
src.temp = "All spells have been removed. You may now memorize a new set of spells."
|
||||
break
|
||||
else
|
||||
src.temp = "You may only re-memorize spells whilst located inside the wizard sanctuary."
|
||||
break
|
||||
var/area/wizard_station/A = locate()
|
||||
if(usr in A.contents)
|
||||
src.uses = 5
|
||||
usr.spellremove(usr)
|
||||
src.temp = "All spells have been removed. You may now memorize a new set of spells."
|
||||
else
|
||||
src.temp = "You may only re-memorize spells whilst located inside the wizard sanctuary."
|
||||
else
|
||||
if (href_list["temp"])
|
||||
src.temp = null
|
||||
|
||||
@@ -56,7 +56,10 @@
|
||||
continue
|
||||
if(!istype(M.loc, /turf)) //in a closet or something, AI can't see him anyways
|
||||
continue
|
||||
if(M.invisibility) //cloaked
|
||||
var/area/wizard_station/A = locate()//So that wizards are not tracked by the AI until they leave their sanctuary./N
|
||||
if(M in A.contents)
|
||||
continue
|
||||
if(M.invisibility)//cloaked
|
||||
continue
|
||||
if(istype(M.loc,/obj/dummy))
|
||||
continue
|
||||
|
||||
+5123
-5124
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user