Makes crashing into things possible with extinguisher or harm intent

This commit is contained in:
Hubblenaut
2014-06-03 18:46:52 -04:00
committed by ZomgPonies
parent 2e644b845a
commit 70d96aedde
3 changed files with 117 additions and 41 deletions
@@ -146,8 +146,12 @@
if(usr.buckled && isobj(usr.buckled) && !usr.buckled.anchored )
spawn(0)
var/obj/structure/stool/bed/chair/C = null
if(istype(usr.buckled, /obj/structure/stool/bed/chair))
C = usr.buckled
var/obj/B = usr.buckled
var/movementdirection = turn(direction,180)
if(C) C.propelled = 1
B.Move(get_step(usr,movementdirection), movementdirection)
sleep(1)
B.Move(get_step(usr,movementdirection), movementdirection)
@@ -159,6 +163,7 @@
B.Move(get_step(usr,movementdirection), movementdirection)
sleep(2)
B.Move(get_step(usr,movementdirection), movementdirection)
if(C) C.propelled = 0
sleep(3)
B.Move(get_step(usr,movementdirection), movementdirection)
sleep(3)