elementize pet collars (#29209)

This commit is contained in:
warriorstar-orion
2025-05-07 22:31:17 +00:00
committed by GitHub
parent c74541cf8d
commit 58967ee12e
32 changed files with 255 additions and 167 deletions
+3 -1
View File
@@ -4,6 +4,8 @@
icon_state = "petcollar"
item_color = "petcollar"
var/tagname = null
var/original_name
var/original_real_name
var/obj/item/card/id/access_id
/obj/item/petcollar/Destroy()
@@ -62,7 +64,7 @@
/obj/item/petcollar/process()
var/mob/living/simple_animal/M = loc
// if it wasn't intentionally unequipped but isn't being worn, possibly gibbed
if(istype(M) && src == M.pcollar && M.stat != DEAD)
if(istype(M) && M.stat != DEAD)
return
var/area/pet_death_area = get_area(M)