Having done a few four day casual ascensions, I find a large amount of my time is spent changing outfits, especially now that +ML decreases the effectiveness of our noncombat increasers.
So, I wrote this little script to rapidly change my outfit based on my current need.
I initially tried to use a whole lot of custom outfits, but the problem with that, in a rapid ascension environment, is that stat requirements frequently make a custom outfit useless!
This script reads a tab separated file for 'outfit' info, I have attached the custom outfits file that I currently use.
When you call this script, it prompts for a 'bias' string. This bias is tied to the custom outfits file, each 'bias' has several items linked to it, in order of preference, by slot.
For instance, this is my Rollover outfit:
As you can see, my preferred rollover outfit is biased more towards +pvp fights than +adventures. I <3 my pike pike!
Lets examine the 'weapons' slot first. When prompted to equip the 'nightdress' bias, this script will equip the plexiglass pike pike, if at all possible. If that fails, it will try to equip a time sword instead.
This brings me to the 'default' bias. This is exactly what you might think, the fallback bias. If the desired bias fails to find an equippable item for a given slot, it will look at the 'default' slot and see if it can find something there to equip.
My default bias is basically ML increasing combat gear, with nice high DA and phat item drops. (jeks).
You can expect some more updates, especially as I clean up the code (it evolved from a previous version, which had hardcoded outfit info) and, of course, fix bugs!
On the TODO list for this script:
Without any further ado, here are the files in question!
EDIT: first bug fixed! Offhand items are now handled properly, if hands are full, dont even try the offhand slot.
UPDATE: check if we can actually equip offhand weapons or shirts.
UPDATE: added better conditional code for MP reduction, the script no longer assumes you have a navel ring...
UPDATE: Added accessory shuffling when moving about 'only equip one' accessories.
So, I wrote this little script to rapidly change my outfit based on my current need.
I initially tried to use a whole lot of custom outfits, but the problem with that, in a rapid ascension environment, is that stat requirements frequently make a custom outfit useless!
This script reads a tab separated file for 'outfit' info, I have attached the custom outfits file that I currently use.
When you call this script, it prompts for a 'bias' string. This bias is tied to the custom outfits file, each 'bias' has several items linked to it, in order of preference, by slot.
For instance, this is my Rollover outfit:
The first column is the name of the 'bias', the second one is the slot, the third is the preference order (where 0 is most preferred), and the fourth column is the item.nightdress hat 0 time helmet
nightdress shirt 0 Corporal Fennel's Lonely Clubs Club Jacket
nightdress shirt 1 Corporal Fennel's Lonely Diamonds Club Jacket
nightdress weapon 0 plexiglass pike pike
nightdress weapon 1 time sword
nightdress offhand 0 time sword
nightdress pants 0 time trousers
nightdress acc1 0 filigreed hamethyst necklace
nightdress acc1 1 hamethyst necklace
nightdress acc1 2 plexiglass pocketwatch
nightdress acc1 3 imitation nice watch
nightdress acc1 4 stainless steel solitaire
nightdress acc1 5 dead guy's watch
As you can see, my preferred rollover outfit is biased more towards +pvp fights than +adventures. I <3 my pike pike!
Lets examine the 'weapons' slot first. When prompted to equip the 'nightdress' bias, this script will equip the plexiglass pike pike, if at all possible. If that fails, it will try to equip a time sword instead.
This brings me to the 'default' bias. This is exactly what you might think, the fallback bias. If the desired bias fails to find an equippable item for a given slot, it will look at the 'default' slot and see if it can find something there to equip.
My default bias is basically ML increasing combat gear, with nice high DA and phat item drops. (jeks).
You can expect some more updates, especially as I clean up the code (it evolved from a previous version, which had hardcoded outfit info) and, of course, fix bugs!
On the TODO list for this script:
[li]Cleaner accessory handling code, especially with regards to handling 'only equip one' items[/li]
[li]Fix a weird bug where it unequips an item, then re-equips that same item.[/li]
Without any further ado, here are the files in question!
EDIT: first bug fixed! Offhand items are now handled properly, if hands are full, dont even try the offhand slot.
UPDATE: check if we can actually equip offhand weapons or shirts.
UPDATE: added better conditional code for MP reduction, the script no longer assumes you have a navel ring...
UPDATE: Added accessory shuffling when moving about 'only equip one' accessories.