Set Trapped Loot Pouch and move weapon into pouch or take it out by Jaseowns
Description: This is a proof of concept for a question about moving your weapon into a trapped pouch and then pulling it back out
1# Set Trapped Loot Pouch and move weapon into pouch or take it out by Jaseowns
2# UO Outlands
3# Description:
4# This is a proof of concept for a question about moving
5# your weapon into a trapped pouch and then pulling it back out
6# Requirements:
7# This assumes you are using a right hand weapon (I tested with a cross bow)
8if not varexist myTrappedLootPouch
9 @setvar! myTrappedLootPouch 0
10endif
11
12if not varexist myWeaponToHide
13 @setvar! myWeaponToHide 0
14endif
15
16if not find myTrappedLootPouch backpack
17 if findtype "pouch" backpack 38 as lootPouch
18 @setvar! myTrappedLootPouch lootPouch
19 endif
20endif
21
22if not find myWeaponToHide self
23 if findlayer self righthand as weapon
24 @setvar! myWeaponToHide weapon
25 endif
26endif
27
28if not find myWeaponToHide self
29 overhead "Cannot find righthand weapon" 34
30 stop
31endif
32
33if not find myTrappedLootPouch backpack
34 overhead "Cannot find loot pouch" 34
35 stop
36else
37 getlabel myTrappedLootPouch desc
38 overhead desc
39 if findlayer self righthand as weapon
40 if weapon = myWeaponToHide
41 lift myWeaponToHide
42 drop myTrappedLootPouch
43 wait 650
44 else
45 dclick myWeaponToHide
46 wait 650
47 endif
48 else
49 dclick myWeaponToHide
50 wait 650
51 endif
52endif
53