If I change protection from ebow to check the "rad" protection value instead of "bio", it helps if I add such a value to the armor var in clothing.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1571 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3
2011-05-12 01:31:11 +00:00
parent 550ac659e0
commit 6fe7d049b1
3 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
var/radiation_protection = 0.0 //percentage of radiation it will absorb
var/canremove = 1 //Mostly for Ninja code at this point but basically will not allow the item to be removed if set to 0. /N
var/armor = list(melee = 0, bullet = 0, laser = 0, taser = 0, bomb = 0, bio = 0)
var/armor = list(melee = 0, bullet = 0, laser = 0, taser = 0, bomb = 0, bio = 0, rad = 0)

View File

@@ -17,7 +17,7 @@
name = "bomb hood"
icon_state = "bombsuit"
flags = FPRINT|TABLEPASS|HEADSPACE|HEADCOVERSEYES|HEADCOVERSMOUTH
armor = list(melee = 0, bullet = 0, laser = 0, taser = 0, bomb = 100, bio = 0)
armor = list(melee = 0, bullet = 0, laser = 0, taser = 0, bomb = 100, bio = 0, rad = 0)
/obj/item/clothing/head/bomb_hood/security
icon_state = "bombsuitsec"

View File

@@ -18,7 +18,7 @@
heat_transfer_coefficient = 0.30
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS
slowdown = 2
armor = list(melee = 0, bullet = 0, laser = 0, taser = 0, bomb = 100, bio = 0)
armor = list(melee = 0, bullet = 0, laser = 0, taser = 0, bomb = 100, bio = 0, rad = 0)
/obj/item/clothing/suit/bomb_suit/security
icon_state = "bombsuitsec"
@@ -181,7 +181,7 @@
/obj/item/clothing/suit/armor
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/gun/revolver,/obj/item/weapon/baton,/obj/item/weapon/handcuffs)
armor = list(melee = 80, bullet = 60, laser = 40, taser = 5, bomb = 0, bio = 10)
armor = list(melee = 80, bullet = 60, laser = 40, taser = 5, bomb = 0, bio = 10, rad = 0)
/obj/item/clothing/suit/armor/vest
name = "armor"