Skip to content
Outlands Hub

Razor script

Restock Feeder

by flutschi · 53 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

Organizing
Restock Feeder.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/ca6297b9-f0ca-4fca-8990-9bda093a4b7a for latest2# Automation by Jaseowns3## Script: Restock Feeder4## Created by: flutschi#05#############################################6 7clearignore 8 9# Change this serial to the serial of the bag with your food..10# >info -> target the bag and you got the serial there11@setvar! foodBag 0x41AE20C012 13if findtype 5453 ground -1 -1 3 as waterSource14    overhead 'found water'15    @setvar! bigWaterSource waterSource16endif17 18# 40801|4080019while findtype 40801|40800 ground -1 -1 3 as feeder20    overhead 'restock Feeder' 6 feeder21    dclick feeder22    pause 60023    waitforgump 1942558613 200024    gumpresponse 325    waitforgump 1942558613 200026    pause 20027    dclick bigWaterSource28    29    if not insysmsg 'already full of water'30        target bigWaterSource31        waitforgump 1942558613 100032    endif33    34    for 535        gumpresponse 236        waitforgump 1942558613 100037        if findtype 2452|3350|2512|3164|3195|5928|2513|3173|3184|3199|5919|3191|3181|3386|5923|3186|3188|5930|2514|3178|3174|5919|3199|3191|3195|2512|5923|3173|5928|3184 foodBag as food38            target food39            waitforgump 194255861340        endif41        if insysmsg 'already full of food'42            break43        endif44    endfor45    46    ignore feeder47    48endwhile49 50 51overhead 'done restocking feeder..'52overhead 'done restocking feeder..'53overhead 'done restocking feeder..'