PlantCare by AdamTwelve This script will inventory all planters within range then: Harvest any plants that are ready Plant seeds in empty planters (seed prioritization is a work in progress) Taste ID for Heat, Water, and Soil Add dirt and…
Gathering
Plant Care.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/5c81e27b-8364-4df4-8d9d-7d53ed29b8df for latest2# Automation by Jaseowns3## Script: Plant Care4## Created by: adamtwelve#03025#############################################6 7#PlantCare by AdamTwelve8#9#This script will inventory all planters within range then: 10# Harvest any plants that are ready11# Plant seeds in empty planters (seed prioritization is a work in progress)12# Taste ID for Heat, Water, and Soil13# Add dirt and water to estimated amounts14# 15#Requirements:16# Planters in range17# Water tile or source within range18# Seeds, planters spade and dirt in backpack19 20overhead 'select 1 type of seeds to plant'21setvar seeds22 23 24clearignore25clearlist pots26createlist pots27setvar globaltimeout 110028 29 30//createlist of all pots in range31while findtype 6327|6328|6330|4551|6341|28987 true -1 -1 -1 as pot32 setvar foundpot pot33 if not inlist pots foundpot34 pushlist pots foundpot35 ignore pot36 endif37endwhile38 39 40//harvest if ready41overhead 'checking for ready plants'42foreach x in pots43 dclick x44 waitforgump 322460837545 pause globaltimeout46 if ingump 'Ready to Harvest' any47 overhead 'harvesting plant'48 gumpresponse 249 pause globaltimeout50 endif51 pause globaltimeout52endfor53 54 55//plant seed if needed56overhead 'planting seeds in empty pots'57if find seeds backpack -1 -1 -158foreach x in pots59 dclick x60 waitforgump 322460837561 pause globaltimeout62 if ingump 'No Seed' any63 overhead 'planting seed'64 gumpresponse 265 pause globaltimeout66 target seeds backpack -1 -1 -167 endif68endfor69else70 overhead 'no seeds in backpack' 3371endif72 73//TasteID all pots74overhead 'Estimating ideal heat, water, and soil'75if findtype 'spade' backpack -1 -1 -176foreach x in pots77 dclick x78 waitforgump 79 pause globaltimeout80 gumpresponse 381 waitforgump 322460837582 pause globaltimeout83 gumpresponse 484 waitforgump 322460837585 pause globaltimeout86 gumpresponse 587 waitforgump 322460837588 pause globaltimeout89endfor90else91 overhead 'no planters spade found' 3392endif93 94 95// add dirt and water to estimated amounts96//fill water each time (requires water tile or other source)97overhead 'adding water and soil'98if findtype 'watering can' backpack -1 -1 -1 and findtype 'dirt patch' backpack -1 -1 -199foreach x in pots100//make sure seed exists.101#if ingump 'No Seed Currently'102# overhead 'no seed'103# break104#endif105 106//water107dclicktype 'watering can' backpack -1 -1 -1108pause globaltimeout109dclick x110waitforgump 111pause globaltimeout112gumpresponse 2 3224608375113waitfortarget114waitforgump 3224608375115targettype 'watering can' backpack -1 -1 -1116waitforgump 3929333591117pause globaltimeout118gumpresponse 2 3929333591119pause globaltimeout120//dirt121gumpresponse 2 3224608375122waitforgump 123pause globaltimeout124targettype 'dirt patch' backpack -1 -1 -1125waitforgump 4024474571126pause globaltimeout127gumpresponse 2 4024474571128pause globaltimeout129gumpclose130gumpclose131endfor132else133 overhead 'missing water or soil' 33134endif135 136overhead 'all done' 99