Skip to content

routers

niico edited this page Jan 11, 2018 · 10 revisions

Config

There are 4 routers

  • human: get the first thing around (creature, chest or stop) and go there.
  • stand: stand still, don't move
  • stops: go from stop to stop
  • creatures: go from creature to creature, or stop of no creature around
  • gpx: manual routing through a GPX file

You can also decide to make it follow roads or not (except for gpx which doesn't).
By default the walker follow roads as defined by Google maps. If you set it to false, it will go straight from object to object. It will be less human but more effective.

Default is:

router:
  name: stops
  followroads: true
  prioritizechest: false
  gpx: ''

prioritizechest is for human router only, set it to true to make the walker prioritize chest over stops and creatures.
gpx allows you to define a gpx file that is on the data directory for gpx router

Examples

Human, following roads

Human, not following roads

Stops router, follow roads

Stops router, don't follow roads

Creature router, don't follow roads

Clone this wiki locally