Guest User

Untitled

a guest
Jun 24th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. function checkAeon()
  2.  
  3. if aff.aeon == 1 and setting.paused == 0 and aff.retardation == 0 and setting.healingaeon == 0 then
  4. setting.checkaeon = 0
  5. aeonTimer = tempTimer( 1.5, [[ if setting.healingaeon ~= 0 then
  6. setting.healingaeon = 0
  7. setting.checkaeon = 1
  8. checkPrompt()
  9. if aff.head >= 1 then
  10. checkPrompt()
  11. end
  12. end ]])
  13. if aff.asthma == 0 and aff.asleep == 0 and aff.head == 0 and tonumber(pipe.elmpuffs) > 0 then
  14. setting.healingaeon = 2
  15. smoke("elm")
  16. elseif pipe.elmpuffs == 0 and haveOutrifted("elm") == 0 then
  17. setting.healingaeon = 5
  18. if have.useMinerals then
  19. send("outr cinnabar")
  20. else
  21. send("outr elm")
  22. end
  23. elseif pipe.elmpuffs == 0 and haveOutrifted("elm") ~= 0 then
  24. setting.healingaeon = 9
  25. pipe.elmfilling = 1
  26. if have.useMinerals then
  27. send("put cinnabar in " ..pipe.elm)
  28. else
  29. send("put elm in " ..pipe.elm)
  30. end
  31. elseif aff.asleep == 1 and aff.aeon == 1 and setting.waking == 0 and tonumber(aff.head) > 0 then
  32. setting.healingaeon = 3
  33. send("wake")
  34. send("wake")
  35. elseif aff.asleep == 1 and aff.aeon == 1 and setting.waking == 0 and aff.head == 0 then
  36. setting.healingaeon = 3
  37. send("wake")
  38. send("wake")
  39. elseif aff.aeon == 1 and tonumber(aff.head) > 0 and aff.slickness == 0 and aff.asthma == 1 and aff.anorexia == 1 then
  40. setting.healingaeon = 12
  41. apply("epidermal", "body")
  42. apply("epidermal", "body")
  43. elseif aff.aeon == 1 and tonumber(aff.head) > 0 and haveOutrifted("kelp") == 0 and aff.anorexia == 0 and aff.asthma == 1 then
  44. setting.healingaeon = 13
  45. if setting.treebalance == 1 then
  46. tree()
  47. else
  48. eat("kelp")
  49. eat("kelp")
  50. end
  51. elseif aff.aeon == 1 and tonumber(aff.head) > 0 and haveOutrifted("kelp") >= 1 and aff.anorexia == 0 and aff.asthma == 1 then
  52. setting.healingaeon = 4
  53. send("eat aurum")
  54. send("eat aurum")
  55. elseif aff.aeon == 1 and aff.head == 2 and aff.asthma == 0 then
  56. setting.healingaeon = 11
  57. smoke("elm")
  58. smoke("elm")
  59. tempTimer ( 0.9, [[send("touch amnesia")]] )
  60. elseif aff.asleep == 1 and aff.aeon == 1 then
  61. setting.healingaeon = 3
  62. send("wake",false)
  63. elseif aff.asthma == 1 and (aff.aeon == 1 or tonumber(pipe.elmpuffs) < 1) and setting.dragonheal == 1 then
  64. setting.healingaeon = 2
  65. setting.usingfitness = 1
  66. send("dragonheal")
  67. elseif aff.head == 0 and aff.asthma == 1 and aff.anorexia == 0 and haveOutrifted("kelp") == 0 then
  68. setting.healingaeon = 5
  69. send("outr kelp",false)
  70. elseif aff.asleep == 0 and aff.aeon == 1 and haveOutrifted("kelp") >= 1 and aff.asthma == 1 and aff.anorexia == 0 then
  71. setting.healingaeon = 6
  72. eat("kelp")
  73. elseif aff.anorexia == 1 and aff.asthma == 1 and aff.slickness == 0 and aff.aeon == 1 then
  74. setting.healingaeon = 7
  75. apply("epidermal", "body")
  76. elseif aff.anorexia == 1 and aff.asthma == 1 and aff.slickness == 1 and aff.aeon == 1 then
  77. setting.healingaeon = 7
  78. focus()
  79. elseif ((aff.roped == 1 or aff.webbed == 1 or aff.bound == 1 or aff.transfixed == 1) or setting.arenamode == 1) and setting.writhing == 0 and ((pipe.elmpuffs == 0) or (aff.asthma == 1 and aff.anorexia == 0 and haveOutrifted("kelp") == 0)) then
  80. setting.healingaeon = 8
  81. writhe()
  82. elseif have.fitness == 1 and aff.asthma == 1 and aff.anorexia == 1 and aff.slickness == 1 and aff.impatience == 1 then
  83. setting.healingaeon = 6
  84. setting.usingfitness = 1
  85. send("fitness on",false)
  86. end
  87. end
  88.  
  89. end
  90.  
  91. function aeonreset()
  92. if aff.aeon == 1 then
  93. setting.healingaeon = 0
  94. setting.checkaeon = 1
  95. slug = 0
  96. killTimer(tostring(aeonTimer))
  97. end
  98. end
Add Comment
Please, Sign In to add comment