> For the complete documentation index, see [llms.txt](https://quannsstudios.gitbook.io/quannsstudio-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://quannsstudios.gitbook.io/quannsstudio-docs/packboyz-edibles-system-all-frameworks/configuration.md).

# Configuration

***

All configuration lives in `config.lua`.

**Full Config**

lua

```lua
-- =====================
--  EAT ANIMATION
-- =====================
Config.EatAnimDict = 'mp_suicide'
Config.EatAnimName = 'pill'
Config.EatDuration = 2500

-- =====================
--  HIGH LEVELS (eaten gummy count thresholds)
-- =====================
Config.HighThresholds = {
    { count = 1,  label = 'Feeling it...', screen = 'Dont_tazeme_bro',   timecycle = 'mp_Weed_1', strength = 0.3 },
    { count = 3,  label = 'Pretty high',   screen = 'MP_Celeb_Win',      timecycle = 'mp_Weed_2', strength = 0.5 },
    { count = 5,  label = 'Faded',         screen = 'DrugsMichaelAlien', timecycle = 'mp_Weed_2', strength = 0.7 },
    { count = 8,  label = 'ZOOTED',        screen = 'DrugsTrevorClown',  timecycle = 'mp_Weed_3', strength = 0.9 },
    { count = 12, label = 'GREENOUT',      screen = 'DrugsTrevorClown',  timecycle = 'mp_Weed_3', strength = 1.0 },
}

-- =====================
--  GREENOUT
-- =====================
Config.GreenoutThreshold = 12
Config.GreenoutDuration  = 30000
Config.GreenoutMessages = {
    'You greened out... the room is spinning.',
    'Everything is moving bro...',
    'You cannot feel your legs...',
    'That was too many. Way too many.',
}

-- =====================
--  DIZZY EFFECT
-- =====================
Config.DizzyChance   = 60
Config.DizzyDuration = 8000

-- =====================
--  RELAXING EFFECT
-- =====================
Config.RelaxDuration = 45000

-- =====================
--  HIGH EFFECT DURATION
-- =====================
Config.HighEffectDuration = 60000

-- =====================
--  TOLERANCE CONFIG
-- =====================
Config.Tolerance = {
    gainPerGummy = 1,
    decayPerHourOffline = 2,
    decayPerOnlineTick = 1,
    tiers = {
        { min = 0,  max = 10,  label = 'First-Time Sensitivity', multiplier = 1.0,  panicChance = 65 },
        { min = 11, max = 25,  label = 'Low Tolerance',          multiplier = 0.85, panicChance = 45 },
        { min = 26, max = 50,  label = 'Medium Tolerance',       multiplier = 0.65, panicChance = 30 },
        { min = 51, max = 75,  label = 'High Tolerance',         multiplier = 0.45, panicChance = 15 },
        { min = 76, max = 100, label = 'Extreme Tolerance',      multiplier = 0.25, panicChance = 5  },
    }
}
```

**Options**

| Option               | Description                                         |
| -------------------- | --------------------------------------------------- |
| `EatDuration`        | How long the eating animation plays in milliseconds |
| `GreenoutThreshold`  | Number of gummies before a greenout triggers        |
| `GreenoutDuration`   | How long the greenout effect lasts in milliseconds  |
| `DizzyChance`        | Percentage chance of a dizzy effect triggering      |
| `DizzyDuration`      | How long the dizzy effect lasts in milliseconds     |
| `RelaxDuration`      | How long the relaxing effect lasts in milliseconds  |
| `HighEffectDuration` | How long the high effect lasts in milliseconds      |

**Tolerance Tiers**

| Tier                   | Range  | Effect Multiplier | Panic Chance |
| ---------------------- | ------ | ----------------- | ------------ |
| First-Time Sensitivity | 0–10   | 1.0x              | 65%          |
| Low Tolerance          | 11–25  | 0.85x             | 45%          |
| Medium Tolerance       | 26–50  | 0.65x             | 30%          |
| High Tolerance         | 51–75  | 0.45x             | 15%          |
| Extreme Tolerance      | 76–100 | 0.25x             | 5%           |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://quannsstudios.gitbook.io/quannsstudio-docs/packboyz-edibles-system-all-frameworks/configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
