Template:GathererHuts csv: Difference between revisions

From Against the Storm Official Wiki
(Created to store data on gatherers huts from the devs)
 
m (forgot to change the title)
Line 4: Line 4:
==Overview==
==Overview==


This template stores the CSV data for recipes as provided by the game developers.
This template stores the CSV data for gathering huts (non-wood camps) as provided by the game developers.


==Examples==
==Examples==

Revision as of 17:23, 21 November 2023

This article was last updated during version 0.63.2. The game is now in 1.4.17. 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 it.

Overview

This template stores the CSV data for gathering huts (non-wood 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:GathererHuts 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,workplace4,recipe1SeekedDeposits,recipe1Grade,recipe1GatheringTime,recipe2SeekedDeposits,recipe2Grade,recipe2GatheringTime,recipe3SeekedDeposits,recipe3Grade,recipe3GatheringTime,
Forager's Camp,Foragers' Camp,"An advanced camp. Can gather large and giant resource nodes in addition to small ones. Can collect:  Grain, Roots, Vegetables.",Camps,2,2,10 [Mat Raw] Wood,3 [Mat Processed] Parts,,14,1,True,False,8,10,Any,Any,,,[Food Raw] Grain,Grade2,17,[Food Raw] Roots,Grade2,17,[Food Raw] Vegetables,Grade2,17,
Harvester Camp,Harvesters' Camp,"An advanced camp. Can gather large and giant resource nodes in addition to small ones. Can collect:  Plant Fiber, Reed.",Camps,2,2,10 [Mat Raw] Wood,3 [Mat Processed] Parts,,14,1,True,False,8,10,Any,Any,,,[Mat Raw] Plant Fibre,Grade2,5,[Mat Raw] Reeds,Grade2,5,,,,
Herbalist's Camp,Herbalists' Camp,"An advanced camp. Can gather large and giant resource nodes in addition to small ones. Can collect:  Herbs, Berries, Mushrooms.",Camps,2,2,10 [Mat Raw] Wood,3 [Mat Processed] Parts,,14,1,True,False,8,10,Any,Any,,,[Food Raw] Herbs,Grade2,17,[Food Raw] Berries,Grade2,17,[Food Raw] Mushrooms,Grade2,17,
Primitive Forager's Camp,Small Foragers' Camp,"A small, crude version of a specialized camp. It's slower, and can only gather from small nodes. Can collect:  Grain, Roots, Vegetables.",Camps,2,2,10 [Mat Raw] Wood,3 [Mat Processed] Parts,,14,1,True,False,6,10,Any,Any,,,[Food Raw] Grain,Grade1,25,[Food Raw] Roots,Grade1,25,[Food Raw] Vegetables,Grade1,25,
Primitive Herbalist's Camp,Small Herbalists' Camp,"A small, crude version of a specialized camp. It's slower, and can only gather from small nodes. Can collect:  Herbs, Berries, Mushrooms.",Camps,2,2,10 [Mat Raw] Wood,3 [Mat Processed] Parts,,14,1,True,False,6,10,Any,Any,,,[Food Raw] Herbs,Grade1,25,[Food Raw] Berries,Grade1,25,[Food Raw] Mushrooms,Grade1,25,
Primitive Trapper's Camp,Small Trappers' Camp,"A small, crude version of a specialized camp. It's slower, and can only gather from small nodes. Can collect:  Meat, Insects, Eggs.",Camps,2,2,10 [Mat Raw] Wood,3 [Mat Processed] Parts,,14,1,True,False,6,10,Any,Any,,,[Food Raw] Meat,Grade1,25,[Food Raw] Insects,Grade1,25,[Food Raw] Eggs,Grade1,25,
Stonecutter's Camp,Stonecutters' Camp,"An advanced camp. Can gather large and giant resource nodes in addition to small ones. Can collect:  Stone, Clay, Sea Marrow.",Camps,2,2,10 [Mat Raw] Wood,3 [Mat Processed] Parts,,14,1,True,False,8,10,Any,Any,,,[Mat Raw] Stone,Grade2,5,[Mat Raw] Clay,Grade2,5,[Crafting] Sea Marrow,Grade2,5,
Trapper's Camp,Trappers' Camp,"An advanced camp. Can gather large and giant resource nodes in addition to small ones. Can collect:  Meat, Insects, Eggs.",Camps,2,2,10 [Mat Raw] Wood,3 [Mat Processed] Parts,,14,1,True,False,8,10,Any,Any,,,[Food Raw] Meat,Grade2,17,[Food Raw] Insects,Grade2,17,[Food Raw] Eggs,Grade2,17,