Removing species restriction on ninja gear.

This commit is contained in:
Zuhayr
2013-11-23 00:39:00 +10:30
parent b2ca9f9ccb
commit c8c8e9d078
3 changed files with 4 additions and 2 deletions

View File

@@ -22,7 +22,7 @@
if(H.species.name in species_restricted)
wearable = 1
if(!wearable)
if(!wearable || (slot != slot_l_store && slot != slot_r_store))
M << "\red Your species cannot wear [src]."
return 0

View File

@@ -19,6 +19,7 @@
var/candrain = 0
var/mindrain = 200
var/maxdrain = 400
species_restricted = null
/*
This runs the gamut of what ninja gloves can do

View File

@@ -6,7 +6,7 @@
allowed = list(/obj/item/weapon/cell)
armor = list(melee = 60, bullet = 50, laser = 30,energy = 15, bomb = 30, bio = 30, rad = 25)
siemens_coefficient = 0.2
species_restricted = null
/obj/item/clothing/suit/space/space_ninja
name = "ninja suit"
@@ -17,6 +17,7 @@
slowdown = 0
armor = list(melee = 60, bullet = 50, laser = 30,energy = 15, bomb = 30, bio = 30, rad = 30)
siemens_coefficient = 0.2
species_restricted = null //Workaround for spawning alien ninja without internals.
//Important parts of the suit.
var/mob/living/carbon/affecting = null//The wearer.