Fixes in wheelchair and different handling of movement

This commit is contained in:
Hubblenaut
2014-07-02 22:42:18 +02:00
parent dfece9fe12
commit 97f997dd30
6 changed files with 57 additions and 24 deletions

View File

@@ -19,6 +19,7 @@
var/emagged = 0
var/powered = 0 //set if vehicle is powered and should use fuel when moving
var/move_delay = 1 //set this to limit the speed of the vehicle
var/movable = 1
var/obj/item/weapon/cell/cell
var/power_use = 5 //set this to adjust the amount of power the vehicle uses per move
@@ -47,7 +48,7 @@
if(on && powered)
cell.use(power_use)
anchored = init_anc
if(load)
load.loc = loc
load.dir = dir
@@ -288,7 +289,7 @@
/obj/vehicle/proc/unload(var/mob/user, var/direction)
if(!load)
return
var/turf/dest = null
//find a turf to unload to