Compatibility unverified
This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.
Training Poisoning with a shelf by Jaseowns UO Outlands - Updated 3/1/2023 updated for shelf Make sure to update the max skill on line 47 if you want to go over 100 Disclaimer: This script will edit your shelf loadout to only grab…
TrainingPoisoning
Train Poisoning using a Shelf.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/c719ac6d-2ef8-4e31-9834-700b84dc85c2 for latest2# Automation by Jaseowns3## Script: Train Poisoning using a Shelf4## Created by: Jaseowns#66945#############################################6 7# Training Poisoning with a shelf by Jaseowns8# UO Outlands - Updated 3/1/2023 updated for shelf9# Make sure to update the max skill on line 47 if you want to go over 100 10#################11# Disclaimer: This script will edit your shelf loadout to only grab neccesary 12# items to train. To learn how to do this, check out my videos: youtube.com/jaseowns13#################14# Requirements: a shelf stocked with poison, heals and cures & one weapon (ex: kryss)15##################16# Additional Info 17##################18# If your skill is less than 55 you also need:19# One Empty bottle in your backpack20# Regular posion kegs in a container21# Restock Agent 1 as keg22# Script variable called "restock_container_regular_kegs"23# Organizer Agent 1 as keg - Set to a different container then your restock_container_regular_kegs24##################25# How to heal through failed posion?26##################27# Training poison has the ability to kill you if you do not heal or cure yourself. 28# This script attempts to use heal and cure pots to survive. You could also29# have another character constantly bandaging you but this script should be enough.30 31if not findtype "kryss" backpack and not find select_train_weapon backpack32 overhead 'Please select your target weapon to train poison on' 8833 @setvar! 'select_train_weapon'34endif35 36clearsysmsg 37 38while not dead39 40 if insysmsg 'world will save'41 overhead "World save coming soon.."42 elseif insysmsg 'world is saving'43 for 10044 overhead 'Waiting for world save...'45 wait 10046 if insysmsg 'save complete'47 overhead 'Save complete - continue on!' 8848 break49 endif50 endfor51 endif52 53 if skill 'poisoning' >= 10054 overhead 'Maxed out' 8855 wait 250056 replay57 elseif skill 'poisoning' < 5058 overhead 'Go train at vendor to 50' 3459 wait 250060 replay61 elseif skill 'poisoning' < 5562 if not findtype "empty bottle%s%" backpack63 overhead 'Need at least one empty bottle!' 3464 wait 100065 replay66 endif67 68 // target a container that has reg kegs69 if not findtype "keg" backpack70 restock 171 waitfortarget 72 target 'restock_container_regular_kegs'73 endif74 75 if not findtype "keg" backpack76 overhead "Missing regular keg!" 3477 wait 250078 replay79 endif80 81 overhead 'Using keg of Regular Posion' 8882 dclicktype "keg" backpack83 wait 50084 85 // keg is empty, make sure to organizer to a different container86 if not insysmsg "place it into your backpack"87 organizer 188 wait 50089 replay90 endif91 endif92 93 overhead 'Using restock shelf' 8894 gumpclose 323282596595 if not gumpexists 3232825965 and findtype "storage shelf" ground -1 -1 2 as shelf96 dclick shelf97 waitforgump 3232825965 500098 endif99 100 // Restock shelf101 gumpresponse 1000 3232825965102 waitfortarget 5000103 hotkey 'Target Self'104 105 // Clear loadout106 while not insysmsg "Loadout cleared"107 gumpresponse 16 3232825965108 waitforgump 3232825965 5000109 endwhile110 111 // edit loadout112 gumpresponse 1001 3232825965113 waitforgump 3232825965 5000114 115 // 10 heal pots116 gumpresponse 300 3232825965117 waitforgump 3232825965 5000118 gumpresponse 315 3232825965119 waitforgump 3232825965 5000120 121 // 10 cure pots122 gumpresponse 301 3232825965123 waitforgump 3232825965 5000124 gumpresponse 316 3232825965125 waitforgump 3232825965 5000126 127 if skill 'poisoning' < 50128 overhead 'Go train at vendor' 34129 wait 2500130 replay131 elseif skill 'poisoning' < 55132 overhead '55 Regular'133 elseif skill 'poisoning' < 80134 overhead '80 Greater'135 gumpresponse 307 3232825965136 waitforgump 3232825965 5000137 elseif skill 'poisoning' < 100138 overhead '100 Deadly'139 gumpresponse 308 3232825965140 waitforgump 3232825965 5000141 elseif skill 'poisoning' < 120142 overhead '120 Lethal'143 gumpresponse 309 3232825965144 waitforgump 3232825965 5000145 else146 replay147 endif148 149 // Resupply150 gumpresponse 7 3232825965151 waitforgump 3232825965 5000152 153 wait 500154 155 if findtype "Green Potion" backpack and hp > 50156 skill 'Poisoning'157 wft 500158 targettype "Green Potion" backpack159 wft 500160 if findtype "kryss" backpack161 targettype "kryss" backpack162 else163 target 'select_train_weapon'164 endif165 endif166 167 if findtype "Yellow Potion" backpack and hp < 50168 hotkey 'Drink Heal'169 wait 500170 endif171 172 if poisoned173 overhead 'Posioned'174 while poisoned175 if findtype "Orange Potion" backpack176 hotkey 'Drink Cure'177 wait 500178 else179 overhead "Out of cures... you gonna die" 34180 wait 1000181 endif182 183 if findtype "Yellow Potion" backpack and hp < 40184 hotkey 'Drink Heal'185 wait 500186 endif187 endwhile188 wait 5000189 else190 wait 5000191 endif192endwhile