Class RestockRoute
java.lang.Object
privbot.restock.RestockRoute
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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanatHome(int x, int y) Within the home landing; the plane is not compared (the landing's plane differs by how the scene is loaded).static RestockRouteelorin()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.The same route with another home landing (a server whose home differs).withReturn(int widget, String action) The same route with another way back (teleport widget and action).
-
Field Details
-
homeSpell
-
homeX
public final int homeX -
homeY
public final int homeY -
homeRadiusTiles
public final int homeRadiusTiles -
fontName
-
fontAction
-
bankObjects
-
bankerNpc
-
presetAction
-
bankSearchTiles
public final int bankSearchTiles -
teleportWidget
public final int teleportWidget -
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
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
The same route with another home landing (a server whose home differs). -
withReturn
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).
-