ID:2860404
 
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
We need a way to specify that a movement should be a jump or a slide. Currently, the way to do that is setting the step_size of movables, but this has side effects that are not always easily apparent.

movable.Step() should force a slide, and take the following forms:

Step(NewLoc,Dir,step_x,step_y) //explicit format
Step(coord,Dir) //coord format
Step(vector2,Dir) //vector2 format (z preserved)
Step(dir,Dir,dist=step_size) //directional format
Step(ang,Dir,dist=step_size) //angular format

movable.Relocate() should force a jump, and take the same argument forms as above.


See my megathread in Design Philosophy:

https://www.byond.com/forum/post/2860395