Class RestockRoute

java.lang.Object
privbot.restock.RestockRoute

public final class RestockRoute extends Object
What a restock trip clicks and how long each step may take: the home spell and where it lands, the restoring object, the bank and its preset action, and the teleport widget's way back. Data only, so a plugin on another server (or with another routine) passes its own; elorin() is the routine proven on Elorin.
  • Field Details

    • homeSpell

      public final String homeSpell
    • homeX

      public final int homeX
    • homeY

      public final int homeY
    • homeRadiusTiles

      public final int homeRadiusTiles
    • fontName

      public final String fontName
    • fontAction

      public final String fontAction
    • bankObjects

      public final List<String> bankObjects
    • bankerNpc

      public final String bankerNpc
    • presetAction

      public final String presetAction
    • bankSearchTiles

      public final int bankSearchTiles
    • teleportWidget

      public final int teleportWidget
    • teleportBackAction

      public final String teleportBackAction
    • homeConfirmMs

      public final int homeConfirmMs
    • fontConfirmMs

      public final int fontConfirmMs
    • presetConfirmMs

      public final int presetConfirmMs
    • returnConfirmMs

      public final int returnConfirmMs
    • spellbookOpenMs

      public final int spellbookOpenMs
  • Method Details

    • elorin

      public static RestockRoute elorin()
      Elorin (live since 2026-09-29): "Home teleport" lands within 12 tiles of (3088,3504); the "Healing font" restores with "Drink-from"; "Last-preset" on a Bank booth / Bank chest (else a Banker) reloads the last preset; "Previous" on the teleport widget 20305 returns to the last teleport destination.
    • withHome

      public RestockRoute withHome(String spell, int x, int y, int radiusTiles)
      The same route with another home landing (a server whose home differs).
    • withReturn

      public RestockRoute withReturn(int widget, String action)
      The same route with another way back (teleport widget and action).
    • atHome

      public boolean atHome(int x, int y)
      Within the home landing; the plane is not compared (the landing's plane differs by how the scene is loaded).