Config File

Config = {}

Config.Debug = false

-- New Failsafe Command to clear all props attached to the nearest food truck (locked behind job check)
Config.ClearGrillCommand = 'clearGrill'

-- New Export to clear all props attached to the nearby food truck (no job check)
-- example: exports['envi-foodtrucks']:ClearNearbyGrill()

Config.RealisticMode = false -- If false, the ingredients storage will be a shop where you can buy all needed ingredients
    -- If true, the ingredients storage will only be a storage and ingredients would come from elsewhere in your server!

Config.TargetDistance = 0.7   -- NOTE: QB-TARGET USERS: - set this to 1.5 to avoid conflicts with other interactions

Config.FoodTrucks = {
    [`voodoofoodtruck`] = {
        
        [1] = {  -- NEW -- ADDED SUPPORT FOR DIFFERENT LIVERIES PER FOOD TRUCK - LIVERY NUMBER GOES HERE
            ['label'] = 'burgershot Truck',
            ---
            ['society'] = {        ---------------- NEWLY ADDED IN 1.0.5 !!!!
                name = 'burgershot',
                payToSociety = true, -- if true, money from the order will go to the society account, if false, money will be given to the cashier who made the order
            },
            ---
            ['fridgeShop'] = {
                ['label'] = 'burgershot Truck Fridge',
                ['items'] = {
                    {
                        name = 'beer',
                        price = 9,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'water',
                        price = 5,
                        count = 500,
                        metadata = {},
                    },
                },
                ['groups'] = { -- Job / Gang Compatibility
                    burgershot = 0,
                    --ambulance = 0
                },
            },
            ['storage'] = {
                ['label'] = 'Storage',
                ['groups'] = { -- Job / Gang Compatibility
                    burgershot = 0,
                    --ambulance = 0
                },
            },
            ['cashRegister'] = {
                ['label'] = 'Cash Register',
                ['groups'] = { -- Job / Gang Compatibility
                    burgershot = 0,
                    --ambulance = 0
                },
            },
            ['cooking'] = {
                ['groups'] = { -- Job / Gang Compatibility
                    burgershot = 0,
                    --ambulance = 0
                },
                ['dishes'] = {  -- NEW IN 1.2.0 -- ADD ALL DISHES HERE (CRAFTABLES AND COOKABLES)
                    'bleeder',
                    'heartstopper',
                    'bacon_burger',
                    'burgerpatty',
                    'bacon',
                    'fries',
                }
            },
            ['shop'] = {  -- disabled when RealisticMode is true
                ['label'] = 'Ingredients Shop',
                ['items'] = {
                    {
                        name = 'cutted_potato',
                        price = 2,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'raw_burgerpatty',
                        price = 3,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'raw_bacon',
                        price = 3,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'burgerbun',
                        price = 1,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'cutted_lettuce',
                        price = 2,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'cheddar',
                        price = 2,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'cutted_tomato',
                        price = 2,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'cutted_onion',
                        price = 2,
                        count = 500,
                        metadata = {},
                    },
                },
                ['groups'] = { -- Job / Gang Compatibility
                    burgershot = 0,
                    --ambulance = 0
                },
            },
        },
    },

    [`voodootacotruck`] = {

        [1] = {  -- NEW -- ADDED SUPPORT FOR DIFFERENT LIVERIES PER FOOD TRUCK - LIVERY NUMBER GOES HERE
            ['label'] = 'Attack-A-Taco Truck',
                ---
                ['society'] = {        ---------------- NEWLY ADDED IN 1.0.5 !!!!
                name = 'taco',
                payToSociety = false, -- if true, money from the order will go to the society account, if false, money will be given to the cashier who made the order
            },
            ---
            ['fridgeShop'] = {
                ['label'] = 'Attack-A-Taco Truck Fridge',
                ['items'] = {
                    {
                        name = 'beer',
                        price = 9,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'water',
                        price = 5,
                        count = 500,
                        metadata = {},
                    },
                },
                ['groups'] = { -- Job / Gang Compatibility
                    taco = 0,
                    --ambulance = 0
                },
            },
            ['storage'] = {
                ['label'] = 'Storage',
                ['groups'] = { -- Job / Gang Compatibility
                    taco = 0,
                    --ambulance = 0
                },
            },
            ['cashRegister'] = {
                ['label'] = 'Cash Register',
                ['groups'] = { -- Job / Gang Compatibility
                    taco = 0,
                    --ambulance = 0
                },
            },
            ['cooking'] = {
                ['groups'] = { -- Job / Gang Compatibility
                    taco = 0,
                    --ambulance = 0
                },
                ['dishes'] = {  -- NEW IN 1.2.0 -- ADD ALL DISHES HERE (CRAFTABLES AND COOKABLES)
                    'taco_meat',
                    'taco',
                    'fries',
                }
            },
            ['shop'] = {  -- disabled when RealisticMode is true
                ['label'] = 'Ingredients Shop',
                ['items'] = {
                    {
                        name = 'cutted_potato',
                        price = 2,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'raw_taco',
                        price = 3,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'raw_bacon',
                        price = 3,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'taco_shell',
                        price = 1,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'cutted_lettuce',
                        price = 2,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'taco_sauce',
                        price = 2,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'cutted_tomato',
                        price = 2,
                        count = 500,
                        metadata = {},
                    },
                    {
                        name = 'cutted_onion',
                        price = 2,
                        count = 500,
                        metadata = {},
                    },
                },
                ['groups'] = { -- Job / Gang Compatibility
                    taco = 0,
                    --ambulance = 0
                },
            },
        },
    }
}

