1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
# Organizer (//org)
A multi-purpose inventory management solution. Similar to GearCollector; uses packets.
For the purpose of this addon, a `bag` is: "Safe", "Storage", "Locker", "Satchel", "Sack", "Case", "Wardrobe", "Safe 2".
For commands that use a filename, if one is not specified, it defaults to Name_JOB.lua, e.g., Rooks_PLD.lua
For commands that specify a bag, if one is not specified, it defaults to all, and will cycle through all of them.
The addon command is `org`, so `org freeze` will freeze, etc.
This utility is still in development and there are at least a couple of known issues (it does not always move out gear that is currently equipped, argument parsing could be better). It is designed to work simplest as a snapshotting utility (freeze and organize without arugments), but it should work no matter what you want to do with it.
### Settings
#### auto_heal
Setting this feature to anything other than false will cause Organizer to use /heal after getting/storing gear.
#### bag_priority
The order that bags will be looked in for requested gear.
#### dump_bags
The order that bags will be filled with unspecified gear from your inventory.
#### item_delay
A delay, in seconds, between item storage/retrieval. Defaults to 0 (no delay)
### Commands
Commands below are written with their arguments indicated using square brackets, but you should not use square brackets when entering the commands in game. Default options are italicized.
#### Freeze
```
freeze [bag] [filename]
```
Freezes the current contents of a `bag` or **all bags** to the specified `filename` or **Name_ShortJob.lua** in the respective data directory/directories. This effectively takes a snapshot of your inventory for that job. So using `//org freeze` as a Dancer named Pablo would result in freezing all of your bags in files named Pablo_DNC.lua.
#### Get
```
get [bag] [filename]
```
Thaws the frozen state specified by `filename` or **Name_ShortJob.lua** and `bag` or **all bags** and makes one attempt to move towards that state.
#### Tidy
```
tidy [bag] [filename]
```
Thaws a frozen state specified by `filename` or **Name_ShortJob.lua** and `bag` or **all bags** and makes one attempt to purge anything currently in inventory that shouldn't be into dump bags.
#### Organize
```
organize [bag] [filename]
```
Thaws a frozen state specified by `filename` or **Name_ShortJob.lua** and `bag` or **all bags** and executes repeated Get and Tidy commands until a steady state is reached (aka. you have your gear). With no arguments, it will attempt to restore the entire thawed snapshot.
### Gearswap integration
Additionally, Organizer integrates with GearSwap. In your lua, just add this:
```
include('organizer-lib')
```
And then in your Mog House, after changing jobs:
```
//gs org
```
And it will fill your inventory with the items from your sets, and put everything else away (it does a very good job, even when there are space concerns, but it's not perfect. Make sure to do a "//gs validate" after!)
Additionally, if you have extra items you want to bring along, simply define a table named `organizer_items` like so:
```
organizer_items = {
echos="Echo Drops",
shihei="Shihei",
orb="Macrocosmic Orb"
}
```
|