Configuration
Main Configuration (config.lua)
Basic Settings
Config.devMode = true -- Enable debug mode
Config.Framework = 'qb' -- Framework type (qb/ox)
Config.Inventory = 'qb' -- Inventory system (qb/ox)Creator Settings
Config.Creator = {
Command = "crest", -- Command to open restaurant creator
Job = 'realestate' -- Job required to use creator
}Fried Models Configuration
Defines items that can be cooked in fryers:
Config.FriedModels = {
['frenchfries'] = {
item = 'frenchfriesbag', -- Raw item name
label = 'French Fries Bag', -- Display name
burntLabel = 'Burnt French Fries', -- Burnt item name
rewardItem = 'frenchfries', -- Cooked item name
count = 2, -- Quantity produced
model = 'sn_frenchfries', -- 3D model name
plateModel = 'sn_frenchfries_extended', -- Plate model
duration = 5000, -- Cooking time (ms)
offset = vector3(0.0, 0.0, 0.0), -- Model position offset
rotation = vector3(0.0, 0.0, 0.0), -- Model rotation
basketOffset = vector3(0.0, 0.0, 0.2), -- Basket position
basketRotation = vector3(100.0, 0.0, -16.0), -- Basket rotation
fryerOffsets = { -- Fryer slot positions
inside = { ... }, -- Inside fryer positions
basket = { ... } -- Basket positions
}
}
}Meat Models Configuration
Defines items that can be cooked on grills:
Restaurant Configuration
Defines restaurant locations and equipment:
Music Configuration
Supply Delivery Configuration
Ticket System Configuration
Role Access Configuration
Model Configuration
Sound Effects Configuration
Cooking Items Configuration (config_cookingitems.lua)
Defines all items that can be used in cooking:
Options:
item: Item identifierlabel: Display nameinput: Can be used as cooking ingredientoutput: Is a cooked/finished product
Shop Items Configuration (config_shopitems.lua)
Defines items available in the supply shop:
Options:
id: Unique item identifiername: Display namedescription: Item descriptionprice: Item pricecategory: Item category (ingredients, vegetables, dairy, sides, beverages)image: Item image URLstock: Available quantityrating: Item rating (1-5 stars)
Usables Configuration (config_usables.lua)
Defines how items can be consumed:
Options:
type: Item type (foodordrink)hunger: Hunger points restored (food items)thirst: Thirst points restored (drink items)anim: Animation configurationdict: Animation dictionaryanim: Animation nameduration: Animation duration (-1 for infinite)object: Animation object modelbone: Bone attachment pointoffsets: Position and rotation offsets
All configuration files are loaded automatically when the resource starts.
Last updated