📄Config


Config = { }

Config.Setting = {
    Locale = 'en',
    Owned = true,                       -- false if you want to use as npc business
    UseTarget = true,
    Target = 'ox_target',
    BarWait = 5000,
    Debug = false,
    Title = 'Test Lable',
    Job = 'test',
    Images = 'nui://ox_inventory/web/images/',  -- Inventory images path
    Blip = {
        Display = true,
        Sprite = 106,
        Colour = 47,
        Scale = 0.9,
    }
}

Config.Storage = {
    Description = 'The company has a storage level that allows you to store a limited number of items. You can buy more storage by paying through your boss menu.',
    ['level1'] = {
        Title = 'Level 1',
        Capcity = 500,
        Price = 5000,
        Desc = 'Enhance your warehouse capacity to keep your business running smoothly without the need for frequent restocking.'
    },
    ['level2'] = {
        Title = 'Level 2',
        Capcity = 1000,
        Price = 10000,
        Desc = 'Enhance your warehouse capacity to keep your business running smoothly without the need for frequent restocking.'
    },
    ['level3'] = {
        Title = 'Level 3',
        Capcity = 3000,
        Price = 30000,
        Desc = 'Enhance your warehouse capacity to keep your business running smoothly without the need for frequent restocking.'
    }
}

Config.Shops = {
    ['test'] = {
        boss = vector3(-1192.2257, -902.1879, 13.999),
        cart = vector3(-1193.6538, -892.9305, 13.995),
        crafting = vector3(-1200.6918, -899.2653, 13.995),
        ingredients = vector3(-1202.8901, -895.6163, 13.995),
        management = vector3(-1197.0883, -893.7881, 13.995),
        jobrequest = vector3(-1177.9386, -891.4780, 13.7669)
    }
}

Config.Ingredients = {
    { name = 'baking_soda', label = 'Baking Soda' },
    { name = 'breadbun', label = 'Breadbun' },
    { name = 'cheese', label = 'Cheese' },

    -- More Items as job
}

Config.DefaultStock = {
    { name = 'bacon_double_cheeseburger', category = 'burger', label = 'Bacon Double Cheeseburger', price = 50, amount = 100 },
    { name = 'bacon_ham_sausage', category = 'burger', label = 'Fully Loaded Bacon Ham Sausage', price = 50, amount = 100 },
    { name = 'bacon_king', category = 'burger', label = 'Bacon King', price = 50, amount = 100 },

    -- More Items as job

}

Config.Items = {
    ['burger'] = {
        {
            name = 'bacon_double_cheeseburger',
            label = 'Bacon Double Cheeseburger',
            crafting = {
                reward = 5,
                requiredItems = {
                    { name = 'breadbun', label = 'Bread Bun', need = 1 },
                    { name = 'cheese', label = 'Cheese', need = 1 },
                    { name = 'chickenpatty', label = 'Chicken Patty', need = 1 },
                    { name = 'salt', label = 'Salt', need = 1 },
                    { name = 'tomato_slice', label = 'Tomato Slice', need = 1 },
                }
            }
        },
        -- More Items as job
    },
    ['drinks'] = {
        {
            name = 'juice',
            label = 'Juice',
            crafting = {
                reward = 3,
                requiredItems = {
                    { name = 'drinks_flavour', label = 'Drinks Flavour', need = 2 },
                    { name = 'sugar', label = 'Sugar', need = 1 },
                    { name = 'water', label = 'Water', need = 1 }
                }
            }
        },
        -- More Items as job
    }
}

Last updated