mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-25 06:08:00 +01:00
extra behavior
This commit is contained in:
@@ -181,3 +181,14 @@
|
||||
var/mob/living/carbon/human/human_micro = held_mob
|
||||
if(istype(human_micro))
|
||||
. += human_micro.wear_id?.GetAccess()
|
||||
|
||||
/obj/item/clothing/head/mob_holder/micro/GetID()
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
var/obj/item/held = held_mob.get_active_held_item()
|
||||
if(isidcard(held))
|
||||
return held
|
||||
var/mob/living/carbon/human/human_micro = held_mob
|
||||
if(istype(human_micro) && isidcard(human_micro.wear_id))
|
||||
return human_micro.wear_id
|
||||
|
||||
Reference in New Issue
Block a user