mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
elementize pet collars (#29209)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user