Template:Camps csv

From Against the Storm Official Wiki


Overview

This template stores the CSV data for woodcutters' camps 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:Camps 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,displayName,description,category,sizeX,sizeY,requiredGood1,requiredGood2,requiredGood3,constructionTime,cityScore,movable,initiallyEssential,area,storage,workplace1,workplace2,workplace3,
Woodcutters Camp,Woodcutters' Camp,Starting point for woodcutters going out into the wild to cut down trees.,Resource Gathering,2,2,2 [Mat Processed] Parts,,,15,1,True,False,8,10,Any,Any,Any,