Drop gold if overweight by Jaseowns
1# Drop gold if overweight by Jaseowns
2# UO Outlands
3
4@setvar! goldAmountToDrop 2000
5
6if weight > maxweight
7 if findtype "gold coin" backpack as item
8 lift item goldAmountToDrop
9 droprelloc 0 0
10 wait 200
11 if insysmsg "cannot drop anything"
12 drop backpack -1 -1 -1
13 endif
14 wait 650
15 replay
16 else
17 overhead "We are overweight but cannot drop anything" 34
18 endif
19endif