mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-22 04:28:33 +01:00
Fix up critter holes (#19239)
* Fix up critter holes * Fix up critter holes * pai rewrite compat * Update unified_ghost_hole.dm * works fine for me * explicit glow effect --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user