mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Adjusted vox and unathi gear to use species instead of mutantrace.
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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 ..()
|
||||||
Reference in New Issue
Block a user