mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
[MIRROR] some istype to macros (#9802)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
73486c399b
commit
ed79946ade
@@ -3,7 +3,7 @@
|
||||
/obj/machinery/syndicate_beacon/virgo/attack_hand(var/mob/user as mob)
|
||||
user.set_machine(src)
|
||||
var/dat = "<font color=#005500><i>Scanning [pick("retina pattern", "voice print", "fingerprints", "dna sequence")]...<br>Identity confirmed,<br></i></font>"
|
||||
if(istype(user, /mob/living/carbon/human) || istype(user, /mob/living/silicon/ai))
|
||||
if(ishuman(user) || isAI(user))
|
||||
if(is_special_character(user))
|
||||
dat += "<font color=#07700><i>Operative record found. Greetings, Agent [user.name].</i></font><br>"
|
||||
else if(charges < 1)
|
||||
@@ -30,7 +30,7 @@
|
||||
updateUsrDialog()
|
||||
return
|
||||
charges -= 1
|
||||
if(istype(M, /mob/living/carbon/human))
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/N = M
|
||||
to_chat(N, span_infoplain(span_bold("Access granted, here are the supplies!")))
|
||||
traitors.spawn_uplink(N)
|
||||
|
||||
Reference in New Issue
Block a user