Skip to content

Commit

Permalink
clean up and simplify, thanks @RemieRichards
Browse files Browse the repository at this point in the history
  • Loading branch information
feemjmeem committed Oct 11, 2015
1 parent b6ae6f6 commit 811a4dd
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions code/game/objects/items/weapons/tanks/tanks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,16 @@
user.visible_message("<span class='suicide'>[user] is putting the [src]'s valve to their lips! I don't think they're gonna stop!</span>")
playsound(loc, 'sound/effects/spray.ogg', 10, 1, -3)
if (H && !qdeleted(H))
for(var/obj/item/W in (H.contents))
spawn(0)
for(var/obj/item/W in H)
H.unEquip(W)
if (H.client)
H.client.screen -= W
if (W)
W.loc = H.loc
W.dropped(H)
if(prob(50))
step(W, pick(alldirs))
if(prob(50))
step(W, pick(alldirs))
H.hair_style = "Bald"
H.update_hair()
H.blood_max = 5
gibs(H.loc, H.viruses, H.dna)
H.adjustBruteLoss(9001) //to make the body super-bloody
H.adjustBruteLoss(1000) //to make the body super-bloody

return (BRUTELOSS)

Expand Down

0 comments on commit 811a4dd

Please sign in to comment.