User:FeralKitty/Game data
From Wildermyth Wiki
Please note that this project is a work in progress, and currently is in the "proof of concept" stage. Once we're satisfied with the new appearance and functionality, we will start rolling it out to status effect and theme/theme ability pages, and finally to hero ability pages.
For anyone who's wondering why this project came into existence, there are several objectives:
- Help automatically keep wiki information up-to-data as new game builds are released, and abilities change or are added.
- Help sets of (status effect, theme, and ability) pages have a more consistent look across their pages. This includes having the same section headings and types of information on each related page.
- Improve navigation to related pages/information via consistent use of main article, see also, and navboxes, as needed.
Coding
What has been done
- All the necessary game data templates, currently holding status effect, theme, and theme ability data. (Hero ability data to be added.)
- {{Data actionPoints}}
- {{Data description}}
- {{Data damageType}}
- {{Data formula}}
- {{Data mathFormula}}
- All the necessary game data utility templates (which the game data automatically uses to stylize, link, and optionally categorize status effects and bonus damage/potency abilities).
- {{Status effect}}
- {{Bonus damage ability}}
- {{Potency ability}}
- {{Spell damage ability}}
- The tooltip that pulls all this data together to ideally mirror the game's UI action tooltip (and/or character sheet information). (Note that actual damage amounts cannot be shown, as the wiki would have no knowledge of a particular hero's gear or chosen abilities.)
- {{Tooltip ability}}
What's next (immediate future)
- Finalize Beartouched, Bear Hug, Swipes, and Poisoned "proof of concept" pages.
- Revise and/or approve of new look.
- Roll out new look to all status effect and theme/theme ability pages.
What's next (short term future)
- Extract and add hero ability data
- Hero ability proof of concept
- Roll out new look for hero ability pages
- Add [a-z] subpages for game data templates to improve performance. (MediaWiki recommends <=100 cases per switch statement.)
- Evaluate whether or not to extract missing x ranged information.
- Cone of Fire: x magic damage, 4/y range
- Witherbolt: x magic damage, 6/y range
- Skunk Spray: 5/x range
- Thunder Stomp: 1/x range
- Jumpjolt: x magic damage, 4/y range
- Chain Lightning: x magic damage, 4/y range
What's next (medium term future)
- Automate updating wiki with new game data (via bot), as new builds of the game are released.
- Share zip file of extraction scripts, so others can see and/or modify what data is extracted. (I don't plan to share this via GitHub, as I can't fill the role of maintaining this project, but others are welcome to step in and do that.)
That wraps up my objectives for this project. Others are welcome to pursue their own interests in extracting and making other game data available to the wiki.
Other potential game data ideas
- Stats for theme pieces (such as pets, legs, and wings). This would be an extremely easy undertaking to extract that data from the theme json, and to create a Data stats template.
- Monster abilities. Scripts would exist to extract the hero data, so it's likely not a huge difference to add similar scripts to pull monster abilities from their .properties/.json files.
- Note that monster game data would likely require monster disambiguation, as some of their (e.g., guardian) abilities share an identical in-game name to the hero's ability.
- Event targeting data. Information has been added to some event pages. (I extracted and added the theme event data, and others manually added targeting info for other events.)
- This could benefit from some similar automation (to extract the event targeting data and automatically update the wiki), as events change or get added.