Skip to content
Outlands Hub

Razor script

Create bulk Mushrooms with Shelf - Uses Wither/Eats Shrooms

by kc.jones · 62 lines
Download

Create Mushrooms with Storage Shelf//// Uses Mushrooms and Wither to maintain mana////

Meditation
Create bulk Mushrooms with Shelf - Uses WitherEats Shrooms.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/cc14134f-b36d-4eaa-ab48-5552d80afd0f for latest2# Automation by Jaseowns3## Script: Create bulk Mushrooms with Shelf - Uses Wither/Eats Shrooms4## Created by: kc.jones#05#############################################6 7////Create Mushrooms with Storage Shelf////8////Uses Mushrooms and Wither to maintain mana////9 10@setvar! EatShroom 111@setvar! EatShroomTimerCD 6000012@setvar! EatShroomAtDiffMana 3513 14@setvar! castWither 115@setvar! castWitherTimerCD 3100016 17///////////////////////////////////////////////////////////////////18 19if not timerexists EatShroomTimer20    settimer EatShroomTimer EatShroomTimerCD21endif22 23if not timerexists castWitherTimer24    settimer castWitherTimer castWitherTimerCD25endif26 27if EatShroom = 1 and timer EatShroomTimer >= EatShroomTimerCD and diffmana >= EatShroomAtDiffMana and findtype 29012 backpack 2963 as shroomItem28    dclick shroomItem29    getlabel backpack PingCheck30    if insysmsg "You are already at your maximum mana."31        // do nothing32    elseif insysmsg "You consume a magic mushroom and restore some mana."33        settimer EatShroomTimer 034        wait 65035    endif36endif37 38if castWither = 1 and timer castWitherTimer >= castWitherTimerCD 39    cast 'Wither' 40    settimer castWitherTimer 041    wait 65042endif43 44if mana < 1545    while mana < 9046        if not findbuff "actively meditating" 47            useskill 'meditation'48        endif49        wait 100050    endwhile51elseif count 'Mandrake Root' > 1052    cast 'create food'53    wait 80054elseif findtype "storage shelf" ground -1 -1 2 as shelf55    menu shelf 056    wft 50057    target self58    wait 20059    menu shelf 160    wait 20061endif62loop