Difference between revisions of "Module talk:DefInfo"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
 
Line 20: Line 20:
 
I'll use this as a "stable" version I won't be changing much so it can be used for testing.
 
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.)
 
(Though nothing should be considered really stable at this point.)
 +
:[[User:Dr. Strangelove|Dr. Strangelove]] ([[User talk:Dr. Strangelove|talk]]) 12:23, 14 March 2021 (UTC)
  
:[[User:Dr. Strangelove|Dr. Strangelove]] ([[User talk:Dr. Strangelove|talk]]) 12:23, 14 March 2021 (UTC)
+
I'm looking into making the parser myself. Because of this and other things, my new mindset is: "it will happen if/when it happens." Everything that needs to be solved/done is interesting, so I'm still optimistic it will be done, eventually. Lua Module is not complete but I need more data, so, parser.
 +
:[[User:Dr. Strangelove|Dr. Strangelove]] ([[User talk:Dr. Strangelove|talk]]) 14:09, 21 April 2021 (UTC)

Latest revision as of 14:09, 21 April 2021

New DefInfo project[edit]

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)

I'm looking into making the parser myself. Because of this and other things, my new mindset is: "it will happen if/when it happens." Everything that needs to be solved/done is interesting, so I'm still optimistic it will be done, eventually. Lua Module is not complete but I need more data, so, parser.

Dr. Strangelove (talk) 14:09, 21 April 2021 (UTC)