Back to "food" tags

Create bulk Mushrooms with Shelf - Uses Wither/Eats Shrooms by kc.jones

Description: Use a necromancer to stock your Storage Shelf with ease! This script uses Wither to give extra mana and will eat mushrooms on cooldown to keep it going for as long as possible before meditation breaks. Enjoy!

1////Create Mushrooms with Storage Shelf////
2////Uses Mushrooms and Wither to maintain mana////
3
4@setvar! EatShroom 1
5@setvar! EatShroomTimerCD 60000
6@setvar! EatShroomAtDiffMana 35
7
8@setvar! castWither 1
9@setvar! castWitherTimerCD 31000
10
11///////////////////////////////////////////////////////////////////
12
13if not timerexists EatShroomTimer
14    settimer EatShroomTimer EatShroomTimerCD
15endif
16
17if not timerexists castWitherTimer
18    settimer castWitherTimer castWitherTimerCD
19endif
20
21if EatShroom = 1 and timer EatShroomTimer >= EatShroomTimerCD and diffmana >= EatShroomAtDiffMana and findtype 29012 backpack 2963 as shroomItem
22    dclick shroomItem
23    getlabel backpack PingCheck
24    if insysmsg "You are already at your maximum mana."
25        // do nothing
26    elseif insysmsg "You consume a magic mushroom and restore some mana."
27        settimer EatShroomTimer 0
28        wait 650
29    endif
30endif
31
32if castWither = 1 and timer castWitherTimer >= castWitherTimerCD 
33    cast 'Wither' 
34    settimer castWitherTimer 0
35    wait 650
36endif
37
38if mana < 15
39    while mana < 90
40        if not findbuff "actively meditating" 
41            useskill 'meditation'
42        endif
43        wait 1000
44    endwhile
45elseif count 'Mandrake Root' > 10
46    cast 'create food'
47    wait 800
48elseif findtype "storage shelf" ground -1 -1 2 as shelf
49    menu shelf 0
50    wft 500
51    target self
52    wait 200
53    menu shelf 1
54    wait 200
55endif
56loop