Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkAeon()
- if aff.aeon == 1 and setting.paused == 0 and aff.retardation == 0 and setting.healingaeon == 0 then
- setting.checkaeon = 0
- aeonTimer = tempTimer( 1.5, [[ if setting.healingaeon ~= 0 then
- setting.healingaeon = 0
- setting.checkaeon = 1
- checkPrompt()
- if aff.head >= 1 then
- checkPrompt()
- end
- end ]])
- if aff.asthma == 0 and aff.asleep == 0 and aff.head == 0 and tonumber(pipe.elmpuffs) > 0 then
- setting.healingaeon = 2
- smoke("elm")
- elseif pipe.elmpuffs == 0 and haveOutrifted("elm") == 0 then
- setting.healingaeon = 5
- if have.useMinerals then
- send("outr cinnabar")
- else
- send("outr elm")
- end
- elseif pipe.elmpuffs == 0 and haveOutrifted("elm") ~= 0 then
- setting.healingaeon = 9
- pipe.elmfilling = 1
- if have.useMinerals then
- send("put cinnabar in " ..pipe.elm)
- else
- send("put elm in " ..pipe.elm)
- end
- elseif aff.asleep == 1 and aff.aeon == 1 and setting.waking == 0 and tonumber(aff.head) > 0 then
- setting.healingaeon = 3
- send("wake")
- send("wake")
- elseif aff.asleep == 1 and aff.aeon == 1 and setting.waking == 0 and aff.head == 0 then
- setting.healingaeon = 3
- send("wake")
- send("wake")
- elseif aff.aeon == 1 and tonumber(aff.head) > 0 and aff.slickness == 0 and aff.asthma == 1 and aff.anorexia == 1 then
- setting.healingaeon = 12
- apply("epidermal", "body")
- apply("epidermal", "body")
- elseif aff.aeon == 1 and tonumber(aff.head) > 0 and haveOutrifted("kelp") == 0 and aff.anorexia == 0 and aff.asthma == 1 then
- setting.healingaeon = 13
- if setting.treebalance == 1 then
- tree()
- else
- eat("kelp")
- eat("kelp")
- end
- elseif aff.aeon == 1 and tonumber(aff.head) > 0 and haveOutrifted("kelp") >= 1 and aff.anorexia == 0 and aff.asthma == 1 then
- setting.healingaeon = 4
- send("eat aurum")
- send("eat aurum")
- elseif aff.aeon == 1 and aff.head == 2 and aff.asthma == 0 then
- setting.healingaeon = 11
- smoke("elm")
- smoke("elm")
- tempTimer ( 0.9, [[send("touch amnesia")]] )
- elseif aff.asleep == 1 and aff.aeon == 1 then
- setting.healingaeon = 3
- send("wake",false)
- elseif aff.asthma == 1 and (aff.aeon == 1 or tonumber(pipe.elmpuffs) < 1) and setting.dragonheal == 1 then
- setting.healingaeon = 2
- setting.usingfitness = 1
- send("dragonheal")
- elseif aff.head == 0 and aff.asthma == 1 and aff.anorexia == 0 and haveOutrifted("kelp") == 0 then
- setting.healingaeon = 5
- send("outr kelp",false)
- elseif aff.asleep == 0 and aff.aeon == 1 and haveOutrifted("kelp") >= 1 and aff.asthma == 1 and aff.anorexia == 0 then
- setting.healingaeon = 6
- eat("kelp")
- elseif aff.anorexia == 1 and aff.asthma == 1 and aff.slickness == 0 and aff.aeon == 1 then
- setting.healingaeon = 7
- apply("epidermal", "body")
- elseif aff.anorexia == 1 and aff.asthma == 1 and aff.slickness == 1 and aff.aeon == 1 then
- setting.healingaeon = 7
- focus()
- 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
- setting.healingaeon = 8
- writhe()
- elseif have.fitness == 1 and aff.asthma == 1 and aff.anorexia == 1 and aff.slickness == 1 and aff.impatience == 1 then
- setting.healingaeon = 6
- setting.usingfitness = 1
- send("fitness on",false)
- end
- end
- end
- function aeonreset()
- if aff.aeon == 1 then
- setting.healingaeon = 0
- setting.checkaeon = 1
- slug = 0
- killTimer(tostring(aeonTimer))
- end
- end
Add Comment
Please, Sign In to add comment