AIs in intellicards will not be able to move their camera anymore. Limiting them to their own core vision.

Committing Zelack's cleanup and fixes from here:
http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=11056

Plantbags now correctly pick up plants from trays.
Using a hoe or injecting reagents updates the tray icon.
Plant Analysers now work on seed bags.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5173 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-11-23 23:01:04 +00:00
parent 073737a773
commit 43e06e4ebb
4 changed files with 454 additions and 436 deletions
@@ -36,10 +36,13 @@
// It will also stream the chunk that the new loc is in.
/mob/aiEye/proc/setLoc(var/T)
T = get_turf(T)
loc = T
cameranet.visibility(src)
if(ai)
if(!isturf(ai.loc))
return
T = get_turf(T)
loc = T
cameranet.visibility(src)
if(ai.client)
ai.client.eye = src
//Holopad
@@ -114,7 +117,6 @@
user.sprint = initial
user.cameraFollow = null
src.eye = user.eyeobj
//user.unset_machine() //Uncomment this if it causes problems.
//user.lightNearbyCamera()