Smooth movement for simple mobs, bots, ventcrawling, singulo, mechs, and motor wheelchairs (#19196)

* Smooth movement for mech eye

* Arguments for ForceMove

* Smooth motor wheelchairs

* Smooth ventcrawling eye

* Singularity uses smooth novement

* Simple mobs and simple bots use smooth movement
This commit is contained in:
I-VAPE-VOX-CLOACA-EVERY-DAY-OF-MY-LIFE
2018-08-08 17:56:36 -03:00
committed by jknpj
parent 38ec408ebe
commit 8d5f78b8b0
30 changed files with 91 additions and 67 deletions

View File

@@ -6,8 +6,9 @@
var/mob/living/M=container.holder
if(COMSIG_MOVE)
if("loc" in args)
walk_to(M, args["loc"], 1, walk_delay)
M.start_walk_to(args["loc"], 1, walk_delay)
if("dir" in args)
M.set_glide_size(DELAY2GLIDESIZE(walk_delay))
walk(M, args["dir"], walk_delay)
/datum/component/controller/movement/astar