Wardrobe shopping to DOM
Usual rebuild, moving things to be data based and presented by DOM and functions. This allowed me to do some fancier things with refreshing elements, as well as adding some safety checks if things are not as they should be.
Added highlighting of cells on mouseover, and adjusted appearance. Went from tables to flex, so the number of columns is reactive now, woo. On clicking a cell, it will cycle through all outfits a set produces, and I included a fun little thing there I hope people appreciate.
Small tweaks too, such as a unique model for each category but the model being persistent until you leave the page.
I have tested every link on a new game to confirm everything buys as it should, and am very pleased with where this is right now.
Closes #2125 (closed)
Merge request reports
Activity
added 46 commits
-
030c0fa6...3d20aed6 - 29 commits from branch
pregmodfan:pregmod-master
- b24d2c65 - start
- e68ab8d6 - intro
- 7851617c - css and more data
- 6b3e6451 - fix cash check and disabled link display
- 71ed0647 - necklaces
- d591640e - remaining Future Society Revivalist styles
- 50a396ef - click to cycle
- 0b573347 - clothing cycling
- 9aec56ae - dance baby
- 1cbf9603 - clean up tw
- c1fc321f - finish accessories
- 5078c774 - outfit testing
- 539668f0 - fix
- 996dc853 - egypt fixes
- 476417ae - prevent overspending
- 9e1567f2 - tweak
- a9aebbfd - tweaks
Toggle commit list-
030c0fa6...3d20aed6 - 29 commits from branch
mentioned in commit 1d2ef22d
May want to look into #2127 (closed) next.