Template:GathererHuts csv: Difference between revisions

From Against the Storm Official Wiki
(Created to store data on gatherers huts from the devs)
 
(Adding fishing huts to this data as temporary fix)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Version|0.63.2}}
{{Version|1.4.15}}


==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==
Line 16: Line 16:
</noinclude><pre>
</noinclude><pre>
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,
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,
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.",Resource Gathering,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,,,,
Harvester Camp,Harvesters' Camp,"An advanced camp. Can gather large and giant resource nodes in addition to small ones. Can collect:  Plant Fiber, Reed, Leather.",Resource Gathering,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,[Mat Raw] Leather,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,
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.",Resource Gathering,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 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.",Resource Gathering,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 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.",Resource Gathering,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,
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.",Resource Gathering,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,
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.",Resource Gathering,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,
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.",Resource Gathering,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,
Fishing Hut,Fishing Hut,"An advanced fishing hut. Can fish in large ponds in addition to small ones. Can collect:  <sprite name=[food raw] fish> Fish (<sprite name=grade2>), <sprite name=[mat raw] scales> Scales (<sprite name=grade2>), <sprite name=[mat raw] algae> Algae (<sprite name=grade2>).",Resource Gathering,2,2,10 [Mat Raw] Wood,3 [Mat Processed] Parts,,14,1,True,False,6,0,Any,Any,Any,,[Food Raw] Fish,Grade2,15,[Mat Raw] Scales,Grade2,8,[Mat Raw] Algae,Grade2,8,
Primitive Fishing Hut,Small Fishing Hut,"A crude version of a normal fishing hut. It's slower, and can only fish in small ponds. Can collect:  <sprite name=[food raw] fish> Fish (<sprite name=grade1>), <sprite name=[mat raw] scales> Scales (<sprite name=grade1>), <sprite name=[mat raw] algae> Algae (<sprite name=grade1>).",Resource Gathering,2,2,10 [Mat Raw] Wood,3 [Mat Processed] Parts,,14,1,True,False,6,0,Any,Any,Any,,[Food Raw] Fish,Grade1,20,[Mat Raw] Scales,Grade1,12,[Mat Raw] Algae,Grade1,12,
</pre>
</pre>

Latest revision as of 14:32, 14 October 2024


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.",Resource Gathering,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, Leather.",Resource Gathering,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,[Mat Raw] Leather,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.",Resource Gathering,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.",Resource Gathering,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.",Resource Gathering,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.",Resource Gathering,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.",Resource Gathering,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.",Resource Gathering,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,
Fishing Hut,Fishing Hut,"An advanced fishing hut. Can fish in large ponds in addition to small ones. Can collect:  <sprite name=[food raw] fish> Fish (<sprite name=grade2>), <sprite name=[mat raw] scales> Scales (<sprite name=grade2>), <sprite name=[mat raw] algae> Algae (<sprite name=grade2>).",Resource Gathering,2,2,10 [Mat Raw] Wood,3 [Mat Processed] Parts,,14,1,True,False,6,0,Any,Any,Any,,[Food Raw] Fish,Grade2,15,[Mat Raw] Scales,Grade2,8,[Mat Raw] Algae,Grade2,8,
Primitive Fishing Hut,Small Fishing Hut,"A crude version of a normal fishing hut. It's slower, and can only fish in small ponds. Can collect:  <sprite name=[food raw] fish> Fish (<sprite name=grade1>), <sprite name=[mat raw] scales> Scales (<sprite name=grade1>), <sprite name=[mat raw] algae> Algae (<sprite name=grade1>).",Resource Gathering,2,2,10 [Mat Raw] Wood,3 [Mat Processed] Parts,,14,1,True,False,6,0,Any,Any,Any,,[Food Raw] Fish,Grade1,20,[Mat Raw] Scales,Grade1,12,[Mat Raw] Algae,Grade1,12,