-Holograms can move around again. I'm also experimenting with them being area based, meaning they can move around an area freely and lose their hologram when they leave the area. I've made it a const option, so change HOLOPAD_MODE to 0 to return it to the old system, which will destroy the hologram when it is out of range of the holopad.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4633 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-09-06 02:33:30 +00:00
parent 46524c533a
commit db2d703f72
4 changed files with 41 additions and 4 deletions

View File

@@ -10,6 +10,7 @@
var/mob/living/silicon/ai/ai = null
density = 0
nodamage = 1 // You can't damage it.
mouse_opacity = 0
// Movement code. Returns 0 to stop air movement from moving it.
/mob/aiEye/Move()
@@ -41,6 +42,11 @@
if(ai)
if(ai.client)
ai.client.eye = src
//Holopad
if(istype(ai.current, /obj/machinery/hologram/holopad))
var/obj/machinery/hologram/holopad/H = ai.current
H.move_hologram()
// AI MOVEMENT