Creating the Backup outfit takes two page loads: a call to inv_equip to create the outfit, which returns with a redirect to inventory.php to show you the new outfit ID. We can create the outfit with ajax=1 and eliminate the redirect, but by doing so, we don't learn the outfit ID and cannot switch to it.
When you switch to an outfit, KoL automatically creates "Your Last Outfit". Each time it does so, it makes a new outfit ID, but you can switch to it by using "inv_equip.php?action=outfit&whichoutfit=last".
We should stop creating the Backup outfit for a lot of cases when we want to put on a particular outfit, purchase something at an NPC store, and restore our original outfit. For example, to buy fruit at the Hippy Store, we should put on the hippy disguise, buy the item, and put on whichoutfit=last. Ditto for restoring MP by buying Knob seltzers.
(We still need to create a Backup outfit when we put on special Mana Cost reduction items before casting, since we are not putting on an "outfit" by equipping individual items, and KoL will not create "Your Previous Outfit" for us.)
When you switch to an outfit, KoL automatically creates "Your Last Outfit". Each time it does so, it makes a new outfit ID, but you can switch to it by using "inv_equip.php?action=outfit&whichoutfit=last".
We should stop creating the Backup outfit for a lot of cases when we want to put on a particular outfit, purchase something at an NPC store, and restore our original outfit. For example, to buy fruit at the Hippy Store, we should put on the hippy disguise, buy the item, and put on whichoutfit=last. Ditto for restoring MP by buying Knob seltzers.
(We still need to create a Backup outfit when we put on special Mana Cost reduction items before casting, since we are not putting on an "outfit" by equipping individual items, and KoL will not create "Your Previous Outfit" for us.)