Adjusted vox and unathi gear to use species instead of mutantrace.

This commit is contained in:
Zuhayr
2013-08-07 11:13:45 -07:00
parent 0447a8e3e5
commit 79ff22c5dc
2 changed files with 7 additions and 7 deletions

View File

@@ -53,7 +53,7 @@
/obj/item/clothing/mask/breath/vox/mob_can_equip(M as mob, slot) /obj/item/clothing/mask/breath/vox/mob_can_equip(M as mob, slot)
var/mob/living/carbon/human/V = M var/mob/living/carbon/human/V = M
if(V.dna.mutantrace != "vox") if(V.species.name != "Vox")
V << "<span class='warning'>This clearly isn't designed for your species!</span>" V << "<span class='warning'>This clearly isn't designed for your species!</span>"
return 0 return 0

View File

@@ -3,14 +3,14 @@
var/up = 0 //So Unathi helmets play nicely with the weldervision check. var/up = 0 //So Unathi helmets play nicely with the weldervision check.
mob_can_equip(M as mob, slot) mob_can_equip(M as mob, slot)
var/mob/living/carbon/human/U = M var/mob/living/carbon/human/U = M
if(U.dna.mutantrace != "lizard") if(U.species.name != "Unathi")
U << "<span class='warning'>This clearly isn't designed for your species!</span>" U << "<span class='warning'>This clearly isn't designed for your species!</span>"
return 0 return 0
return ..() return ..()
/obj/item/clothing/suit/space/unathi/mob_can_equip(M as mob, slot) /obj/item/clothing/suit/space/unathi/mob_can_equip(M as mob, slot)
var/mob/living/carbon/human/U = M var/mob/living/carbon/human/U = M
if(U.dna.mutantrace != "lizard") if(U.species.name != "Unathi")
U << "<span class='warning'>This clearly isn't designed for your species!</span>" U << "<span class='warning'>This clearly isn't designed for your species!</span>"
return 0 return 0
@@ -79,14 +79,14 @@
/obj/item/clothing/head/helmet/space/vox/mob_can_equip(M as mob, slot) /obj/item/clothing/head/helmet/space/vox/mob_can_equip(M as mob, slot)
var/mob/living/carbon/human/V = M var/mob/living/carbon/human/V = M
if(V.dna.mutantrace != "vox") if(V.species.name != "Vox")
V << "<span class='warning'>This clearly isn't designed for your species!</span>" V << "<span class='warning'>This clearly isn't designed for your species!</span>"
return 0 return 0
return ..() return ..()
/obj/item/clothing/suit/space/vox/mob_can_equip(M as mob, slot) /obj/item/clothing/suit/space/vox/mob_can_equip(M as mob, slot)
var/mob/living/carbon/human/V = M var/mob/living/carbon/human/V = M
if(V.dna.mutantrace != "vox") if(V.species.name != "Vox")
V << "<span class='warning'>This clearly isn't designed for your species!</span>" V << "<span class='warning'>This clearly isn't designed for your species!</span>"
return 0 return 0
@@ -117,7 +117,7 @@
/obj/item/clothing/gloves/yellow/vox/mob_can_equip(M as mob, slot) /obj/item/clothing/gloves/yellow/vox/mob_can_equip(M as mob, slot)
var/mob/living/carbon/human/U = M var/mob/living/carbon/human/U = M
if(U.dna.mutantrace != "vox") if(U.species.name != "Vox")
U << "<span class='warning'>This clearly isn't designed for your species!</span>" U << "<span class='warning'>This clearly isn't designed for your species!</span>"
return 0 return 0
return ..() return ..()
@@ -149,7 +149,7 @@
/obj/item/clothing/shoes/magboots/vox/mob_can_equip(M as mob, slot) /obj/item/clothing/shoes/magboots/vox/mob_can_equip(M as mob, slot)
var/mob/living/carbon/human/U = M var/mob/living/carbon/human/U = M
if(U.dna.mutantrace != "vox") if(U.species.name != "Vox")
U << "<span class='warning'>This clearly isn't designed for your species!</span>" U << "<span class='warning'>This clearly isn't designed for your species!</span>"
return 0 return 0
return ..() return ..()