Merge branch 'master' into development

This commit is contained in:
skull132
2016-08-25 17:18:13 -04:00
10 changed files with 94 additions and 30 deletions
@@ -24,8 +24,8 @@
wander = 0
health = 10
maxHealth = 10
health = 25
maxHealth = 25
hunger_enabled = 0
attacktext = "shocked"
@@ -212,10 +212,12 @@
if(camera)
camera.status = 0
held_item.loc = src.loc
held_item = null
if (held_item)
held_item.loc = src.loc
held_item = null
gibs(loc, viruses, null, null, /obj/effect/gibspawner/robot) //TODO: use gib() or refactor spiderbots into synthetics.
eject_brain()
gibs(loc, viruses, null, /obj/effect/gibspawner/robot) //TODO: use gib() or refactor spiderbots into synthetics.
qdel(src)
return
+35
View File
@@ -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