Module:Recipe/BZ: Difference between revisions

From Subnautica Wiki
(adding Energy)
(Adding all remaining raw materials, Copper Wire, and Computer Chip)
Line 7: Line 7:


-- Materials
-- Materials
["aluminumoxide"] = {
name = "Ruby"
},
["copper"] = {
["copper"] = {
name = "Copper Ore"
name = "Copper Ore"
Line 17: Line 20:
bg = "aquatic plant"
bg = "aquatic plant"
}
}
},
["creepvineseedcluster"] = {
name = "Creepvine Seed Cluster",
energy = 70,
icon = {
size = "2x2",
bg = "aquatic plant"
}
},
["deeplilyshroom"] = {
name = "Young Cotton Anemone",
energy = 210,
icon = {
bg = "aquatic plant"
}
},
["diamond"] = {
name = "Diamond"
},
["frozenriverplant2"] = {
name = "Frost Vase Plant",
energy = 140,
icon = {
bg = "land plant"
}
},
["genericribbon"] = {
name = "Ribbon Plant",
energy = 210,
icon = {
bg = "aquatic plant"
}
},
["gold"] = {
name = "Gold"
},
["heatfruit"] = {
name = "Fevered Pepper",
energy = 175,
icon = {
size = "1x2",
bg = "land plant"
}
},
["jellyplant"] = {
name = "Gel Sack",
energy = 245,
icon = {
bg = "aquatic plant"
}
},
["jeweleddiskpiece"] = {
name = "Table Coral Sample",
energy = 70
},
["kelprootpustule"] = {
name = "Root Pustule",
energy = 700,
icon = {
bg = "aquatic plant",
file = "Root Globule Icon.png"
}
},
["kyanite"] = {
name = "Kyanite"
},
},
["lead"] = {
["lead"] = {
name = "Lead"
name = "Lead"
},
["lilypadresource"] = {
name = "Flowering Spore",
energy = 75
},
["lithium"] = {
name = "Lithium"
},
["magnetite"] = {
name = "Magnetite"
},
["nickel"] = {
name = "Nickel Ore"
},
["precursorioncrystal"] = {
name = "Ion Cube"
},
},
["quartz"] = {
["quartz"] = {
name = "Quartz"
name = "Quartz"
},
["salt"] = {
name = "Salt Deposit"
},
},
["scrapmetal"] = {
["scrapmetal"] = {
Line 32: Line 119:
["silver"] = {
["silver"] = {
name = "Silver Ore"
name = "Silver Ore"
},
["snowball"] = {
name = "Snowball"
},
["snowstalkerfur"] = {
name = "Snow Stalker Fur"
},
["snowstalkerplantleaf"] = {
name = "Preston's Plant Leaf",
energy = 70
},
["sulphur"] = {
name = "Crystalline Sulfur"
},
["titanium"] = {
name = "Titanium"
},
["uraninitecrystal"] = {
name = "Uraninite Crystal"
},
},
Line 65: Line 171:
-- Recipes
-- Recipes
["computerchip"] = {
name = "Computer Chip",
machine = "fabricator",
recipe = {
{ "jeweleddiskpiece", 2 },
{ "gold", 1 },
{ "copperwire", 1 }
}
},
["copperwire"] = {
name = "Copper Wire",
machine = "fabricator",
recipe = {
{ "copper", 2 }
}
},
["doubletank"] = {
["doubletank"] = {
name = "High Capacity O₂ Tank",
name = "High Capacity O₂ Tank",

Revision as of 07:49, 24 July 2022

This module contains all recipe information for every item in Subnautica: Below Zero. 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 {
	-- Energy
	["energy"] = {
		name = "Energy",
		image = "Energy.png"
	},

	-- Materials
	["aluminumoxide"] = {
		name = "Ruby"
	},
	["copper"] = {
		name = "Copper Ore"
	},
	["creepvinepiece"] = {
		name = "Creepvine Sample",
		energy = 210,
		icon = {
			size = "2x2",
			bg = "aquatic plant"
		}
	},
	["creepvineseedcluster"] = {
		name = "Creepvine Seed Cluster",
		energy = 70,
		icon = {
			size = "2x2",
			bg = "aquatic plant"
		}
	},
	["deeplilyshroom"] = {
		name = "Young Cotton Anemone",
		energy = 210,
		icon = {
			bg = "aquatic plant"
		}
	},
	["diamond"] = {
		name = "Diamond"
	},
	["frozenriverplant2"] = {
		name = "Frost Vase Plant",
		energy = 140,
		icon = {
			bg = "land plant"
		}
	},
	["genericribbon"] = {
		name = "Ribbon Plant",
		energy = 210,
		icon = {
			bg = "aquatic plant"
		}
	},
	["gold"] = {
		name = "Gold"
	},
	["heatfruit"] = {
		name = "Fevered Pepper",
		energy = 175,
		icon = {
			size = "1x2",
			bg = "land plant"
		}
	},
	["jellyplant"] = {
		name = "Gel Sack",
		energy = 245,
		icon = {
			bg = "aquatic plant"
		}
	},
	["jeweleddiskpiece"] = {
		name = "Table Coral Sample",
		energy = 70
	},
	["kelprootpustule"] = {
		name = "Root Pustule",
		energy = 700,
		icon = {
			bg = "aquatic plant",
			file = "Root Globule Icon.png"
		}
	},
	["kyanite"] = {
		name = "Kyanite"
	},
	["lead"] = {
		name = "Lead"
	},
	["lilypadresource"] = {
		name = "Flowering Spore",
		energy = 75
	},
	["lithium"] = {
		name = "Lithium"
	},
	["magnetite"] = {
		name = "Magnetite"
	},
	["nickel"] = {
		name = "Nickel Ore"
	},
	["precursorioncrystal"] = {
		name = "Ion Cube"
	},
	["quartz"] = {
		name = "Quartz"
	},
	["salt"] = {
		name = "Salt Deposit"
	},
	["scrapmetal"] = {
		name = "Metal Salvage",
		icon = {
			size = "2x2"
		}
	},
	["silver"] = {
		name = "Silver Ore"
	},
	["snowball"] = {
		name = "Snowball"
	},
	["snowstalkerfur"] = {
		name = "Snow Stalker Fur"
	},
	["snowstalkerplantleaf"] = {
		name = "Preston's Plant Leaf",
		energy = 70
	},
	["sulphur"] = {
		name = "Crystalline Sulfur"
	},
	["titanium"] = {
		name = "Titanium"
	},
	["uraninitecrystal"] = {
		name = "Uraninite Crystal"
	},
	
	-- Machines
	["basebioreactor"] = {
		name = "Bioreactor",
		image = "Bioreactor.png",
		machine = "builder",
		recipe = {
			{ "titanium", 3 },
			{ "wiringkit", 1 },
			{ "lubricant", 1 }
		}
	},
	["builder"] = {
		name = "Habitat Builder",
		machine = "fabricator",
		recipe = {
			{ "wiringkit", 1 },
			{ "computerchip", 1 },
			{ "battery", 1 }
		}
	},
	["fabricator"] = {
		name = "Fabricator",
		machine = "builder",
		recipe = {
			{ "titanium", 2 },
			{ "copper", 2 },
			{ "quartz", 2 }
		}
	},
	
	-- Recipes
	["computerchip"] = {
		name = "Computer Chip",
		machine = "fabricator",
		recipe = {
			{ "jeweleddiskpiece", 2 },
			{ "gold", 1 },
			{ "copperwire", 1 }
		}
	},
	["copperwire"] = {
		name = "Copper Wire",
		machine = "fabricator",
		recipe = {
			{ "copper", 2 }
		}
	},
	["doubletank"] = {
		name = "High Capacity O₂ Tank",
		machine = "fabricator",
		recipe = {
			{ "tank", 1 },
			{ "glass", 2 },
			{ "titanium", 4 },
			{ "silver", 1 }
		},
		icon = {
			size = "2x3"
		}
	},
	["fibermesh"] = {
		name = "Fiber Mesh",
		machine = "fabricator",
		recipe = {
			{ "creepvinepiece", 2 }
		}
	},
	["glass"] = {
		name = "Glass",
		machine = "fabricator",
		recipe = {
			{ "quartz", 2 }
		}
	},
	["lubricant"] = {
		name = "Lubricant",
		energy = 20,
		machine = "fabricator",
		recipe = {
			{ "creepvineseedcluster", 1 }
		}
	},
	["tank"] = {
		name = "Standard O₂ Tank",
		machine = "fabricator",
		recipe = {
			{ "titanium", 2 },
			{ "fibermesh", 1 }
		},
		icon = {
			size = "2x3"
		}
	},
	["titanium"] = {
		name = "Titanium",
		machine = "fabricator",
		recipe = {
			{ "scrapmetal", 1 }
		}
	},
	["wiringkit"] = {
		name = "Wiring Kit",
		machine = "fabricator",
		recipe = {
			{ "silver", 2 }
		}
	}
}