Module:Vaults/doc

This module generates content for books. The byName generates a page for a single vault containing all in-game information, including rewards, obstacles, text, and ways to obtain it, as can be seen on pages such as Tombs of the Shadowless Kings. The list function generates a table of vaults with rewards and obstacles, as seen on the Vault page.

The data for the vaults is drawn from Module:Vaults/data and Module:Vaults/rewardsData. It also uses Module:Books/data, Module:Tools/data, and Module:Ingredients/data to handle rewards, and Module:Obstacles/data for obstacles. Additionally, it uses Module:Books/referenceData to add lore links to vault pages.