Config.Grades = {
    quality = {
        [0] = "Poor",
        [25] = "Bad",
        [50] = "Good",
        [75] = "Great",
        [100] = "Perfect"
    },
}

Config.Stations = {
    ['fryer'] = {
        name = "Fryer",
        grill = true,
        recipes = {
            ['fries'] = {
                amount = 1,
                ingredients = {
                    ['cutted_potato'] = 1
                },
                icon = 'french-fries',
                time = 18000
            }
        },
        max = 3
    },
    ['grill-1'] = {
        name = "Grill",
        grill = true,
        recipes = {
            ['burgerpatty'] = {
                amount = 1,
                ingredients = {
                    ['raw_burgerpatty'] = 1
                },
                icon = 'burger',
                time = 40000,
                propsName = '_burger', -- DONT TOUCH (or set to nil for no prop)
            },
            ['bacon'] = {
                amount = 1,
                ingredients = {
                    ['raw_bacon'] = 1
                },
                icon = 'bacon',
                time = 25000,
                propsName = '_bacon', -- DONT TOUCH (or set to nil for no prop)
            },
            ['taco_meat'] = {
                amount = 1,
                ingredients = {
                    ['raw_taco'] = 1
                },
                icon = 'burger',
                time = 25000,
                propsName = '_mince', -- DONT TOUCH (or set to nil for no prop)
            }
        },
        max = 6
    },
    ['assembly'] = {
        name = "Assembly",
        recipes = {
            ['bleeder'] = {
                amount = 1,
                description = "A Classic Burger with a little bit of everything!",
                ingredients = {
                    ['burgerbun'] = 1,
                    ['cutted_lettuce'] = 2,
                    ['cheddar'] = 1,
                    ['cutted_tomato'] = 1,
                    ['cutted_onion'] = 1,
                    ['burgerpatty'] = 2,
                },
                time = 5000,
            },
            ['heartstopper'] = {
                description = "Clogged FULL of Goodness!",
                amount = 1,
                ingredients = {
                    ['burgerbun'] = 1,
                    ['cutted_lettuce'] = 1,
                    ['cheddar'] = 4,
                    ['cutted_tomato'] = 1,
                    ['burgerpatty'] = 3
                },
                time = 5000,
            },
            ['bacon_burger']= {
                description = "A Classic Burger with extra bacon!",
                amount = 1,
                ingredients = {
                    ['burgerbun'] = 1,
                    ['cutted_onion'] = 1,
                    ['cheddar'] = 1,
                    ['burgerpatty'] = 1,
                    ['bacon'] = 2,
                }
            },
            ['taco'] = {
                amount = 1,
                ingredients = {
                    ['taco_meat'] = 1,
                    ['taco_shell'] = 1,
                    ['taco_sauce'] = 1,
                    ['cutted_onion'] = 1,
                }
            }
        }
    }
}

Config.MaxActiveOrders = 25
Config.CashRegisterItems = {
    {
        name = 'Burger',
        defaultPrice = 15,
    },
    {
        name = 'Taco',
        defaultPrice = 15,
    },
    {
        name = 'Bacon Burger',
        defaultPrice = 15,
    },
    {
        name = 'Fries',
        defaultPrice = 5,
    },
    {
        name = 'Beer',
        defaultPrice = 12,
    },
    {
        name = 'Soft Drink',
        defaultPrice = 7,
     },
}




--------------------------------------------------
Config.Lang = {
    ['PendingPayment'] = '[PENDING PAYMENT]',
    ['Paid'] = '[PAID]',
    ['PlacedOnGrill'] = 'Placed on grill',
    ['MissingIngredients'] = 'Your missing the correct ingredients',
    ['Cooked'] = 'Cooked',
    ['NotEnoughSpace'] = "You didn't have enough space!",
    ['HandsGrimey'] = 'Your hands start to get grimey',
    ['HandsClean'] = 'All washed up - Your hands are clean!',
    ['NoStorageAccess'] = 'You do not have access to this storage',
    ['IngredientsRequired'] = '🥩 Ingredients Required 🌿',
    ['IngredientsRequiredGrill'] = '🥩 Ingredients Required 🥔',
    ['SelectFood'] = 'Select Food',
    ['Empty'] = 'Empty',
    ['FlipFood'] = 'Flip Food',
    ['UseFryer'] = 'Use Fryer',
    ['UseGrill'] = 'Use Grill',
    ['UseSink'] = 'Use Sink',
    ['FoodTray1'] = 'Food Tray #1',
    ['FoodTray2'] = 'Food Tray #2', 
    ['FoodTray3'] = 'Food Tray #3',
    ['UsePrepArea'] = 'Use Prep Area',
    ['BuyIngredients'] = 'Buy Ingredients',
    ['OpenStorage'] = 'Open Storage',
    ['OpenFridge'] = 'Open Fridge',
    ['ItemAddedToOrder'] = 'Item added to order',
    ['FailedToAddItem'] = 'Failed to add item to order',
    ['RemovedFromOrder'] = 'Removed item from order',
    ['FailedToRemoveItem'] = 'Failed to remove item from order',
    ['OrderDeleted'] = 'Order #%d Deleted',
    ['FailedToDeleteOrder'] = 'Failed to Delete Order %d',
    ['OrderCreated'] = 'Order #%d Created!',
    ['FailedToCreateOrder'] = 'Failed to create order',
    ['NoOrders'] = 'No orders',
    ['NoActiveOrders'] = 'There are currently no active orders',
    ['BackToMainMenu'] = 'Back to Main Menu',
    ['BackToOrders'] = 'Back to Orders',
    ['BackToOrderDetails'] = 'Back to Order Details',
    ['BackToAllOrders'] = 'Back to All Orders',
    ['ActiveOrders'] = 'Active Orders',
    ['OrderDetails'] = 'Order #%d Details',
    ['OrderItemDetails'] = 'Order #%d Item Details',
    ['AddItem'] = 'Add Item',
    ['DeleteOrder'] = 'Delete Order',
    ['PayOrder'] = 'Pay Order',
    ['PayForOrder'] = 'Pay for this Order',
    ['CoverOrderCost'] = 'Cover the cost of the order yourself',
    ['ViewActiveOrders'] = 'View Active Orders',
    ['OrderUp'] = 'Order Up!',
    ['CreateNewOrder'] = 'Create New Order',
    ['CreateOrder'] = 'Create a new order',
    ['CashRegister'] = 'Cash Register',
    ['Checkout'] = 'Checkout',
    ['PaymentMethod'] = 'Payment Method',
    ['PaymentMethodDesc'] = 'Cash or Card',
    ['TipPercentage'] = 'Enter Tip %',
    ['TipPercentageDesc'] = '0 - 100%',
    ['MissingItem'] = 'Missing %d %s',
    ['OrderPaidWithTip'] = 'Order #%d has been paid - $%d (Tip: $%d)',
    ['OrderPaymentFailed'] = 'Order #%d Failed to Pay! - $%d',
}

Last updated