- Office chairs are now unanchored and can be pulled around, even when there is someone on them, making them the perfect prisoner transport vehicle~

- The extinguisher will now tell you when it's empty
- Office chairs and extinguishers.... OH HOW COULD I RESIST. Yes, you can have extinguisher derby races with office chairs :)

(Shame there are currently no office chairs on the map)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3615 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-05-19 00:01:04 +00:00
parent c61ddfd74f
commit db3c2d3771
3 changed files with 34 additions and 1 deletions
+23
View File
@@ -116,6 +116,7 @@
if (!safety)
if (src.reagents.total_volume < 1)
usr << "\red the [src] is empty."
return
if (world.time < src.last_use + 20)
@@ -127,6 +128,28 @@
var/direction = get_dir(src,target)
if(usr.buckled && isobj(usr.buckled) && !usr.buckled.anchored )
spawn(0)
var/obj/B = usr.buckled
var/movementdirection = turn(direction,180)
B.Move(get_step(usr,movementdirection), movementdirection)
sleep(1)
B.Move(get_step(usr,movementdirection), movementdirection)
sleep(1)
B.Move(get_step(usr,movementdirection), movementdirection)
sleep(1)
B.Move(get_step(usr,movementdirection), movementdirection)
sleep(2)
B.Move(get_step(usr,movementdirection), movementdirection)
sleep(2)
B.Move(get_step(usr,movementdirection), movementdirection)
sleep(3)
B.Move(get_step(usr,movementdirection), movementdirection)
sleep(3)
B.Move(get_step(usr,movementdirection), movementdirection)
sleep(3)
B.Move(get_step(usr,movementdirection), movementdirection)
var/turf/T = get_turf(target)
var/turf/T1 = get_step(T,turn(direction, 90))
var/turf/T2 = get_step(T,turn(direction, -90))
+2 -1
View File
@@ -111,7 +111,8 @@
return
/obj/structure/stool/bed/chair/New()
src.verbs -= /atom/movable/verb/pull
if(anchored)
src.verbs -= /atom/movable/verb/pull
if(src.dir == NORTH)
src.layer = FLY_LAYER
..()