mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Adding species helpers (#770)
ishuman_species(jim) will return 1 if jim's a human and 0 if he's a filthy xeno all are the form isTYPE_species()
This commit is contained in:
@@ -4,6 +4,41 @@
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/proc/ishuman_species(A)
|
||||
if(istype(A, /mob/living/carbon/human) && (A:get_species() == "Human"))
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/proc/isunathi(A)
|
||||
if(istype(A, /mob/living/carbon/human) && (A:get_species() == "Unathi"))
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/proc/istajara(A)
|
||||
if(istype(A, /mob/living/carbon/human) && (A:get_species() == "Tajara"))
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/proc/isskrell(A)
|
||||
if(istype(A, /mob/living/carbon/human) && (A:get_species() == "Skrell"))
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/proc/isvaurca(A)
|
||||
if(istype(A, /mob/living/carbon/human) && (A:get_species() == "Vaurca"))
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/proc/isipc(A)
|
||||
if(istype(A, /mob/living/carbon/human) && (A:get_species() == "Machine"))
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/proc/isvox(A)
|
||||
if(istype(A, /mob/living/carbon/human) && (A:get_species() == "Vox"))
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/proc/isalien(A)
|
||||
if(istype(A, /mob/living/carbon/alien))
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user