QB-Witchcraft Script

You decide how much to pay.

QB-Witchcraft Script

Package Description

Demo Video: https://youtu.be/JCX5qnQA6S8

# QB-WITCHCRAFT

This resource is intended to bring a fun, more magical, experience to any FiveM city. Config is completely customizable to change locations, potion recipes, items to use, and more.

This resource uses FiveM escrow encryption

# Features:

- Particles synced between players

    - All players will see the particles that you create such as the smoke potion and potion casting

- Configurable locations and features

- Changable potion recipes

- Optional mineshaft opening with mining functionality to get gems

- Optional field to get flowers/herbs for potion ingredients

- Multiple locations and options for potion crafting locations

- Optional ring of fire (only visual does not burn you) when crafting (synced for all players)

- Language translation options in config

# WARNING: These potions can make some players have a very unfair advantage in some RP situations, use at your own risk and rules

It is HIGHLY advised that you know how to add some code into the optional scripts to have a better experience. Limited help is available in my discord server: https://discord.gg/B9ZxYUtZzv

# Dependencies

qb-core -- (Required) Obviously

qb-menu -- (Required) Needed to open the base menu

The rest are optional but highly reccomended if you want to use all the features

qb-adminmenu -- Uses the teleport functionality of going to waypoint

qb-clothing -- Uses the set player skin to go back to normal from peyote potion

qb-weathersync -- Setting weather and time

qb-inventory -- Show the duration of the potions in the bottom right

qb-shops -- Optional add a shop with aspect modifiers you can get

# Inventory display (Optional)

## Add into qb-inventory > html/js/app.js > function FormatItemInfo (near line 572 after "labkey")

Just match what the other options are doing

```

    } else if (itemData.type == "potion") { 

        $(".item-info-title").html("<p>" + itemData.label +"</p>");

        $(".item-info-description").html(

            "<p><strong>Duration: </strong><span>"+

            itemData.info.duration +

            " seconds</span></p>" +

            "</br>" + 

            "<p><strong>Modifier: </strong><span>"+

            itemData.info.modifier +

            "</span></p>"

        );

    }

```

# Optional item shop to get aspect modifiers (Optional)

If you don't use this then its up to you to figure out how players will get these items

## Insert into qb-shops > config.lua > Config.Products

```

    ["witch"] = {

        [1] = {

            name = "cinnamonsticks",

            price = 10,

            amount = 50,

            info = {},

            type = "item",

            slot = 1,

        },

        [2] = {

            name = "bayleaf",

            price = 15,

            amount = 50,

            info = {},

            type = "item",

            slot = 2,

        },

        [3] = {

            name = "sandalwood",

            price = 25,

            amount = 50,

            info = {},

            type = "item",

            slot = 3,

        },

        [4] = {

            name = "patchouli",

            price = 50,

            amount = 50,

            info = {},

            type = "item",

            slot = 4,

        },

        [5] = {

            name = "quartz",

            price = 75,

            amount = 50,

            info = {},

            type = "item",

            slot = 5,

        },

        [6] = {

            name = "turtleshell",

            price = 250,

            amount = 50,

            info = {},

            type = "item",

            slot = 6,

        },

        [7] = {

            name = "whitecrystal",

            price = 300,

            amount = 50,

            info = {},

            type = "item",

            slot = 7,

        },

        [8] = {

            name = "tigerseye",

            price = 500,

            amount = 50,

            info = {},

            type = "item",

            slot = 8,

        },

        [9] = {

            name = "fairydust",

            price = 5,

            amount = 200,

            info = {},

            type = "item",

            slot = 9,

        },

        [10] = {

            name = "sharkfin",

            price = 500,

            amount = 200,

            info = {},

            type = "item",

            slot = 10,

        },

        [11] = {

            name = "rabbitsfoot",

            price = 500,

            amount = 200,

            info = {},

            type = "item",

            slot = 11,

        },

        [12] = {

            name = "emptybottle",

            price = 5,

            amount = 200,

            info = {},

            type = "item",

            slot = 12,

        }

    }

```

## Add into qb-shops > config.lua > Config.Locations (Optional)

```

    -- witch shop

    ["witch"] = {

        ["label"] = "Cauldron Corner",

        ["coords"] = vector4(402.16, -338.79, 46.97, 166.22),

        ["ped"] = 'mp_m_shopkeep_01',

        ["scenario"] = "WORLD_HUMAN_STAND_MOBILE",

        ["radius"] = 1.5,

        ["targetIcon"] = "fas fa-shopping-basket",

        ["targetLabel"] = "Open Shop",

        ["products"] = Config.Products["witch"],

        ["showblip"] = true,

        ["blipsprite"] = 484,

        ["blipcolor"] = 0

    },

```

# Add items into qb-core > shared > items.lua (REQUIRED)

```

    -- witch craft items

    ["chamomile"]                   = {["name"] = "chamomile",                      ["label"] = "Chamomile",                ["weight"] = 5,         ["type"] = "item",      ["image"] = "chamomile.png",            ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Base Potion Ingredient"},

    ["lavender"]                    = {["name"] = "lavender",                       ["label"] = "Lavender",                 ["weight"] = 5,         ["type"] = "item",      ["image"] = "lavender.png",             ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Base Potion Ingredient"},

    ["rosemary"]                    = {["name"] = "rosemary",                       ["label"] = "Rosemary",                 ["weight"] = 5,         ["type"] = "item",      ["image"] = "rosemary.png",             ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Base Potion Ingredient"},

    ["thyme"]                       = {["name"] = "thyme",                          ["label"] = "Thyme",                    ["weight"] = 5,         ["type"] = "item",      ["image"] = "thyme.png",                ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Base Potion Ingredient"},

    ["sage"]                        = {["name"] = "sage",                           ["label"] = "Sage",                     ["weight"] = 5,         ["type"] = "item",      ["image"] = "sage.png",                 ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Base Potion Ingredient"},

    ["fairydust"]                   = {["name"] = "fairydust",                      ["label"] = "Fairy Dust",               ["weight"] = 5,         ["type"] = "item",      ["image"] = "fairydust.png",            ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Base Crafting Ingredient"},

    ["powderedgems"]                = {["name"] = "powderedgems",                   ["label"] = "Powdered Gems",            ["weight"] = 5,         ["type"] = "item",      ["image"] = "powderedgems.png",         ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Base Crafting Ingredient"},

    ["citrine"]                     = {["name"] = "citrine",                        ["label"] = "Citrine",                  ["weight"] = 5,         ["type"] = "item",      ["image"] = "citrine.png",              ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Duration Modifier"},

    ["pinkquartz"]                  = {["name"] = "pinkquartz",                     ["label"] = "Pink Quartz",              ["weight"] = 5,         ["type"] = "item",      ["image"] = "pinkquartz.png",           ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Duration Modifier"},

    ["amethyst"]                    = {["name"] = "amethyst",                       ["label"] = "Amethyst",                 ["weight"] = 5,         ["type"] = "item",      ["image"] = "amethyst.png",             ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Duration Modifier"},

    ["sapphire"]                    = {["name"] = "sapphire",                       ["label"] = "Sapphire",                 ["weight"] = 5,         ["type"] = "item",      ["image"] = "sapphire.png",             ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Duration Modifier"},

    ["rainbowquartz"]               = {["name"] = "rainbowquartz",                  ["label"] = "Rainbow Quartz",           ["weight"] = 5,         ["type"] = "item",      ["image"] = "rainbowquartz.png",        ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Duration Modifier"},

    ["sharkfin"]                    = {["name"] = "sharkfin",                       ["label"] = "Shark Fin",                ["weight"] = 5,         ["type"] = "item",      ["image"] = "sharkfin.png",             ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Aspect Modifier"},

    ["rabbitsfoot"]                 = {["name"] = "rabbitsfoot",                    ["label"] = "Rabbits Foot",             ["weight"] = 5,         ["type"] = "item",      ["image"] = "rabbitsfoot.png",          ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Aspect Modifier"},

    

    ["emptybottle"]                 = {["name"] = "emptybottle",                    ["label"] = "Empty Bottle",             ["weight"] = 5,         ["type"] = "item",      ["image"] = "emptybottle.png",          ["unique"] = false,     ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Empty Bottle"},

    ["moonwater"]                   = {["name"] = "moonwater",                      ["label"] = "Moon Water",               ["weight"] = 5,         ["type"] = "item",      ["image"] = "moonwater.png",            ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Base"},

    ["enchantedmoonwater"]          = {["name"] = "enchantedmoonwater",             ["label"] = "Enchanted Moon Water",     ["weight"] = 5,         ["type"] = "item",      ["image"] = "enchantedmoonwater.png",   ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Base"},

    ["enchantedgempotion"]          = {["name"] = "enchantedgempotion",             ["label"] = "Enchanted Gem Potion",     ["weight"] = 5,         ["type"] = "item",      ["image"] = "enchantedgempotion.png",   ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Base"},

    ["bloodwine"]                   = {["name"] = "bloodwine",                      ["label"] = "Blood Wine",               ["weight"] = 5,         ["type"] = "item",      ["image"] = "bloodwine.png",            ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Base"},

    ["enchantedbloodwine"]          = {["name"] = "enchantedbloodwine",             ["label"] = "Enchanted Blood Wine",     ["weight"] = 5,         ["type"] = "item",      ["image"] = "enchantedbloodwine.png",   ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Base"},

    ["minaciouspotion"]             = {["name"] = "minaciouspotion",                ["label"] = "Minacious Potion",         ["weight"] = 5,         ["type"] = "item",      ["image"] = "minaciouspotion.png",      ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Base"},

    ["weatherpotion"]               = {["name"] = "weatherpotion",                  ["label"] = "Weather Potion",           ["weight"] = 15,        ["type"] = "potion",    ["image"] = "weatherpotion.png",        ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Change the current weather for this potion's duration"},

    ["speedpotion"]                 = {["name"] = "speedpotion",                    ["label"] = "Speed Potion",             ["weight"] = 15,        ["type"] = "potion",    ["image"] = "speedpotion.png",          ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Give yourself increased running speed"},

    ["teleportpotion"]              = {["name"] = "teleportpotion",                 ["label"] = "Teleport Potion",          ["weight"] = 15,        ["type"] = "potion",    ["image"] = "teleportpotion.png",       ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Teleport to waypoint or random location"},

    ["smokepotion"]                 = {["name"] = "smokepotion",                    ["label"] = "Smoke Potion",             ["weight"] = 15,        ["type"] = "potion",    ["image"] = "smokepotion.png",          ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Create a smokescreen around you"},

    ["peyotepotion"]                = {["name"] = "peyotepotion",                   ["label"] = "Peyote Potion",            ["weight"] = 15,        ["type"] = "potion",    ["image"] = "peyotepotion.png",         ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Become an animal according to this potion's modifier"},

    ["timepotion"]                  = {["name"] = "timepotion",                     ["label"] = "Time Potion",              ["weight"] = 15,        ["type"] = "potion",    ["image"] = "timepotion.png",           ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Set the current time of day"},

    ["thermalpotion"]               = {["name"] = "thermalpotion",                  ["label"] = "Thermal Vision Potion",    ["weight"] = 15,        ["type"] = "potion",    ["image"] = "thermalpotion.png",        ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Gain thermal vision"},

    ["nightpotion"]                 = {["name"] = "nightpotion",                    ["label"] = "Night Vision Potion",      ["weight"] = 15,        ["type"] = "potion",    ["image"] = "nightpotion.png",          ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Gain night vision"},

    ["healthpotion"]                = {["name"] = "healthpotion",                   ["label"] = "Health Potion",            ["weight"] = 15,        ["type"] = "potion",    ["image"] = "healthpotion.png",         ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Gain health"},

    ["animalpotion"]                = {["name"] = "animalpotion",                   ["label"] = "Animal Potion",            ["weight"] = 15,        ["type"] = "potion",    ["image"] = "animalpotion.png",         ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Summon an animal companion"},

    ["jumppotion"]                  = {["name"] = "jumppotion",                     ["label"] = "Jump Potion",              ["weight"] = 15,        ["type"] = "potion",    ["image"] = "jumppotion.png",           ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Gain super jump height"},

    ["armorpotion"]                 = {["name"] = "armorpotion",                    ["label"] = "Armor Potion",             ["weight"] = 15,        ["type"] = "potion",    ["image"] = "armorpotion.png",          ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Gain armor"},

    ["earthquakepotion"]            = {["name"] = "earthquakepotion",               ["label"] = "Earthquake Potion",        ["weight"] = 15,        ["type"] = "potion",    ["image"] = "earthquakepotion.png",     ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Cause an earthquake around you"},

    ["clonepotion"]                 = {["name"] = "clonepotion",                    ["label"] = "Clone Potion",             ["weight"] = 15,        ["type"] = "potion",    ["image"] = "clonepotion.png",          ["unique"] = true,      ["useable"] = true,     ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Leave a clone of yourself behind"},

    ["cinnamonsticks"]              = {["name"] = "cinnamonsticks",                 ["label"] = "Cinnamon Sticks",          ["weight"] = 5,         ["type"] = "item",      ["image"] = "cinnamonsticks.png",       ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Aspect Modifier"},

    ["bayleaf"]                     = {["name"] = "bayleaf",                        ["label"] = "Bay Leaf",                 ["weight"] = 5,         ["type"] = "item",      ["image"] = "bayleaf.png",              ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Aspect Modifier"},

    ["sandalwood"]                  = {["name"] = "sandalwood",                     ["label"] = "Sandalwood",               ["weight"] = 5,         ["type"] = "item",      ["image"] = "sandalwood.png",           ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Aspect Modifier"},

    ["patchouli"]                   = {["name"] = "patchouli",                      ["label"] = "Patchouli",                ["weight"] = 5,         ["type"] = "item",      ["image"] = "patchouli.png",            ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Aspect Modifier"},

    ["quartz"]                      = {["name"] = "quartz",                         ["label"] = "Quartz",                   ["weight"] = 5,         ["type"] = "item",      ["image"] = "quartz.png",               ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Aspect Modifier"},

    ["turtleshell"]                 = {["name"] = "turtleshell",                    ["label"] = "Turtle Shell",             ["weight"] = 5,         ["type"] = "item",      ["image"] = "turtleshell.png",          ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Aspect Modifier"},

    ["whitecrystal"]                = {["name"] = "whitecrystal",                   ["label"] = "White Crystal",            ["weight"] = 5,         ["type"] = "item",      ["image"] = "whitecrystal.png",         ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Aspect Modifier"},

    ["tigerseye"]                   = {["name"] = "tigerseye",                      ["label"] = "Tigers Eye",               ["weight"] = 5,         ["type"] = "item",      ["image"] = "tigerseye.png",            ["unique"] = false,     ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Potion Aspect Modifier"},

```

Default config:

```

    Config = {}

    Config.EarthquakeDistance = 100 -- How far away does the earthquake potion affect players

    Config.EarthquakeRagdollChance = 10 -- Random chance every half second to stumble

    Config.EarthquakeIntensity = 0.05 -- Screen shake intensity (be careful)

    Config.GenerateParticleDistance = 100 -- How far away do players see the particle effects from

    Config.RingOfFireWhenCrafting = true -- Optional fire circle around player when crafting

    Config.PlantPickup = true -- If you want to use the field of flowers to pickup and get random potion ingredients

    Config.PlantField = vector3(-471.66, 1523.13, 390.99) -- location of plant field

    Config.RemoveMineshaftDoor = true -- Remove the door to the mineshaft

    Config.GemMining = true -- If you want to use the mining part of the script

    Config.GemMiningFrequency = 40 -- Chance at every hit of mining to get a gem

    Config.GemMiningPositions = { -- Set locations where you can dig up duration modification gems

        { ['coords'] = vector3(-541.04, 1982.33, 126.21), ['heading'] = 183.59 },

        { ['coords'] = vector3(-543.55, 1973.98, 126.19), ['heading'] = 92.24 },

        { ['coords'] = vector3(-531.94, 1981.53, 126.17), ['heading'] = 348.3 },

        { ['coords'] = vector3(-525.07, 1978.91, 125.97), ['heading'] = 152.74 }

    }

    Config.GemCrushingStation = vector3(-602.14, 2090.47, 131.7) -- Set where you can crush any gem into powdered gems

    Config.Debug = false

    Config.CraftingStations = { -- Places where people can make potions

        [1] = {

            ['coords'] = vector3(-2167.33, 5197.34, 16.88),

            ['requiresNightSky'] = true -- Does it need to be night time for them to use it?

        },

        [2] = {

            ['coords'] = vector3(-284.56, 2841.58, 54.48),

            ['requiresNightSky'] = true

        },

        [3] = {

            ['coords'] = vector3(-1077.88, -1677.87, 4.58),

            ['requiresNightSky'] = false

        }

    }

    Config.RandomTeleportsOnNoWaypoint = { -- Teleport potion will go to waypoint if set, otherwise go to random location

        vector3(-1051.17, -2763.3, 4.64), -- LSIA

        vector3(-255.92, -2030.21, 29.93), -- Outside Maze Bank Arena

        vector3(663.8, -1879.04, 7.99), -- Cypress Flats "River"

        vector3(764.31, 1185.53, 349.08), -- Vinewood sign

        vector3(-1542.01, 2748.52, 17.71), -- Outside Fort Zancudo

        vector3(505.29, 5604.01, 797.91), -- Mt Chiliad

        vector3(23.12, 7644.41, 18.82), -- Paleto islands

        vector3(2517.22, 3790.14, 54.71), -- Hippie alien camp

        vector3(2573.19, 2571.77, 35.67), -- Near Purple Dinosaur Eating a Hotdog

        vector3(-74.68, -818.23, 326.18), -- On Top Maze Bank Tower

    }

    Config.PotionIngredients = { -- list of potion ingredients you intend to use

        ['rosemary'],

        ['sage'],

        ['lavender'],

        ['chamomile'],

        ['thyme']

    }

    Config.DurationModifiers = { -- List of duration modifier gems you intend to use

        [1] = {

            ['name'] = 'citrine',

            ['chance'] = 40 -- chance when mining to get this gem

        },

        [2] = {

            ['name'] = 'pinkquartz',

            ['chance'] = 30

        },

        [3] = {

            ['name'] = 'amethyst',

            ['chance'] = 20

        },

        [4] = {

            ['name'] = 'sapphire',

            ['chance'] = 7

        },

        [5] = {

            ['name'] = 'rainbowquartz',

            ['chance'] = 3 -- all chances must add up to 100

        }

    }

    Config.AspectModifiers = { -- list of aspect modifiers you intend to use

        ['cinnamonsticks'],

        ['bayleaf'],

        ['sandalwood'],

        ['patchouli'],

        ['quartz'],

        ['turtleshell'],

        ['whitecrystal'],

        ['tigerseye'],

    }

    -- Other ingredients used to make potion bases

    -- rabbitsfoot

    -- sharkfin

    Config.PotionBases = { -- List of potion bases and what it takes to make them

        ['enchantedmoonwater'] = { -- Name of the base

            ['base'] = 'moonwater', -- What you need to start

            ['additions'] = { -- ingredients needed to make

                'powderedgems', 

                'fairydust'

            }

        },

        ['enchantedgempotion'] = {

            ['base'] = 'enchantedmoonwater',

            ['additions'] = {

                'powderedgems',

                'fairydust',

                'rabbitsfoot'

            }

        },

        ['bloodwine'] = {

            ['base'] = 'enchantedgempotion',

            ['additions'] = {

                'powderedgems',

                'fairydust',

                'sharkfin'

            }

        },

        ['minaciouspotion'] = { -- not a useable potion, only works as potion base

            ['base'] = 'enchantedgempotion',

            ['additions'] = {

                'powderedgems',

                'fairydust',

                'turtleshell'

            }

        },

        ['enchantedbloodwine'] = {

            ['base'] = 'bloodwine',

            ['additions'] = {

                'powderedgems',

                'fairydust',

                'minaciouspotion'

            }

        },

    }

    Config.PotionRecipes = { -- Potion recipes and effects

        ['weatherpotion'] = { -- name of the potion item

            ['base'] = 'enchantedmoonwater', -- base needed to make

            ['additions'] = { -- ingredients to add IN ORDER (MAX 2)

                [1] = 'thyme',

                [2] = 'rosemary'

            },

            ['durations'] = { -- in seconds

                ['citrine'] = 1 * 60,

                ['pinkquartz'] = 5 * 60,

                ['amethyst'] = 10 * 60,

                ['sapphire'] = 15 * 60,

                ['rainbowquartz'] = 20 * 60

            },

            ['modifiers'] = { -- Aspect modifiers set to different weather types

                ['cinnamonsticks'] = 'CLEAR',

                ['bayleaf'] = 'CLOUDS',

                ['sandalwood'] = 'SMOG',

                ['patchouli'] = 'SNOWLIGHT',

                ['quartz'] = 'RAIN',

                ['turtleshell'] = 'THUNDER',

                ['tigerseye'] = 'HALLOWEEN',

                ['whitecrystal'] = 'XMAS'

            }

        },

        ['speedpotion'] = { -- gain running speed

            ['base'] = 'enchantedmoonwater',

            ['additions'] = {

                [1] = 'rosemary',

                [2] = 'thyme'

            },

            ['durations'] = { -- in seconds

                ['citrine'] = 20,

                ['pinkquartz'] = 30,

                ['amethyst'] = 40,

                ['sapphire'] = 50,

                ['rainbowquartz'] = 60

            },

            ['modifiers'] = { -- speed magnitude

                ['cinnamonsticks'] = 1.05,

                ['bayleaf'] = 1.1,

                ['sandalwood'] = 1.15,

                ['patchouli'] = 1.2,

                ['quartz'] = 1.25,

                ['turtleshell'] = 1.3,

                ['tigerseye'] = 1.35,

                ['whitecrystal'] = 1.49

            }

        },

        ['teleportpotion'] = { -- teleport to waypoint or random location if no waypoint is set

            ['base'] = 'minaciouspotion',

            ['additions'] = {

                [1] = 'rosemary',

                [2] = 'chamomile'

            }

        },

        ['smokepotion'] = { -- creates a smoke screen

            ['base'] = 'bloodwine',

            ['additions'] = {

                [1] = 'chamomile',

                [2] = 'sage'

            },

            ['durations'] = { -- in seconds

                ['citrine'] = 30,

                ['pinkquartz'] = 60,

                ['amethyst'] = 90,

                ['sapphire'] = 120,

                ['rainbowquartz'] = 150

            }

        },

        ['peyotepotion'] = { -- turn into a random animal for this duration

            ['base'] = 'bloodwine',

            ['additions'] = {

                [1] = 'sage',

                [2] = 'chamomile'

            },

            ['durations'] = { -- in seconds

                ['citrine'] = 20,

                ['pinkquartz'] = 30,

                ['amethyst'] = 45,

                ['sapphire'] = 60,

                ['rainbowquartz'] = 120

            }

        },

        ['timepotion'] = { -- set the time of day for the whole city

            ['base'] = 'bloodwine',

            ['additions'] = {

                [1] = 'thyme',

                [2] = 'chamomile'

            },

            ['modifiers'] = { -- time of day

                ['cinnamonsticks'] = 04, -- 4am

                ['bayleaf'] = 05, -- 5am

                ['sandalwood'] = 06, -- 6am

                ['patchouli'] = 08, -- 8am

                ['quartz'] = 13, -- 1pm

                ['turtleshell'] = 16, -- 4 pm

                ['tigerseye'] = 20, -- 8pm

                ['whitecrystal'] = 00 -- midnight

            }

        },

        ['thermalpotion'] = { -- gain thermal vision

            ['base'] = 'enchantedgempotion',

            ['additions'] = {

                [1] = 'lavender',

                [2] = 'chamomile'

            },

            ['durations'] = { -- in seconds

                ['citrine'] = 10,

                ['pinkquartz'] = 20,

                ['amethyst'] = 30,

                ['sapphire'] = 45,

                ['rainbowquartz'] = 60

            }

        },

        ['nightpotion'] = { -- gain night vision

            ['base'] = 'enchantedgempotion',

            ['additions'] = {

                [1] = 'chamomile',

                [2] = 'lavender'

            },

            ['durations'] = { -- in seconds

                ['citrine'] = 10,

                ['pinkquartz'] = 20,

                ['amethyst'] = 30,

                ['sapphire'] = 45,

                ['rainbowquartz'] = 60

            }

        },

        ['animalpotion'] = { -- summon an animal to follow you around

            ['base'] = 'enchantedmoonwater',

            ['additions'] = {

                [1] = 'sage',

                [2] = 'rosemary'

            },

            ['durations'] = { -- in seconds

                ['citrine'] = 30,

                ['pinkquartz'] = 60,

                ['amethyst'] = 90,

                ['sapphire'] = 120,

                ['rainbowquartz'] = 150

            },

            ['modifiers'] = { -- Each aspect modifier creates a different animal

                ['cinnamonsticks'] = `a_c_chop`,

                ['tigerseye'] = `a_c_panther`,

                ['whitecrystal'] = `a_c_westy`,

                ['quartz'] = `a_c_husky`,

                ['sandalwood'] = `a_c_deer`,

                ['patchouli'] = `a_c_pig`,

                ['turtleshell'] = `a_c_chimp`,

                ['bayleaf'] = `a_c_husky`

            }

        },

        ['jumppotion'] = { -- Gain SUPER JUMP (this is very powerful)

            ['base'] = 'enchantedbloodwine',

            ['additions'] = {

                [1] = 'rosemary',

                [2] = 'chamomile'

            },

            ['durations'] = { -- in seconds

                ['citrine'] = 15,

                ['pinkquartz'] = 30,

                ['amethyst'] = 60,

                ['sapphire'] = 120,

                ['rainbowquartz'] = 180

            }

        },

        ['armorpotion'] = { -- adds armor, ex if you have 10 and add 10, you have 20

            ['base'] = 'bloodwine',

            ['additions'] = {

                [1] = 'sage',

                [2] = 'lavender'

            },

            ['modifiers'] = { -- in percentages of max armor

                ['cinnamonsticks'] = 10,

                ['bayleaf'] = 20,

                ['sandalwood'] = 30,

                ['patchouli'] = 40,

                ['quartz'] = 50,

                ['turtleshell'] = 60,

                ['tigerseye'] = 75,

                ['whitecrystal'] = 100

            }

        },

        ['healthpotion'] = { -- adds percentage of MAX health to current health

            ['base'] = 'bloodwine',

            ['additions'] = {

                [1] = 'lavender',

                [2] = 'sage'

            },

            ['modifiers'] = { -- in percentages of max health

                ['cinnamonsticks'] = 10,

                ['bayleaf'] = 20,

                ['sandalwood'] = 30,

                ['patchouli'] = 40,

                ['quartz'] = 50,

                ['turtleshell'] = 60,

                ['tigerseye'] = 75,

                ['whitecrystal'] = 90

            }

        },

        ['earthquakepotion'] = { -- Shake the world around you for everyone nearby

            ['base'] = 'enchantedgempotion',

            ['additions'] = {

                [1] = 'chamomile',

                [2] = 'rosemary'

            },

            ['durations'] = { -- in seconds

                ['citrine'] = 10,

                ['pinkquartz'] = 20,

                ['amethyst'] = 30,

                ['sapphire'] = 45,

                ['rainbowquartz'] = 60

            }

        },

        ['clonepotion'] = { -- Drop a clone of yourself in place (it looks the same to you, but other see a different hair color)

            ['base'] = 'bloodwine',

            ['additions'] = {

                [1] = 'chamomile',

                [2] = 'thyme'

            },

            ['durations'] = { -- in seconds

                ['citrine'] = 10,

                ['pinkquartz'] = 20,

                ['amethyst'] = 30,

                ['sapphire'] = 45,

                ['rainbowquartz'] = 60

            }

        }

    }

```