Loot Bag Hider by Areolys
Description: This script will let you set a loot and a resources/reagents bag and hide them under your trapped pouches. This way you'll be able to access the bags without having to fiddle around in your backpack with all the pouches. (recommended to have at least 3 trapped pouches and stack some item on top of trapped pouches for even better security.)
1#
2# Loot Bag Hider
3# by Areolys
4#
5# This script will hide your loot and resources/reagents bags behind trapped pouches to keep
6# them save from thieves.
7# It will also allow you to easily open your bags without having to fiddle around with the
8# pouches in your bag.
9
10# Set up loot & reagents bags if not in backpack
11if not varexist personal_loot_bag
12 overhead "Set loot bag" 88
13 setvar personal_loot_bag
14else
15 if not find personal_loot_bag backpack
16 overhead "Loot bag not found. Do you want to set a new one?"
17 setvar personal_loot_bag
18 endif
19endif
20
21if not varexist personal_resource_bag
22 overhead "Set resources bag" 88
23 setvar personal_resource_bag
24# check if you didn't accidentally clicked the same bag
25# remove this if you don't want two seperate bags
26 if personal_resource_bag = personal_Loot_bag backpack
27 overhead "you can't have resources and loot in the same bag!"
28 endif
29else
30 if not find personal_resource_bag backpack
31 overhead "Resources bag not found. Do you want to set a new one?"
32 setvar personal_resource_bag
33
34# check if you didn't accidentally clicked the same bag
35# remove this if you don't want two seperate bags
36 if personal_resource_bag = personal_Loot_bag
37 "you can't have resources and loot in the same bag!"
38 endif
39 endif
40
41
42 # Stack the bags on top right corner of backpack on top of each other
43
44 lift personal_loot_bag 1
45 wait 500
46 drop backpack 0 0 0
47 wait 500
48
49 lift personal_resource_bag 1
50 wait 500
51 drop backpack 0 0 0
52 wait 500
53
54 clearignore
55 while findtype "pouch" backpack 38 as trapped
56 lift trapped
57 drop backpack 0 0 0
58 ignore trapped
59 wait 650
60 endwhile
61 clearignore
62endif
63
64
65# Open loot and resources bags
66
67dclick personal_loot_bag backpack
68wait 250
69dclick personal_resource_bag backpack