Module:Recipe/SN: Difference between revisions
SlyAceZeta (talk | contribs) (Undo revision 422343 by SlyCooperFan1 (talk)) Tag: Undo |
SlyAceZeta (talk | contribs) (Removing images from items where the image is just with Icon.png at the end; separating into categories; alphabetizing each category; adding a couple more items) |
||
Line 1: | Line 1: | ||
return { |
return { |
||
-- Materials |
|||
⚫ | |||
["copper"] = { |
|||
⚫ | |||
name = "Copper Ore" |
|||
}, |
}, |
||
[" |
["creepvinepiece"] = { |
||
name = " |
name = "Creepvine Sample", |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
["lead"] = { |
|||
name = "Lead" |
|||
⚫ | |||
}, |
}, |
||
["quartz"] = { |
["quartz"] = { |
||
name = "Quartz" |
name = "Quartz" |
||
image = "Quartz Icon.png" |
|||
}, |
}, |
||
["silver"] = { |
["silver"] = { |
||
name = "Silver Ore" |
name = "Silver Ore" |
||
image = "Silver Ore Icon.png" |
|||
}, |
}, |
||
[" |
["titanium"] = { |
||
name = " |
name = "Titanium" |
||
}, |
|||
-- Machines |
|||
["builder"] = { |
|||
⚫ | |||
machine = "fabricator", |
machine = "fabricator", |
||
⚫ | |||
recipe = { |
recipe = { |
||
{ " |
{ "wiringkit", 1 }, |
||
{ "computerchip", 1 }, |
|||
{ "battery", 1 } |
|||
⚫ | |||
}, |
|||
["fabricator"] = { |
|||
⚫ | |||
⚫ | |||
recipe = { |
|||
⚫ | |||
{ "gold", 1 }, |
|||
{ "jeweleddiskpiece", 1 } |
|||
} |
} |
||
}, |
}, |
||
-- Recipes |
|||
["doubletank"] = { |
["doubletank"] = { |
||
name = "High Capacity O₂ Tank", |
name = "High Capacity O₂ Tank", |
||
machine = "fabricator", |
machine = "fabricator", |
||
image = "High Capacity O₂ Tank Icon.png", |
|||
recipe = { |
recipe = { |
||
{ "tank", 1 }, |
{ "tank", 1 }, |
||
Line 38: | Line 51: | ||
{ "silver", 1 } |
{ "silver", 1 } |
||
} |
} |
||
⚫ | |||
["creepvinepiece"] = { |
|||
⚫ | |||
⚫ | |||
}, |
}, |
||
["fibermesh"] = { |
["fibermesh"] = { |
||
name = "Fiber Mesh", |
name = "Fiber Mesh", |
||
machine = "fabricator", |
machine = "fabricator", |
||
image = "Fiber Mesh Icon.png", |
|||
recipe = { |
recipe = { |
||
{ "creepvinepiece", 2 } |
{ "creepvinepiece", 2 } |
||
} |
} |
||
}, |
}, |
||
[" |
["glass"] = { |
||
name = " |
name = "Glass", |
||
machine = "fabricator", |
|||
recipe = { |
|||
{ "quartz", 2 } |
|||
} |
|||
}, |
|||
["radiationgloves"] = { |
|||
name = "Radiation Gloves", |
|||
⚫ | |||
⚫ | |||
}, |
|||
["radiationhelmet"] = { |
|||
name = "Radiation Helmet", |
|||
⚫ | |||
⚫ | |||
}, |
}, |
||
["radiationsuit"] = { |
["radiationsuit"] = { |
||
Line 65: | Line 86: | ||
additional = {"radiationhelmet", "radiationgloves"} |
additional = {"radiationhelmet", "radiationgloves"} |
||
}, |
}, |
||
[" |
["tank"] = { |
||
name = " |
name = "Standard O₂ Tank", |
||
machine = "fabricator", |
|||
recipe = { |
|||
⚫ | |||
{ "titanium" , 3 } |
|||
} |
|||
}, |
}, |
||
[" |
["wiringkit"] = { |
||
name = " |
name = "Wiring Kit", |
||
machine = "fabricator", |
|||
recipe = { |
|||
⚫ | |||
{ "silver", 2 } |
|||
} |
|||
} |
} |
||
} |
} |
Revision as of 23:58, 9 June 2022
This module contains all recipe information for every item in Subnautica. This data is used in Module:Recipe to output recipes on pages.
Each in-game item is represented by an Lua table object. The syntax for each object is below. All parameters are optional except name
.
["spawnID"] = {
name = "Item Name", -- the in-game name of the item
energy = #, -- the amount of energy the item adds to the Bioreactor
nuclear = #, -- the amount of energy the item adds to the Nuclear Reactor
icon = {
size = "1x1", -- "1x1", "1x2", "2x2", "3x3", "3x2", "2x3", "4x4"
bg = "default", -- "default", "aquatic plant", "land plant", "prawn arm"
file = "Item Name" -- if the transparent icon is not at "Item Name Icon.png"
},
image = "File Name.png", -- the direct file name if a transparent icon does not exist
machine = "spawnID", -- the machine the item is crafted or obtained through
recipe = {
{ "spawnID", # },
{ "spawnID", # }
},
original = "spawnID", -- if the item is made as part of a different item's recipe
additional = { -- if the item's recipe also makes other items
{ "spawnID", # },
{ "spawnID", # }
},
quantity = # -- if more than one of the item is made at the same time
},
return {
-- Materials
["copper"] = {
name = "Copper Ore"
},
["creepvinepiece"] = {
name = "Creepvine Sample",
image = "Creepvine Sample.png"
},
["lead"] = {
name = "Lead"
},
["quartz"] = {
name = "Quartz"
},
["silver"] = {
name = "Silver Ore"
},
["titanium"] = {
name = "Titanium"
},
-- Machines
["builder"] = {
name = "Habitat Builder",
machine = "fabricator",
recipe = {
{ "wiringkit", 1 },
{ "computerchip", 1 },
{ "battery", 1 }
}
},
["fabricator"] = {
name = "Fabricator",
machine = "builder",
recipe = {
{ "titanium", 1 },
{ "gold", 1 },
{ "jeweleddiskpiece", 1 }
}
},
-- Recipes
["doubletank"] = {
name = "High Capacity O₂ Tank",
machine = "fabricator",
recipe = {
{ "tank", 1 },
{ "glass", 2 },
{ "titanium", 4 },
{ "silver", 1 }
}
},
["fibermesh"] = {
name = "Fiber Mesh",
machine = "fabricator",
recipe = {
{ "creepvinepiece", 2 }
}
},
["glass"] = {
name = "Glass",
machine = "fabricator",
recipe = {
{ "quartz", 2 }
}
},
["radiationgloves"] = {
name = "Radiation Gloves",
image = "Radiation Gloves.png",
original = "radiationsuit"
},
["radiationhelmet"] = {
name = "Radiation Helmet",
image = "Radiation Helmet.png",
original = "radiationsuit"
},
["radiationsuit"] = {
name = "Radiation Suit",
machine = "fabricator",
image = "Radiation Suit.png",
recipe = {
{ "fibermesh", 2 },
{ "lead", 2 }
},
additional = {"radiationhelmet", "radiationgloves"}
},
["tank"] = {
name = "Standard O₂ Tank",
machine = "fabricator",
recipe = {
{ "titanium" , 3 }
}
},
["wiringkit"] = {
name = "Wiring Kit",
machine = "fabricator",
recipe = {
{ "silver", 2 }
}
}
}