smutbook:classes:apparel:wardrobe
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
smutbook:classes:apparel:wardrobe [2023/08/09 18:48] – lee | smutbook:classes:apparel:wardrobe [2023/08/09 19:48] (current) – lee |
---|
This class, derived from GeneralInventory, is meant to contain Apparel, although it can contain any PersistentObject}. It overrides sort() so that the contents are sorted in order of ClothingSlot value rather than alphabetically, with any non-Apparel items listed last. | This class, derived from GeneralInventory, is meant to contain Apparel, although it can contain any PersistentObject}. It overrides sort() so that the contents are sorted in order of ClothingSlot value rather than alphabetically, with any non-Apparel items listed last. |
| |
FIXME There is some hacky crap in the sort implementation to ensure that dresses are listed below bottoms. Which is, well, hacky. Perhaps it would be better to first sort by ClothingSlot, and then by wardrobeCategory. | FIXME There is some hacky crap in the sort implementation to ensure that dresses are listed below bottoms. Which is, well, hacky. Perhaps it would be better to sort by wardrobeCategory. |
| |
smutbook/classes/apparel/wardrobe.1691632121.txt.gz · Last modified: 2023/08/09 18:48 by lee