Template:CraftingTable: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
! <abbr title="Buying price in Marks if it is sold at this outpost type">Mining Cost</abbr> | ! <abbr title="Buying price in Marks if it is sold at this outpost type">Mining Cost</abbr> | ||
! class="unsortable" | Description & Notes | ! class="unsortable" | Description & Notes | ||
! class="unsortable" style="width: {{#switch:{{{1|}}}| | ! class="unsortable" style="width: {{#switch:{{{1|}}}|rarematerial|organicmaterial=25|processedmaterial=10|mineralmaterial=50}}%;" | {{#ifeq:{{{1|}}}|processedmaterial|Crafting Requirements|Source}} | ||
{{#cargo_query: | {{#cargo_query: | ||
tables = Items | tables = Items | ||
| fields = name, icon, wikidescription, description, sources, type, organicmaterial, fabricatormaterials, fabricator, outpostmultiplier, citymultiplier, researchmultiplier, militarymultiplier, minemultiplier, outpostsold, citysold, researchsold, militarysold, minesold, baseprice, sources, fabricatormaterials, fabricatorskill, fabricatorskilllevel | | fields = name, icon, wikidescription, description, sources, type, organicmaterial, fabricatormaterials, fabricator, outpostmultiplier, citymultiplier, researchmultiplier, militarymultiplier, minemultiplier, outpostsold, citysold, researchsold, militarysold, minesold, baseprice, sources, fabricatormaterials, fabricatorskill, fabricatorskilllevel | ||
| where = type = "{{{1}}}" {{#ifeq:{{{1|}}}| | | where = type = "{{{1}}}" {{#ifeq:{{{1|}}}|organicmaterial|OR organicmaterial = "yes"|}} | ||
| format = template | | format = template | ||
| template = Crafting table/row | | template = Crafting table/row |
Revision as of 21:35, 18 June 2022
Table displaying Crafting Materials for the Crafting Materials page.
Sub Templates
Template in use
Mineral Materials
To show up here items must have:
materialtype
defined asmineral
.
{{Crafting table|tabletype=mineral}}
Material | Habitation Cost | Colony Cost | Research Cost | Military Cost | Mining Cost | Description & Notes | Source
Error: No field named "type" found for any of the specified database tables.
|
---|
Organic materials
To show up here items must have:
materialtype
defined asorganic
.
{{Crafting table|tabletype=organic}}
Material | Habitation Cost | Colony Cost | Research Cost | Military Cost | Mining Cost | Description & Notes | Source
Error: No field named "type" found for any of the specified database tables.
|
---|
Processed Materials
To show up here items must have:
materialtype
defined asprocessed
.
{{Crafting table|tabletype=processed}}
Material | Habitation Cost | Colony Cost | Research Cost | Military Cost | Mining Cost | Description & Notes | Source
Error: No field named "type" found for any of the specified database tables.
|
---|
Rare Materials
To show up here items must have:
materialtype
defined asrare
.
{{Crafting table|tabletype=rare}}
Material | Habitation Cost | Colony Cost | Research Cost | Military Cost | Mining Cost | Description & Notes | Source
Error: No field named "type" found for any of the specified database tables.
|
---|
The above documentation is transcluded from Template:CraftingTable/doc. (edit | history)