So while looking to make a couple of easier ways to view items I noticed that properties are rarely used in general. Seemed like an interesting project to look into and I've started by experimenting with skills with the particular goal of turning the stats and skills page into a bunch of queries instead of a wall of numbers you need to manually update.
You can see what I've done so far in my user page but in summary it's going to need a few changes:
- Replace the skill data tables with a template that assigns all the proper properties
- Some properties in stats to ease display (In particular to make the shortened name of a stat available for query)
- Piles of templates to make all these associated values only ever entered once and replicated everywhere else
Once I get some of this cleaned up a bit more I'll want to start replacing the data tables in skill pages, starting with the ones easier to support all the values. Not sure yet exactly what I'll do with the skill specific numbers like Collecting Time in Sheep_Shearing, probably pass in templates to some generic table builder and have each skill page specify which values they want to be able to display.
It's still very rough and I'm not sure if I'll end up actually finishing but it's been neat messing with this in my spare time so far.
Posted by Ninjanomnom on 2021 January 6 at 23:28. Edited by Ninjanomnom on 2021 January 6 at 23:28. |
|