mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Updating IntelliCard Examine (#6415)
This commit is contained in:
committed by
Werner
parent
ce2cefb585
commit
b720b6cc7b
@@ -10,6 +10,19 @@
|
||||
|
||||
var/mob/living/silicon/ai/carded_ai
|
||||
|
||||
/obj/item/weapon/aicard/examine(mob/user)
|
||||
..()
|
||||
var/message = "Status of [carded_ai] is: "
|
||||
if(!carded_ai)
|
||||
message = "There is no AI loaded to the card."
|
||||
else if(carded_ai.stat == DEAD)
|
||||
message += span("danger", "terminated.")
|
||||
else if(!carded_ai.client)
|
||||
message += span("notice", "active.")
|
||||
else
|
||||
message += span("warning", "inactive.")
|
||||
to_chat(user, message)
|
||||
|
||||
/obj/item/weapon/aicard/attack(mob/living/silicon/decoy/M as mob, mob/user as mob, var/target_zone)
|
||||
if (!istype (M, /mob/living/silicon/decoy))
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user