moves observe to ghost tab
This commit is contained in:
@@ -489,6 +489,32 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
|||||||
pixel_y = 0
|
pixel_y = 0
|
||||||
animate(src, pixel_y = 2, time = 10, loop = -1)
|
animate(src, pixel_y = 2, time = 10, loop = -1)
|
||||||
|
|
||||||
|
/mob/dead/observer/verb/observe()
|
||||||
|
set name = "Observe"
|
||||||
|
set category = "Ghost"
|
||||||
|
|
||||||
|
var/list/creatures = getpois()
|
||||||
|
|
||||||
|
reset_perspective(null)
|
||||||
|
|
||||||
|
var/eye_name = null
|
||||||
|
|
||||||
|
eye_name = input("Please, select a player!", "Observe", null, null) as null|anything in creatures
|
||||||
|
|
||||||
|
if (!eye_name)
|
||||||
|
return
|
||||||
|
|
||||||
|
var/mob/mob_eye = creatures[eye_name]
|
||||||
|
//Istype so we filter out points of interest that are not mobs
|
||||||
|
if(client && mob_eye && istype(mob_eye))
|
||||||
|
client.eye = mob_eye
|
||||||
|
if(mob_eye.hud_used)
|
||||||
|
client.screen = list()
|
||||||
|
LAZYINITLIST(mob_eye.observers)
|
||||||
|
mob_eye.observers |= src
|
||||||
|
mob_eye.hud_used.show_hud(mob_eye.hud_used.hud_version, src)
|
||||||
|
observetarget = mob_eye
|
||||||
|
|
||||||
/mob/dead/observer/verb/jumptomob() //Moves the ghost instead of just changing the ghosts's eye -Nodrak
|
/mob/dead/observer/verb/jumptomob() //Moves the ghost instead of just changing the ghosts's eye -Nodrak
|
||||||
set category = "Ghost"
|
set category = "Ghost"
|
||||||
set name = "Jump to Mob"
|
set name = "Jump to Mob"
|
||||||
@@ -819,32 +845,6 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
|||||||
client.screen = list()
|
client.screen = list()
|
||||||
hud_used.show_hud(hud_used.hud_version)
|
hud_used.show_hud(hud_used.hud_version)
|
||||||
|
|
||||||
/mob/dead/observer/verb/observe()
|
|
||||||
set name = "Observe"
|
|
||||||
set category = "OOC"
|
|
||||||
|
|
||||||
var/list/creatures = getpois()
|
|
||||||
|
|
||||||
reset_perspective(null)
|
|
||||||
|
|
||||||
var/eye_name = null
|
|
||||||
|
|
||||||
eye_name = input("Please, select a player!", "Observe", null, null) as null|anything in creatures
|
|
||||||
|
|
||||||
if (!eye_name)
|
|
||||||
return
|
|
||||||
|
|
||||||
var/mob/mob_eye = creatures[eye_name]
|
|
||||||
//Istype so we filter out points of interest that are not mobs
|
|
||||||
if(client && mob_eye && istype(mob_eye))
|
|
||||||
client.eye = mob_eye
|
|
||||||
if(mob_eye.hud_used)
|
|
||||||
client.screen = list()
|
|
||||||
LAZYINITLIST(mob_eye.observers)
|
|
||||||
mob_eye.observers |= src
|
|
||||||
mob_eye.hud_used.show_hud(mob_eye.hud_used.hud_version, src)
|
|
||||||
observetarget = mob_eye
|
|
||||||
|
|
||||||
/mob/dead/observer/verb/register_pai_candidate()
|
/mob/dead/observer/verb/register_pai_candidate()
|
||||||
set category = "Ghost"
|
set category = "Ghost"
|
||||||
set name = "pAI Setup"
|
set name = "pAI Setup"
|
||||||
|
|||||||
Reference in New Issue
Block a user