Module:Buildables/data/dune man
Jump to navigation
Jump to search
Module:Buildables/data/...
Dataset for a single Buildables set.
Subpage title
The subpage title is the slug of the set's English name, derived via common.slugify() from Module:Common. It must exactly match the subpage used for MessageBundle:Buildables/<SET_SLUG>.
Examples:
dune_manchoam_facility
Schema
The dataset is a two-level table, first keyed by category slug, then containing an array of piece records.
For translation-compatibility, display strings are stored exclusively in MessageBundle:Buildables and MessageBundle:Buildables/<SET_SLUG>.
First key
Category (slugified). Valid categories:
structuralwallwedge_wallroofinclinespecial
Record fields
Each record is a table with the following fields:
- id
- string
- Unique slug identifying the piece within this set. Used to resolve
<ID>-nameagainst MessageBundle:Buildables for generic shared names (e.g.wall,floor), with automatic fallback to MessageBundle:Buildables/<SET_SLUG> for set-specific names.
- image
- string
- Filename of the piece icon image.
- source
- string
- A
Bundle:slugtoken identifying where the piece's source label is registered. The prefix is the exact case-sensitive MessageBundle name to resolve against. - Examples:
DLC:lost_harvestDLC:raiders_of_the_broken_lands
- health
- number
- Health points of the piece.
- costs
- table
- A table of building material costs, keyed by material name with integer values representing the required quantity.
- Examples:
{ ["Granite Stone"] = 10 }{ ["Granite Stone"] = 10, ["Iron Ingot"] = 20 }
return {
structural = {
{
id = "foundation",
image = "T_UI_IconPlacNeutDesertMechanicFoundation_D.png",
source = "DLC:lost_harvest",
health = 7000,
cost = {
["Granite Stone"] = 15,
},
},
{
id = "triangle_foundation",
image = "T_UI_IconPlacNeutMTXDesertMechanicFoundationWedge_D.png",
source = "DLC:lost_harvest",
health = 7000,
cost = {
["Granite Stone"] = 15,
},
},
{
id = "center_column",
image = "T_UI_IconPlacNeutMTXDesertMechanicColumn_D.png",
source = "DLC:lost_harvest",
health = 7000,
cost = {
["Granite Stone"] = 10,
},
},
{
id = "corner_column",
image = "T_UI_IconPlacNeutMTXDesertMechanicColumn_D.png",
source = "DLC:lost_harvest",
health = 7000,
cost = {
["Granite Stone"] = 10,
},
},
},
wall = {
{
id = "wall",
image = "T_UI_IconPlacNeutDesertMechanicWall_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
{
id = "wall_2",
image = "T_UI_IconPlacNeutMTXDesertMechanicWall02_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
{
id = "window",
image = "T_UI_IconPlacNeutMTXDesertMechanicWindow01_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
{
id = "prudence_door",
image = "T_UI_IconPlacNeutMTXDesertMechanicPrudenceDoorFrame_D.png",
source = "DLC:lost_harvest",
health = 4500,
cost = {
["Granite Stone"] = 10,
["Iron Ingot"] = 20,
},
},
{
id = "wide_door",
image = "T_UI_IconPlacNeutDesertMechanicDoor_D.png",
source = "DLC:lost_harvest",
health = 3500,
cost = {
["Granite Stone"] = 30,
},
},
{
id = "garage_door",
image = "T_UI_IconPlacNeutMTXDesertMechanic_GarageDoorBig_D.png",
source = "DLC:lost_harvest",
health = 3500,
cost = {
["Granite Stone"] = 30,
},
},
{
id = "passageway",
image = "T_UI_IconPlacNeutMTXDesertMechanicPrudenceDoorFrame02_D.png",
source = "DLC:lost_harvest",
health = 3500,
cost = {
["Granite Stone"] = 10,
},
},
},
wedge_wall = {
{
id = "triangle_wall_bottom_left",
image = "T_UI_IconPlacNeutMTXDesertMechanicWallTriangleBottomL_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
{
id = "triangle_wall_bottom_right",
image = "T_UI_IconPlacNeutMTXDesertMechanicWallTriangleBottomR_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
{
id = "triangle_wall_top_left",
image = "T_UI_IconPlacNeutMTXDesertMechanicWallTriangleTopL_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
{
id = "triangle_wall_top_right",
image = "T_UI_IconPlacNeutMTXDesertMechanicWallTriangleTopR_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
},
roof = {
{
id = "floor",
image = "T_UI_IconPlacNeutDesertMechanicFloor_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
{
id = "triangle_floor",
image = "T_UI_IconPlacNeutMTXDesertMechanicFloorWedge_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
{
id = "angled_roof",
image = "T_UI_IconPlacNeutMTXDesertMechanicRoof_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
{
id = "angled_roof_corner",
image = "T_UI_IconPlacNeutMTXDesertMechanicRoofCorner_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
{
id = "angled_roof_inwards_corner",
image = "T_UI_IconPlacNeutMTXDesertMechanicRoofCornerIn_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
},
incline = {
{
id = "stairs",
image = "T_UI_IconPlacNeutMTXDesertMechanicStair_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
{
id = "ramp",
image = "T_UI_IconPlacNeutMTXDesertMechanicRamp_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
},
special = {
{
id = "railing",
image = "T_UI_IconPlacNeutMTXDesertMechanicRailing_D.png",
source = "DLC:lost_harvest",
health = 5600,
cost = {
["Granite Stone"] = 10,
},
},
},
}