by Jaseowns UO Outlands - Updated 12/09/2021 for timeout issue Updated 5/12/2025 - system message update for kegs Updated 1/17/2022 for making sure keg containers are set Make sure to update the max skill…
TrainingOrganizingPoisoning
Training Poisoning with no shelf.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/8c23f6cd-01c1-40ad-a67b-2756c644b9ca for latest2# Automation by Jaseowns3## Script: Training Poisoning with no shelf4## Created by: Jaseowns#66945#############################################6 7# Training Poisoning with no shelf by Jaseowns8# UO Outlands - Updated 12/09/2021 for timeout issue9# Updated 5/12/2025 - system message update for kegs10# Updated 1/17/2022 for making sure keg containers are set11# Make sure to update the max skill on line 59 if you want to go over 100 12#################13# Requirements: separate bags containing the different types of poisons, 14# heals and cures optional but at least someone healing you on a loop15# one weapon (ex: kryss selected by default)16##################17# One Empty bottle in your backpack18# Each type of Posion keg in different containers19# Restock Agent 1 as keg20# Script variable called "restock_container_regular_kegs"21# Script variable called "restock_container_greater_kegs"22# Script variable called "restock_container_deadly_kegs"23# Script variable called "restock_container_lethal_kegs"24# Organizer Agent 1 as keg - Set to a different container then your restock containers25##################26# How to heal through failed posion?27##################28# Training poison has the ability to kill you if you do not heal or cure yourself. 29# This script attempts to use heal and cure pots to survive. You should also30# have another character constantly bandaging you since this script does not use 31# and has no extra restock agent related to heal/cure pots32 33if not findtype "kryss" backpack and not listexists 'select_train_weapon'34 overhead 'Please select your target weapon to train poison on' 8835 setvar 'select_train_weapon'36 createlist 'select_train_weapon'37endif38 39if not find restock_container_regular_kegs ground40 overhead "Select REGULAR poison keg container"41 setvar restock_container_regular_kegs42endif43 44if not find restock_container_greater_kegs ground45 overhead "Select GREATER poison keg Container"46 setvar restock_container_greater_kegs47endif48 49if not find restock_container_deadly_kegs ground50 overhead "Select DEADLY poison keg Container"51 setvar restock_container_deadly_kegs52endif53 54if not find restock_container_lethal_kegs ground55 overhead "Select LETHAL poison keg Container"56 setvar restock_container_lethal_kegs57endif58 59while not dead60 61 removelist 'skill_check'62 removelist 'keg_container'63 createlist 'skill_check'64 createlist 'keg_container'65 66 if skill 'poisoning' >= 10067 overhead 'Maxed out' 8868 wait 250069 replay70 elseif skill 'poisoning' < 5071 overhead 'Go train at vendor to 50' 3472 wait 250073 replay74 elseif skill 'poisoning' < 5575 pushlist "skill_check" 5576 pushlist "keg_container" "restock_container_regular_kegs"77 elseif skill 'poisoning' < 8078 pushlist "skill_check" 8079 pushlist "keg_container" "restock_container_greater_kegs"80 elseif skill 'poisoning' < 10081 pushlist "skill_check" 10082 pushlist "keg_container" "restock_container_deadly_kegs"83 elseif skill 'poisoning' < 12084 pushlist "skill_check" 12085 pushlist "keg_container" "restock_container_lethal_kegs"86 else87 replay88 endif89 90 if not findtype "empty bottle%s%" backpack91 overhead 'Need at least one empty bottle!' 3492 wait 100093 replay94 endif95 96 if findtype "keg" backpack97 overhead 'Clear bag of kegs'98 organizer 199 wait 500100 endif101 102 foreach skillchecker in skill_check103 while skill 'poisoning' < skillchecker104 overhead skillchecker105 if not findtype "keg" backpack106 restock 1107 wft 500 108 foreach kegcontainer in keg_container109 overhead kegcontainer110 target kegcontainer111 endfor112 wait 2500113 endif114 115 if not findtype "keg" backpack116 overhead "Missing keg!" 34117 overhead "Make sure the following variable points to correct keg location" 34118 foreach kegcontainer in keg_container119 overhead kegcontainer 88120 endfor 121 wait 2500122 replay123 endif124 125 dclicktype "keg" backpack126 wait 500127 128 // Move keg it found a cleared one129 if findtype "keg" backpack 0130 organizer 1131 wait 500132 endif133 134 if findtype "Green Potion" backpack and hp > 50135 skill 'Poisoning'136 wft 500 137 targettype "Green Potion" backpack138 wft 500 139 if findtype "kryss" backpack140 targettype "kryss" backpack141 else142 target 'select_train_weapon'143 endif144 wait 4000145 endif146 147 if findtype "Yellow Potion" backpack and hp < 50148 hotkey 'Drink Heal'149 wait 500150 endif151 152 if poisoned153 overhead 'Posioned'154 while poisoned155 if findtype "Orange Potion" backpack156 hotkey 'Drink Cure'157 wait 500158 else159 overhead "Out of cures... you gonna die" 34160 wait 1000161 endif162 163 if findtype "Yellow Potion" backpack and hp < 40164 hotkey 'Drink Heal'165 wait 500166 endif167 endwhile168 wait 4000169 else170 wait 4000171 endif172 endwhile173 endfor174 175endwhile