Module talk:DefInfo

From RimWorld Wiki
Revision as of 10:50, 3 March 2021 by ShySkream (talk | contribs) (Created introduction text to the DefInfo project)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

New DefInfo project

I've been working on a parser that would convert parts of rimworld's Def files (data on everything from work orders to megaspiders) into wiki readable code. This would allow pages and templates to pull data from this module, which I made a script for that allows me to collect all the data again automatically when the game updates. This would help a lot with keeping large tables up to date and allowing advanced functionality inside infoboxes.

There are several tasks I could use help with:

  • people with advanced knowledge of templates and/or moderate knowledge of LUA modules, to help with implementing such data
  • people with knowledge of how to properly cache pages on the wiki, as I'm worried if I do it wrong it would cause a large amount of server load
  • help writing the list of different elements found in defs that people would like to see. There are nearly a thousand different stat types for over three thousand defs, and while listing what is important to have on the wiki is easy, it does take time.

This new Module:DefInfo page will serve out the data if you pass it the defName of the thing you want as a parameter. I'm open for discussion in this discussion page, however you may have more luck contacting me (ShySkream) in the Wiki Discord.

Github page for parser code: https://github.com/ShySkream/Rimworld-Def-Parser

For an example implementation on another wiki, see https://terraria.gamepedia.com/Module:Npcinfo

--ShySkream (talk) 10:50, 3 March 2021 (UTC)