mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
[MIRROR] Fixes Issues Regarding Finding Spider and Swarmer Spawns (#1905)
* Fixes Issues Regarding Finding Spider and Swarmer Spawns (#55054) This PR fixes the issue where people couldn't teleport to spider egg clusters using the notification. It also adds both the swarmer beacon and spider egg clusters to the ghost orbit menu. This should make it easier to find instances of both in cases where a player might miss the initial notification. * Fixes Issues Regarding Finding Spider and Swarmer Spawns Co-authored-by: IndieanaJones <47086570+IndieanaJones@users.noreply.github.com>
This commit is contained in:
co-authored by
IndieanaJones
parent
a92fdde30e
commit
03d99de80c
@@ -91,11 +91,16 @@
|
||||
pixel_y = base_pixel_y + rand(3,-3)
|
||||
START_PROCESSING(SSobj, src)
|
||||
. = ..()
|
||||
GLOB.poi_list |= src
|
||||
|
||||
/obj/structure/spider/eggcluster/Destroy()
|
||||
. = ..()
|
||||
GLOB.poi_list.Remove(src)
|
||||
|
||||
/obj/structure/spider/eggcluster/process(delta_time)
|
||||
amount_grown += rand(0,1) * delta_time
|
||||
if(amount_grown >= 100 && !ghost_ready)
|
||||
notify_ghosts("[src] is ready to hatch!", null, enter_link="<a href=?src=[REF(src)];activate=1>(Click to play)</a>", source=src, action=NOTIFY_ATTACK, ignore_key = POLL_IGNORE_SPIDER)
|
||||
notify_ghosts("[src] is ready to hatch!", null, enter_link="<a href=?src=[REF(src)];activate=1>(Click to play)</a>", source=src, action=NOTIFY_ORBIT, ignore_key = POLL_IGNORE_SPIDER)
|
||||
ghost_ready = TRUE
|
||||
|
||||
/obj/structure/spider/eggcluster/attack_ghost(mob/user)
|
||||
|
||||
Reference in New Issue
Block a user