mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +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
@@ -173,7 +173,7 @@
|
||||
return
|
||||
if (istype(O, /obj/item/grab) && get_dist(src,user)<2)
|
||||
var/obj/item/grab/G = O
|
||||
if(istype(G.affecting,/mob/living))
|
||||
if(isliving(G.affecting))
|
||||
var/mob/living/M = G.affecting
|
||||
qdel(O)
|
||||
go_in(M)
|
||||
@@ -252,7 +252,7 @@
|
||||
if(occupant)
|
||||
return
|
||||
|
||||
if(istype(L, /mob/living/silicon/robot))
|
||||
if(isrobot(L))
|
||||
var/mob/living/silicon/robot/R = L
|
||||
|
||||
if(R.incapacitated())
|
||||
@@ -273,7 +273,7 @@
|
||||
return 1
|
||||
|
||||
//VOREStation Add Start
|
||||
else if(istype(L, /mob/living/silicon/pai))
|
||||
else if(ispAI(L))
|
||||
var/mob/living/silicon/pai/P = L
|
||||
|
||||
if(P.incapacitated())
|
||||
|
||||
Reference in New Issue
Block a user