Proposals/Pathfinder wishlist

From Minetest Developer Wiki
Revision as of 22:57, 11 February 2020 by Wuzzy (talk | contribs) (→‎Movement options: describe)
Jump to navigation Jump to search

This is a list of wishes for pathfinder.

Basics

  • Height clearance: Require optional height clearance for tall objects (e.g. can only proceed if 2 nodes height are clear)
    • Important because: Mobs and players rarely are only 1 node high
  • Custom nodes: Select which nodes to consider free (can move through), blocking (can not move through) or walkable (can walk upon)
    • Important because: You want to teach mobs to avoid lava or other nasty blocks

Movement options

These change how the pathfinder can move through the world. They are supposed to be toggable on/off.

  • Fly
  • Swim in liquids
  • Climb in climbable nodes
  • Move diagonally

Movement contraints

Add a couple of options to add rules to constrain movement. These should be toggable on/off.

  • Avoid nodes with damage_per_second > 0
  • Avoid nodes with drowning > 0
  • Avoid liquids
  • Avoid non-liquids
  • Don't jump on or in disable_jump nodes

Other

  • Support nodeboxes (but how?)
  • Time out when search takes too long (with parameter?)

Issues

https://github.com/minetest/minetest/issues/5479