[MIRROR] Fix up critter holes (#12500)

Co-authored-by: Killian <49700375+KillianKirilenko@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-09 00:49:56 +01:00
committed by GitHub
co-authored by Killian Kashargul
parent de2184e6cc
commit e1002fc8e2
5 changed files with 31 additions and 15 deletions
@@ -5,7 +5,7 @@
icon_state = "rift"
icon_state_opened = "tendril_dead"
density = FALSE
ghost_query_type = /datum/ghost_query/maints_spawner
ghost_query_type = /datum/ghost_query/maints_critter
anchored = TRUE
invisibility = INVISIBILITY_OBSERVER
spawn_active = TRUE
@@ -45,6 +45,7 @@
create_lurker(user)
used = TRUE
icon_state = icon_state_opened
update_icon()
GLOB.active_ghost_pods -= src
/obj/structure/ghost_pod/ghost_activated/unified_hole/proc/create_simplemob(var/mob/M)
@@ -159,6 +160,19 @@
. = ..()
GLOB.active_ghost_pods += src
update_icon()
/obj/structure/ghost_pod/ghost_activated/unified_hole/update_icon()
cut_overlays()
if(used)
return
var/list/glows = list()
glows += mutable_appearance(icon, "rift_glow")
glows += emissive_appearance(icon, "rift_glow")
add_overlay(glows)
/obj/structure/ghost_pod/ghost_activated/unified_hole/Destroy()
GLOB.active_ghost_pods -= src
. = ..()