Facebook
From Wishy, 3 Months ago, written in Plain Text.
Embed
  1. <Script>Wishy:wSeersOaks:0.1
  2. <Description>Chops Oaks at Seers. Have Axe in Inventory just now.
  3. <Boolean>CanChop:false
  4. <Boolean>NeedToBank:false
  5. <Boolean>HasAxe:false
  6. <Area>OAKTREE:2717,3482,2721,3476,0
  7. <Area>SEERSBANK:2723,3493,2727,3490,0
  8. [0, Inventory, inventoryContainsPartialName, {true}, 1:axe, 3:false, 3:false]
  9. [0, Variables, getBoolean, 1:HasAxe, 3:false]
  10. [0, Variables, editBoolean, 1:HasAxe, 3:true]
  11. [1, Inventory, inventoryContainsPartialName, {false}, 1:axe, 3:false, 3:false]
  12. [1, Variables, getBoolean, 1:HasAxe, 3:true]
  13. [1, Variables, editBoolean, 1:HasAxe, 3:false]
  14. [2, Variables, getBoolean, 1:CanChop, 3:false]
  15. [2, Variables, getBoolean, 1:HasAxe, 3:true]
  16. [2, MyPlayer, areaContainsPlayer, {true}, 1:[OAKTREE]]
  17. [2, Inventory, isFull, {false}]
  18. [2, RS2Object, isExists, {true}, 2:[10820]]
  19. [2, Variables, editBoolean, 1:CanChop, 3:true]
  20. [3, Variables, getBoolean, 1:CanChop, 3:true]
  21. [3, Variables, getBoolean, 1:HasAxe, 3:false]
  22. [3, Variables, addOr]
  23. [3, Variables, getBoolean, 1:CanChop, 3:true]
  24. [3, Variables, getBoolean, 1:HasAxe, 3:false]
  25. [3, MyPlayer, areaContainsPlayer, {false}, 1:[OAKTREE]]
  26. [3, Variables, addOr]
  27. [3, Variables, getBoolean, 1:CanChop, 3:true]
  28. [3, Variables, getBoolean, 1:HasAxe, 3:false]
  29. [3, MyPlayer, areaContainsPlayer, {false}, 1:[OAKTREE]]
  30. [3, Inventory, isFull, {true}]
  31. [3, Variables, addOr]
  32. [3, Variables, getBoolean, 1:CanChop, 3:true]
  33. [3, Variables, getBoolean, 1:HasAxe, 3:false]
  34. [3, MyPlayer, areaContainsPlayer, {false}, 1:[OAKTREE]]
  35. [3, Inventory, isFull, {true}]
  36. [3, RS2Object, isExists, {false}, 2:[10820]]
  37. [3, Variables, editBoolean, 1:CanChop, 3:false]
  38. [4, Variables, getBoolean, 1:NeedToBank, 3:false]
  39. [4, Inventory, isFull, {true}]
  40. [4, Variables, editBoolean, 1:NeedToBank, 3:true]
  41. [5, Variables, getBoolean, 1:NeedToBank, 3:true]
  42. [5, Inventory, isFull, {false}]
  43. [5, Variables, editBoolean, 1:NeedToBank, 3:false]
  44. [6, Variables, getBoolean, 1:HasAxe, 3:true]
  45. [6, Variables, getBoolean, 1:NeedToBank, 3:false]
  46. [6, MyPlayer, areaContainsPlayer, {false}, 1:[OAKTREE]]
  47. [6, WalkTo, walkToArea, 1:OAKTREE, 3:true, 3:false, 3:false, 3:false]
  48. [7, Variables, getBoolean, 1:HasAxe, 3:true]
  49. [7, Variables, getBoolean, 1:NeedToBank, 3:false]
  50. [7, Variables, getBoolean, 1:CanChop, 3:true]
  51. [7, MyPlayer, areaContainsPlayer, {true}, 1:OAKTREE]
  52. [7, RS2Object, interactWithContainingAction, 2:10820, 1:Chop down, 3:true, 3:false, 3:true, 3:false]
  53. [7, Sleeping, sleepAnimating, 2:750, 2:1750]
  54. [8, Variables, getBoolean, 1:NeedToBank, 3:true]
  55. [8, MyPlayer, isAnimating, {false}]
  56. [8, WalkTo, walkToArea, 1:SEERSBANK, 3:true, 3:false, 3:false, 3:false]
  57. [9, MyPlayer, areaContainsPlayer, {true}, 1:[SEERSBANK]]
  58. [9, Variables, getBoolean, 1:NeedToBank, 3:true]
  59. [9, Bank, isOpen, {false}]
  60. [9, Sleeping, sleep, 2:[500]]
  61. [9, Bank, open]
  62. [9, Sleeping, sleep, 2:[500]]
  63. [9, Bank, depositAllX, 1:Oak logs]
  64. [9, Sleeping, sleep, 2:[500]]
  65. [9, Bank, close]