Items & Ingredients
The business system relies on a supply chain of ingredients that are used to craft final products.
Ingredient Categories
Config.IngredientCategories = {
"Produce",
"Meat",
"Eggs",
"Flour",
"Bakery",
-- ...
}Defines how ingredients are grouped within the business management interface.
Farmer System
Farmers are NPC locations where business owners can purchase and collect bulk ingredients.
Config.Farmers = {
{
coords = vector4(192.2152, -1050.7498, 29.3520, 336.0807),
}
}- coords: The location where the Farmer NPC will spawn.
- Interaction: Players can interact with the farmer to collect pending ingredient orders purchased through the business app.
Item Metadata
Items crafted through the business app store metadata that dictates their effects and animations when used. This metadata is automatically managed by the script when an item is crafted.
Box Crafting & Containers
The Box Crafting system allows businesses to create bulk containers. These containers act as portable storage units within the player's inventory.
Bento Box
A generic premium container used for food storage.
- Item ID:
bento_box - Ingredient Required:
cardboard(x1) - Features:
- Portable Storage: Each Bento Box has its own 5-slot, 100kg persistent stash.
- Unique UUID: Every box receives a unique 10-character alphanumeric ID (e.g.,
A7K2B9X1Z3) upon crafting. - Usage: "Use" the item in your inventory to open its dedicated storage.