Module:Recipe/SN

From Subnautica Wiki
< Module:Recipe
Revision as of 06:32, 25 June 2022 by SlyAceZeta (talk | contribs) (Adding Equipment and any missing resources for them)

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
	["acidmushroom"] = {
		name = "Acid Mushroom",
		energy = 210,
		icon = {
			bg = "aquatic plant"
		}
	},
	["aluminumoxide"] = {
		name = "Ruby"
	},
	["bloodoil"] = {
		name = "Blood Oil",
		energy = 420,
		icon = {
			size = "2x2",
			bg = "aquatic plant"
		}
	},
	["copper"] = {
		name = "Copper Ore"
	},
	["coralchunk"] = {
		name = "Coral Tube Sample",
		energy = 70
	},
	["crashpowder"] = {
		name = "Cave Sulfur"
	},
	["creepvinepiece"] = {
		name = "Creepvine Sample",
		energy = 210,
		image = "Creepvine Sample.png"
	},
	["creepvineseedcluster"] = {
		name = "Creepvine Seed Cluster",
		energy = 70,
		image = "Creepvine Seed Cluster.png"
	},
	["diamond"] = {
		name = "Diamond"
	},
	["gaspod"] = {
		name = "Gas Pod",
		image = "Gas Pod.png"
	},
	["gold"] = {
		name = "Gold"
	},
	["jellyplant"] = {
		name = "Gel Sack",
		energy = 245,
		icon = {
			bg = "aquatic plant"
		}
	},
	["jeweleddiskpiece"] = {
		name = "Table Coral Sample"
	},
	["kyanite"] = {
		name = "Kyanite"
	},
	["lead"] = {
		name = "Lead"
	},
	["lithium"] = {
		name = "Lithium"
	},
	["magnetite"] = {
		name = "Magnetite"
	},
	["nickel"] = {
		name = "Nickel Ore"
	},
	["pinkmushroom"] = {
		name = "Pink Cap",
		energy = 105,
		image = "Pink Cap.png"
	},
	["precursorioncrystal"] = {
		name = "Ion Cube"
	},
	["purplerattle"] = {
		name = "Speckled Rattler",
		energy = 140,
		image = "Speckled Rattler.png"
	},
	["quartz"] = {
		name = "Quartz"
	},
	["scrapmetal"] = {
		name = "Metal Salvage",
		icon = {
			size = "2x2"
		}
	},
	["seatreaderpoop"] = {
		name = "Alien Feces",
		energy = 300,
		image = "Sea Treader Feces.png"
	},
	["silver"] = {
		name = "Silver Ore"
	},
	["smallmelon"] = {
		name = "Small Marblemelon",
		energy = 280,
		icon = {
			bg = "land plant"
		}
	},
	["stalkertooth"] = {
		name = "Stalker Teeth",
		energy = 70,
		image = "Stalker Tooth.png"
	},
	["sulphur"] = {
		name = "Crystalline Sulfur"
	},
	["treemushroompiece"] = {
		name = "Fungal Sample",
		energy = 70,
		image = "Fungal Sample.png"
	},
	["uraninitecrystal"] = {
		name = "Uraninite Crystal"
	},
	["whitemushroom"] = {
		name = "Deep Shroom",
		energy = 210,
		icon = {
			bg = "aquatic plant"
		}
	},
	
	-- 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 }
		}
	},
	["workbench"] = {
		name = "Modification Station",
		machine = "builder",
		recipe = {
			{ "computerchip", 1 },
			{ "titanium", 1 },
			{ "diamond", 1 },
			{ "lead", 1 }
		}
	},
	
	-- Recipes
	["advancedwiringkit"] = {
		name = "Advanced Wiring Kit",
		machine = "fabricator",
		recipe = {
			{ "wiringkit", 1 },
			{ "gold", 2 },
			{ "computerchip", 1 }
		}
	},
	["aerogel"] = {
		name = "Aerogel",
		machine = "fabricator",
		recipe = {
			{ "jellyplant", 1 },
			{ "aluminumoxide", 1 }
		}
	},
	["aramidfibers"] = {
		name = "Synthetic Fibers",
		machine = "fabricator",
		recipe = {
			{ "benzene", 1 },
			{ "fibermesh", 1 }
		}
	},
	["battery"] = {
		name = "Battery",
		machine = "fabricator",
		recipe = {
			{ "acidmushroom", 2 },
			{ "copper", 1 }
		}
	},
	["benzene"] = {
		name = "Benzene",
		machine = "fabricator",
		recipe = {
			{ "bloodoil", 3 }
		}
	},
	["bleach"] = {
		name = "Bleach",
		machine = "fabricator",
		recipe = {
			{ "salt", 1 },
			{ "coralchunk", 1 }
		}
	},
	["compass"] = {
		name = "Compass",
		machine = "fabricator",
		recipe = {
			{ "copperwire", 1 },
			{ "wiringkit", 1 }
		}
	},
	["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"
		}
	},
	["enamledglass"] = {
		name = "Enameled Glass",
		machine = "fabricator",
		recipe = {
			{ "stalkertooth", 1 },
			{ "glass", 1 }
		}
	},
	["fibermesh"] = {
		name = "Fiber Mesh",
		machine = "fabricator",
		recipe = {
			{ "creepvinepiece", 2 }
		}
	},
	["fins"] = {
		name = "Fins",
		machine = "fabricator",
		recipe = {
			{ "silicone", 2 }
		},
		icon = {
			size = "2x2"
		}
	},
	["fireextinguisher"] = {
		name = "Fire Extinguisher",
		machine = "fabricator",
		recipe = {
			{ "titanium", 3 }
		}
	},
	["firstaidkit"] = {
		name = "First Aid Kit",
		machine = "fabricator",
		recipe = {
			{ "fibermesh", 1 }
		}
	},
	["glass"] = {
		name = "Glass",
		machine = "fabricator",
		recipe = {
			{ "quartz", 2 }
		}
	},
	["highcapacitytank"] = {
		name = "Ultra High Capacity Tank",
		machine = "workbench",
		recipe = {
			{ "doubletank", 1 },
			{ "lithium", 4 }
		},
		icon = {
			size = "3x3"
		}
	},
	["hydrochloricacid"] = {
		name = "Hydrochloric Acid",
		machine = "fabricator",
		recipe = {
			{ "whitemushroom", 3 },
			{ "salt", 1 }
		}
	},
	["lubricant"] = {
		name = "Lubricant",
		energy = 20,
		machine = "fabricator",
		recipe = {
			{ "creepvineseedcluster", 1 }
		}
	},
	["pipe"] = {
		name = "Pipe",
		machine = "fabricator",
		recipe = {
			{ "titanium", 2 }
		},
		quantity = 5
	},
	["pipesurfacefloater"] = {
		name = "Floating Air Pump",
		machine = "fabricator",
		recipe = {
			{ "titanium", 2 }
		}
	},
	["plasteelingot"] = {
		name = "Plasteel Ingot",
		machine = "fabricator",
		recipe = {
			{ "titaniumingot", 1 },
			{ "lithium", 2 }
		}
	},
	["plasteeltank"] = {
		name = "Lightweight High Capacity Tank",
		machine = "workbench",
		recipe = {
			{ "doubletank", 1 },
			{ "plasteelingot", 1 }
		},
		icon = {
			size = "2x3"
		}
	},
	["polyaniline"] = {
		name = "Polyaniline",
		machine = "fabricator",
		recipe = {
			{ "gold", 1 },
			{ "hydrochloricacid", 1 }
		}
	},
	["powercell"] = {
		name = "Power Cell",
		machine = "fabricator",
		recipe = {
			{ "battery", 2 },
			{ "silicone", 1 }
		}
	},
	["precursorionbattery"] = {
		name = "Ion Battery",
		machine = "fabricator",
		recipe = {
			{ "precursorioncrystal", 1 },
			{ "gold", 1 },
			{ "silver", 1 }
		}
	},
	["precursorionpowercell"] = {
		name = "Ion Power Cell",
		machine = "fabricator",
		recipe = {
			{ "precursorionbattery", 2 },
			{ "silicone", 1 }
		}
	},
	["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 }
		},
		icon = {
			size = "2x2"
		},
		additional = {
			{ "radiationhelmet", 1 },
			{ "radiationgloves", 1 }
		}
	},
	["reactorrod"] = {
		name = "Reactor Rod",
		nuclear = 20000,
		machine = "fabricator",
		recipe = {
			{ "uraninitecrystal", 3 },
			{ "lead", 1 },
			{ "titanium", 1 },
			{ "glass", 1 }
		}
	},
	["rebreather"] = {
		name = "Rebreather",
		machine = "fabricator",
		recipe = {
			{ "wiringkit", 1 },
			{ "fibermesh", 1 }
		}
	},
	["reinforceddivesuit"] = {
		name = "Reinforced Dive Suit",
		image = "Reinforced Dive Suit.png",
		machine = "fabricator",
		recipe = {
			{ "aramidfibers", 1 },
			{ "diamond", 2 },
			{ "titanium", 2 }
		},
		additional = {
			{ "reinforcedgloves", 1 }
		}
	},
	["reinforcedgloves"] = {
		name = "Reinforced Gloves",
		original = "reinforceddivesuit",
		icon = {
			size = "2x2"
		}
	},
	["salt"] = {
		name = "Salt Deposit",
		original = "bigfilteredwater"
	},
	["silicone"] = {
		name = "Silicone Rubber",
		machine = "fabricator",
		recipe = {
			{ "creepvineseedcluster", 1 }
		},
		quantity = 2
	},
	["stillsuit"] = {
		name = "Stillsuit",
		image = "Stillsuit.png",
		machine = "fabricator",
		recipe = {
			{ "aramidfibers", 1 },
			{ "aerogel", 1 },
			{ "copperwire", 1 }
		}
	},
	["swimchargefins"] = {
		name = "Swim Charge Fins",
		machine = "workbench",
		recipe = {
			{ "fins", 1 },
			{ "polyaniline", 1 },
			{ "wiringkit", 1 }
		},
		icon = {
			size = "2x2"
		},
	},
	["tank"] = {
		name = "Standard O₂ Tank",
		machine = "fabricator",
		recipe = {
			{ "titanium" , 3 }
		},
		icon = {
			size = "2x3"
		}
	},
	["titanium"] = {
		name = "Titanium",
		machine = "fabricator",
		recipe = {
			{ "scrapmetal", 1 }
		},
		quantity = 4
	},
	["titaniumingot"] = {
		name = "Titanium Ingot",
		machine = "fabricator",
		recipe = {
			{ "titanium", 10 }
		}
	},
	["ultraglidefins"] = {
		name = "Ultra Glide Fins",
		machine = "workbench",
		recipe = {
			{ "fins", 1 },
			{ "silicone", 2 },
			{ "titanium", 1 },
			{ "lithium", 1 }
		},
		icon = {
			size = "2x2"
		}
	},
	["wiringkit"] = {
		name = "Wiring Kit",
		machine = "fabricator",
		recipe = {
			{ "silver", 2 }
		}
	}
}