kitchen.lua
This file controls the kitchen crafting system via Config.KitchenRecipes.
Each recipe defines:
id(also the reward item name)title&descriptionfor UIcooking timeenergy costrequired ingredients
Example (in code):
-- Example entry in Config.KitchenRecipes
Config.KitchenRecipes = {
["apple_pie"] = {
id = "apple_pie",
title = "Apple Pie",
description = "A warm homemade apple pie.",
time = 60, -- cooking time in seconds
energy = 10, -- energy cost
ingredients = {
{ item = "apple", amount = 3 },
{ item = "flour", amount = 1 },
{ item = "sugar", amount = 1 }
}
}
}