Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Alchemytrainer //
- // Made by kakel_anders#1638 (Player UOG:Demise) //
- //
- // Uses poisonpots/Nightshade only, configured for Demise Freeshard //
- //
- // - Prerequisites - //
- //1. Character must have sufficient tinkering to make alchytools and tinkerkits
- //2. Have a "resourcebag" with nightshade, ingots and bottles
- //3. Have a container (Commoditybox) to put the deadly posion pots in.
- //4. Have a trashbarrel closeby
- //5. Start with atleast 1 tinkerkit in backpack
- clearlist 'reagents'
- unsetalias 'resourcebag'
- unsetalias 'commoditybox'
- unsetalias 'alchytrash'
- promptalias 'resourcebag'
- promptalias 'commoditybox'
- promptalias 'alchytrash'
- createlist 'reagents'
- pushlist 'reagents' 0xf8c // Sulfurous Ash
- pushlist 'reagents' 0xf86 // Mandrake Root
- pushlist 'reagents' 0xf84 // Garlic
- pushlist 'reagents' 0xf8d // Spidersilk
- pushlist 'reagents' 0xf88 // Nightshade
- pushlist 'reagents' 0xf7b // Bloodmoss
- pushlist 'reagents' 0xf85 // Ginseng
- pushlist 'reagents' 0xf7a // Blackpearl
- pushlist 'reagents' 0xf8a // Pigiron
- pushlist 'reagents' 0xf78 // Batwing
- pushlist 'reagents' 0xf8e // Nox Crystals
- pushlist 'reagents' 0xf8f // Gravedust
- pushlist 'reagents' 0xf7d // Daemon Blood
- // Skill < 56
- while skill 'alchemy' < 56
- // Fill up on ingots
- while counttype 0x1bf2 'any' 'backpack' < 50
- movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
- endwhile
- // Make new tinkerkits
- if counttype 0x1eb8 'any' 'backpack' < 3
- for 5
- usetype 0x1eb8
- pause 1000
- replygump 0x38920abd 8
- pause 500
- replygump 0x38920abd 23
- endfor
- endif
- // Make new alchytools
- if counttype 0xe9b 'any' 'backpack' < 3
- for 5
- usetype 0x1eb8
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 8
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 9
- waitforgump 0x38920abd 15000
- endfor
- endif
- // Fill up on Bottles
- if counttype 0xf0e 'any' 'backpack' < 50
- movetype 0xf0e 'resourcebag' 'backpack' (0 0 0) 'any' 50
- endif
- // Fill up on Regs
- if counttype 0xf88 'any' 'backpack' < 50
- movetype 0xf88 'resourcebag' 'backpack' (0 0 0) 'any' 1000
- endif
- // Make Potion
- usetype 0xe9b
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 36
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 9
- waitforgump 0x38920abd 15000
- // Trash potion
- movetype 0xf0a 'backpack' 'alchytrash'
- pause 500
- endwhile
- //////////////////////////////////////////
- // Skill < 91
- while skill 'alchemy' < 91
- // Fill up on ingots
- while counttype 0x1bf2 'any' 'backpack' < 50
- movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
- endwhile
- // Make new tinkerkits
- if counttype 0x1eb8 'any' 'backpack' < 3
- for 5
- usetype 0x1eb8
- pause 1000
- replygump 0x38920abd 8
- pause 500
- replygump 0x38920abd 23
- endfor
- endif
- // Make new alchytools
- if counttype 0xe9b 'any' 'backpack' < 3
- for 5
- usetype 0x1eb8
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 8
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 9
- waitforgump 0x38920abd 15000
- endfor
- endif
- // Fill up on Bottles
- if counttype 0xf0e 'any' 'backpack' < 50
- movetype 0xf0e 'resourcebag' 'backpack' (0 0 0) 'any' 50
- endif
- // Fill up on Regs
- if counttype 0xf88 'any' 'backpack' < 50
- movetype 0xf88 'resourcebag' 'backpack' (0 0 0) 'any' 1000
- endif
- // Make Potion
- usetype 0xe9b
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 36
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 16
- waitforgump 0x38920abd 15000
- // Trash potion
- movetype 0xf0a 'backpack' 'alchytrash'
- pause 500
- endwhile
- ////////////////////////////////////////////////
- //////////////////////////////////////////
- // Skill < 101
- while skill 'alchemy' < 101
- // Fill up on ingots
- // Fill up on ingots
- while counttype 0x1bf2 'any' 'backpack' < 50
- movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
- endwhile
- // Make new tinkerkits
- if counttype 0x1eb8 'any' 'backpack' < 3
- for 5
- usetype 0x1eb8
- pause 1000
- replygump 0x38920abd 8
- pause 500
- replygump 0x38920abd 23
- endfor
- endif
- // Make new alchytools
- if counttype 0xe9b 'any' 'backpack' < 3
- for 5
- usetype 0x1eb8
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 8
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 9
- waitforgump 0x38920abd 15000
- endfor
- endif
- // Fill up on Bottles
- if counttype 0xf0e 'any' 'backpack' < 50
- movetype 0xf0e 'resourcebag' 'backpack' (0 0 0) 'any' 50
- endif
- // Fill up on Regs
- if counttype 0xf88 'any' 'backpack' < 50
- movetype 0xf88 'resourcebag' 'backpack' (0 0 0) 'any' 1000
- endif
- // Make Potion
- usetype 0xe9b
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 36
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 23
- waitforgump 0x38920abd 15000
- // Store potion
- movetype 0xf0a 'backpack' 'commoditybox'
- pause 500
- // STOP
- If skill 'alchemy' == 100
- stop
- endif
- endwhile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement