Page cover

πŸ₯¦Ingredients

  • Adding more INGREDIENTSis very simple via the config.lua file

  • To add more INGREDIENTS to the supplies menu that a shop can access you but you must pass the shopName as the key for the event to determine which ingredients list to populate based on the shopName being passed


Config.Ingredients = {
    ['Example Shop'] = { -- the shopName must be the key
        {
            name = 'exampleitem1', -- the item name in your items.lua
            label = 'An Example Item', -- the item label for the menu
        },
        {
            name = 'exampleitem2', -- the item name in your items.lua
            label = 'Another Example Item', -- the item label for the menu
        },
    },
}

Last updated