ID:95969
 
Redundant
Applies to:DM Language
Status: Redundant

This feature has already been implemented, or is already achievable with existing methods.
This is about pathfinding. I've tried the only 3 pathfinding libraries I could find on byond and 2 of them only take into account turfs when finding the path, so objs could still obstruct, and the other one is just plain bugged, the mob following the path gets stuck in certain conditions which happen too frequently for the library to be useful.

So I was thinking maybe it's a good idea for pathfinding to be implemented into the DM Language. And used something like step(src,get_path(src,Target)), get_path() would return the next turf on the path to Target perhaps?

Anyway that should be enough to get my general suggestion. Whether it's a good one or not I don't know.

Either this or someone please make a pathfinding library that isn't bugged.
Not to be mean, but you mention that the 'objs could still obstruct' -- in Theodis' library, I've made my own small change to take this into account, and it wasn't a difficult change, albeit it did take a bit of navigation.

But, I do support this if it is deemed necessary.