Ghosts can jump to a ghost spawner's spawn point (#16102)

* ghost spawner jump to

* c

* Update vueui/src/components/view/misc/ghostspawner.vue

Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>

---------

Co-authored-by: DreamySkrell <>
Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
This commit is contained in:
DreamySkrell
2023-03-29 18:35:32 +00:00
committed by GitHub
co-authored by SleepyGemmy DreamySkrell <>
parent 06fb7ecb9e
commit 2df585e462
4 changed files with 59 additions and 3 deletions
+4
View File
@@ -182,6 +182,10 @@
return TRUE
return FALSE
//Proc to check if a specific user can jump to this spawner (ghosts should be able to)
/datum/ghostspawner/proc/can_jump_to(mob/user)
return isobserver(user) && loc_type == GS_LOC_POS
/datum/ghostspawner/proc/is_enabled()
if(loc_type == GS_LOC_ATOM)
return enabled && !!length(spawn_atoms)