Guest User

Untitled

a guest
Oct 24th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.83 KB | None | 0 0
  1. private final int[] axeIDs = { ID1, ID2, ID3 };
  2. private final int[] treeID = { tree1, tree2, tree3 };
  3. private final int[] treeIDone = {tree1, tree2, tree3 };
  4.  
  5. pathToBank = Walking.newTilePath (new Tile[] {
  6. new Tile(bankTile1, bankTile2), new Tile(bankTile1, bankTile2), new Tile(bankTile1, bankTile2)
  7. });
  8.            
  9. pathToTree = Walking.newTilePath(new Tile[] {
  10. new Tile(bankTile1, bankTile2), new Tile(bankTile1, bankTile2), new Tile(bankTile1, bankTile2)
  11. });
  12.  
  13. if (Game.isLoggedIn()) {
  14. //If the client has logged in, then:
  15. if (Inventory.isfull()) {
  16.     Walking.newTilePath(pathToBank);
  17.     } else {
  18.     if (!Bank.isopen()) {
  19.     bank.open();
  20.     } else {
  21.     //If inventory is full, then walk to the bank
  22.     //If you are already at the bank and the bank isn't open then open it
  23.     //If the bank is open then...
  24.     //If the bank is open then...
  25.     }
  26. }
Add Comment
Please, Sign In to add comment