Module talk:DefInfo

From RimWorld Wiki
Revision as of 13:50, 14 March 2021 by Dr. Strangelove (talk | contribs)
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)

I'll use this as a "stable" version I won't be changing much so it can be used for testing. (Though nothing should be considered really stable at this point.)

Dr. Strangelove (talk) 12:23, 14 March 2021 (UTC)