EOD suits+closets! Two EOD closets in the armory, 1 extra security biohazard closet in the armory, one EOD closet in security, two EOD closets in toxins. EOD suits prevent you from being gibbed at the epicenter of an explosion. You will still die, and your corpse will be flung in a random direction. If you are farther away from the explosion, you will be damaged less than you would if you were not wearing one.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1092 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
uhangi@gmail.com
2011-02-23 02:44:17 +00:00
parent b2c27da1ea
commit 261c570dca
13 changed files with 8116 additions and 8054 deletions
+22 -4
View File
@@ -439,6 +439,9 @@
/mob/living/carbon/human/ex_act(severity)
flick("flash", src.flash)
// /obj/item/clothing/suit/bomb_suit( src )
// /obj/item/clothing/head/bomb_hood( src )
if (src.stat == 2 && src.client)
src.gib(1)
return
@@ -450,6 +453,7 @@
return
var/shielded = 0
for(var/obj/item/device/shield/S in src)
if (S.active)
shielded = 1
@@ -460,8 +464,15 @@
switch (severity)
if (1.0)
b_loss += 500
src.gib(1)
return
if (!istype(src.wear_suit, /obj/item/clothing/suit/bomb_suit))
src.gib(1)
return
else
var/atom/target = get_edge_target_turf(src, get_dir(src, get_step_away(src, src)))
src.throw_at(target, 200, 4)
//return
// var/atom/target = get_edge_target_turf(user, get_dir(src, get_step_away(user, src)))
//user.throw_at(target, 200, 4)
if (2.0)
if (!shielded)
@@ -469,17 +480,23 @@
f_loss += 60
if (istype(src.wear_suit, /obj/item/clothing/suit/bomb_suit))
b_loss = b_loss/1.5
f_loss = f_loss/1.5
if (!istype(src.ears, /obj/item/clothing/ears/earmuffs))
src.ear_damage += 30
src.ear_deaf += 120
if(3.0)
b_loss += 30
if (prob(50) && !shielded)
src.paralysis += 10
if (istype(src.wear_suit, /obj/item/clothing/suit/bomb_suit))
b_loss = b_loss/2
if (!istype(src.ears, /obj/item/clothing/ears/earmuffs))
src.ear_damage += 15
src.ear_deaf += 60
if (prob(50) && !shielded)
src.paralysis += 10
for(var/organ in src.organs)
var/datum/organ/external/temp = src.organs[text("[]", organ)]
@@ -510,6 +527,7 @@
src.UpdateDamageIcon()
/mob/living/carbon/human/blob_act()
if (src.stat == 2)
return