mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
-AI Eye won't show up in pull, examine or point to popout menus.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4549 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -14,6 +14,22 @@
|
|||||||
/mob/aiEye/Move()
|
/mob/aiEye/Move()
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
// Hide popout menu verbs
|
||||||
|
/mob/aiEye/examine()
|
||||||
|
set popup_menu = 0
|
||||||
|
set src = usr.contents
|
||||||
|
return 0
|
||||||
|
|
||||||
|
/mob/aiEye/pull()
|
||||||
|
set popup_menu = 0
|
||||||
|
set src = usr.contents
|
||||||
|
return 0
|
||||||
|
|
||||||
|
/mob/aiEye/point()
|
||||||
|
set popup_menu = 0
|
||||||
|
set src = usr.contents
|
||||||
|
return 0
|
||||||
|
|
||||||
// Use this when setting the aiEye's location.
|
// Use this when setting the aiEye's location.
|
||||||
// It will also stream the chunk that the new loc is in.
|
// It will also stream the chunk that the new loc is in.
|
||||||
|
|
||||||
@@ -29,7 +45,6 @@
|
|||||||
/mob/living/silicon/ai/var/mob/aiEye/eyeobj = new()
|
/mob/living/silicon/ai/var/mob/aiEye/eyeobj = new()
|
||||||
|
|
||||||
// Intiliaze the eye by assigning it's "ai" variable to us. Then set it's loc to us.
|
// Intiliaze the eye by assigning it's "ai" variable to us. Then set it's loc to us.
|
||||||
|
|
||||||
/mob/living/silicon/ai/New()
|
/mob/living/silicon/ai/New()
|
||||||
..()
|
..()
|
||||||
eyeobj.ai = src
|
eyeobj.ai = src
|
||||||
|
|||||||
Reference in New Issue
Block a user