Difference between revisions of "User:FeralKitty/Game data"

From Wildermyth Wiki
(Identify why Poisoned category is appearing on Poisoned)
(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, 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.'''''
'''''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 are several objectives:
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 ==
* Do special handling for Shooting Star, Wrist Bolt
* Fix Fire Chicken damageType (constant 2 instead of ''x'')
* Fix Skunk Spray (missing damageType)
* Identify why Poisoned category is appearing on [[Poisoned]]


== What has been done ==
== What has been done ==
Line 28: Line 26:
** {{[[Template:Tooltip ability|Tooltip ability]]}}
** {{[[Template:Tooltip ability|Tooltip ability]]}}


== What's next (immediate future) ==
* <s>Finalize [[Beartouched]], [[Beartouched/Bear Hug|Bear Hug]], [[Beartouched/Swipes|Swipes]], and [[Poisoned]] "proof of concept" pages.</s> Cancelled.
* Finalize [[Beartouched]], [[Beartouched/Bear Hug|Bear Hug]], [[Beartouched/Swipes|Swipes]], and [[Poisoned]] "proof of concept" pages.
* <s>Revise and/or approve of new look.</s> A different look was chosen that isn't based on automation.
* Fix and/or extract any missing theme/theme ability data.
* <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 future) ==
== 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 future) ==
== 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

  • 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.