Template:Institutions Recipes csv

From Against the Storm Official Wiki

This page was last updated during version 0.63.2. The game is now in version 1.3.4. Some information may be out of date. Help us keep the wiki up to date by comparing this article against the patch notes and updating this page.

Overview

This template stores the CSV data for services as provided by the game developers.

Examples

You can use this wiki's data templates to retrieve the game data for use in any Lua module on this wiki. A utility module, CsvUtils processes the document for you, giving you just the CSV data, if you need to parse it yourself. Or, the utility module can split it for you into a Lua table.

To do this, you need these two lines in your Lua code:

  1. local CsvUtils = require("Module:CsvUtils")
  2. local luaTable, headerLookup = CsvUtils.extractTables(Template:Institutions Recipes csv)

If you need the raw CSV code for some reason, to process it differently, the method extractTables is a shortcut method that calls two methods you can instead call directly: extractCSV and luaTableFromCSV. However, this is not advised.

Data

What follows on the rest of this wiki page is the only content that gets transcluded, the raw data enclosed in a <pre> block:

id,gradeId,servedNeed,Good1,Good2,Good3,Good4,Good5,Good6,
Bloodthirst,Grade1,Brawling,1 [Needs] Training Gear,,,,,,
Education,Grade1,Education,1 [Needs] Scrolls,,,,,,
Leasiure,Grade1,Leisure,1 [Needs] Ale,,,,,,
Luxury,Grade1,Luxury,1 [Needs] Wine,,,,,,
Religion,Grade1,Religion,1 [Needs] Incense,,,,,,
Treatment,Grade1,Treatment,1 [Needs] Tea,,,,,,