Difference between revisions of "User:FeralKitty/Game data"
From Wildermyth Wiki
FeralKitty (talk | contribs) (Identify why Poisoned category is appearing on Poisoned) |
FeralKitty (talk | contribs) (Status update) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''''Please note that this project is a work in progress | '''''Please note that this project is a work in progress. At this point, theme, theme ability, and status effect details have been extracted from the game files and uploaded to the wiki's Data templates.''''' | ||
For anyone who's wondering why this project came into existence, there | For anyone who's wondering why this project came into existence, there were several original objectives: | ||
* Help automatically keep wiki information up-to-data as new game builds are released, and abilities change or are added. | * 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. | * 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. | ** Improve navigation to related pages/information via consistent use of main article, see also, and navboxes, as needed. | ||
Since the theme proof of concept wasn't approved, the project will exclusively focus on extracting game data, while other contributors will take over updating pages. | |||
== Coding == | == Coding == | ||
== What has been done == | == What has been done == | ||
Line 28: | Line 26: | ||
** {{[[Template:Tooltip ability|Tooltip ability]]}} | ** {{[[Template:Tooltip ability|Tooltip ability]]}} | ||
* <s>Finalize [[Beartouched]], [[Beartouched/Bear Hug|Bear Hug]], [[Beartouched/Swipes|Swipes]], and [[Poisoned]] "proof of concept" pages.</s> Cancelled. | |||
* <s>Revise and/or approve of new look.</s> A different look was chosen that isn't based on automation. | |||
* <s>Roll out new look to all status effect and theme/theme ability pages.</s> Cancelled. | |||
* 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 | == What's next (short term) == | ||
* Extract and add hero ability data | * Extract and add hero ability data | ||
* Hero ability proof of concept | * <s>Hero ability proof of concept</s>. Cancelled. | ||
* Roll out new look for hero ability pages | * <s>Roll out new look for hero ability pages</s>. Cancelled. | ||
* Add [a-z] subpages for game data templates to improve performance. (MediaWiki recommends <=100 cases per switch statement.) | * 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. | * 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 | == What's next (medium term) == | ||
* Automate updating wiki with new game data (via bot), as new builds of the game are released. | * 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.) | * 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.) |
Latest revision as of 17:30, 9 February 2022
Please note that this project is a work in progress. At this point, theme, theme ability, and status effect details have been extracted from the game files and uploaded to the wiki's Data templates.
For anyone who's wondering why this project came into existence, there were several original 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.
Since the theme proof of concept wasn't approved, the project will exclusively focus on extracting game data, while other contributors will take over updating pages.
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}}
Finalize Beartouched, Bear Hug, Swipes, and Poisoned "proof of concept" pages.Cancelled.Revise and/or approve of new look.A different look was chosen that isn't based on automation.Roll out new look to all status effect and theme/theme ability pages.Cancelled.
What's next (short term)
- Extract and add hero ability data
Hero ability proof of concept. Cancelled.Roll out new look for hero ability pages. Cancelled.- 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)
- 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.