> For the complete documentation index, see [llms.txt](https://mythic-scripts.gitbook.io/mythic-scripts-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mythic-scripts.gitbook.io/mythic-scripts-documentation/resources/lean-system/configuration.md).

# Configuration

All configuration lives in `config.lua` .

### Full Config

{% code title="config.lua" expandable="true" %}

```lua
Config = {}

Config.Progress = {
    Pour   = 5000, -- Time to pour into a cup or bottle
    Mix    = 5000, -- Time to mix a drink
    Sip    = 3000, -- Time to take a sip
    AddIce = 3000  -- Time to add ice to a drink
}

Config.Effects = {
    BlackoutChance = 12,   -- % chance per sip after threshold
    BlackoutStart  = 8,    -- Sip number when blackout chance starts
    BlackoutTime   = 8000, -- ms unconscious
    RecoveryTime   = 3000, -- ms to get back up after blackout

    -- Master toggle for armor system
    GiveArmor = true
}

Config.ItemEffects = {
    -- Lemon-lime mixes
    cup_lemon_lime_promethazine_codeine     = { armor = 3 },
    cup_lemon_lime_actavis_og               = { armor = 4 },
    cup_lemon_lime_hitech_syrup             = { armor = 2 },
    cup_lemon_lime_tussionex_yellow         = { armor = 6 },
    cup_lemon_lime_robitussin_ac            = { armor = 1 },

    -- Orange mixes
    cup_orange_promethazine_codeine         = { armor = 3 },
    cup_orange_actavis_og                   = { armor = 4 },
    cup_orange_hitech_syrup                 = { armor = 2 },
    cup_orange_tussionex_yellow             = { armor = 6 },
    cup_orange_robitussin_ac                = { armor = 1 },

    -- Iced variants
    cup_lemon_lime_promethazine_codeine_ice = { armor = 4 },
    cup_orange_promethazine_codeine_ice     = { armor = 4 },
    cup_lemon_lime_actavis_og_ice           = { armor = 5 },
    cup_orange_actavis_og_ice               = { armor = 5 },
    cup_lemon_lime_hitech_syrup_ice         = { armor = 3 },
    cup_orange_hitech_syrup_ice             = { armor = 3 },
    cup_lemon_lime_tussionex_yellow_ice     = { armor = 7 },
    cup_orange_tussionex_yellow_ice         = { armor = 7 },
    cup_lemon_lime_robitussin_ac_ice        = { armor = 2 },
    cup_orange_robitussin_ac_ice            = { armor = 2 }
}
```

{% endcode %}

### Items

{% code title="data/items.lua" expandable="true" %}

```lua
["promethazine_codeine"] = {
	label = "Promethazine w/ Codeine",
	weight = 250,
	stack = true,
	close = true,
	description = "A prescription purple syrup often used in lean."
},
["actavis_og"] = {
	label = "Actavis OG",
	weight = 250,
	stack = true,
	close = true,
	description = "Rare and discontinued high-quality purple syrup."
},
["hitech_syrup"] = {
	label = "Hi-Tech Syrup",
	weight = 250,
	stack = true,
	close = true,
	description = "Pharmaceutical-grade purple syrup, commonly used in lean."
},
["tussionex_yellow"] = {
	label = "Tussionex Syrup",
	weight = 250,
	stack = true,
	close = true,
	description = "Thick yellow syrup containing hydrocodone."
},
["robitussin_ac"] = {
	label = "Robitussin AC",
	weight = 250,
	stack = true,
	close = true,
	description = "Weaker red syrup containing codeine, often used as a cheap lean alternative."
},

["babybottle_promethazine_codeine_1line"] = {
	label = "Baby Bottle (Promethazine w/ Codeine - 1 Line)",
	weight = 300,
	stack = true,
	close = true,
	description = "A baby bottle with only 1 line of Promethazine w/ Codeine lean left."
},
["babybottle_actavis_og_1line"] = {
	label = "Baby Bottle (Actavis OG - 1 Line)",
	weight = 300,
	stack = true,
	close = true,
	description = "A baby bottle with only 1 line of Actavis OG lean left."
},
["babybottle_hitech_syrup_1line"] = {
	label = "Baby Bottle (Hi-Tech Syrup - 1 Line)",
	weight = 300,
	stack = true,
	close = true,
	description = "A baby bottle with only 1 line of Hi-Tech lean left."
},
["babybottle_tussionex_yellow_1line"] = {
	label = "Baby Bottle (Tussionex Syrup - 1 Line)",
	weight = 300,
	stack = true,
	close = true,
	description = "A baby bottle with only 1 line of yellow Tussionex lean left."
},
["babybottle_robitussin_ac_1line"] = {
	label = "Baby Bottle (Robitussin AC - 1 Line)",
	weight = 300,
	stack = true,
	close = true,
	description = "A baby bottle with only 1 line of Robitussin AC lean left."
},

["babybottle_empty"] = {
	label = "Empty Baby Bottle",
	weight = 100,
	stack = true,
	close = true,
	description = "An empty baby bottle, ready to be filled."
},

["lemon_lime_soda"] = {
	label = "Lemon-Lime Soda",
	weight = 350,
	stack = true,
	close = true,
	description = "A refreshing lemon-lime flavored soda."
},
["orange_soda"] = {
	label = "Orange Soda",
	weight = 350,
	stack = true,
	close = true,
	description = "A sweet and fruity orange-flavored soda."
},

["cup_lemon_lime_soda"] = {
	label = "Cup of Lemon-Lime Soda",
	weight = 200,
	stack = true,
	close = true,
	description = "A styrofoam cup filled with lemon-lime soda."
},
["cup_orange_soda"] = {
	label = "Cup of Orange Soda",
	weight = 200,
	stack = true,
	close = true,
	description = "A styrofoam cup filled with orange soda."
},

["cup_lemon_lime_promethazine_codeine"] = {
	label = "Lemon-Lime Soda with Codeine",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of lemon-lime soda mixed with codeine syrup."
},
["cup_lemon_lime_actavis_og"] = {
	label = "Lemon-Lime Soda with Actavis",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of lemon-lime soda mixed with Actavis syrup."
},
["cup_lemon_lime_hitech_syrup"] = {
	label = "Lemon-Lime Soda with Hi-Tech",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of lemon-lime soda mixed with Hi-Tech syrup."
},
["cup_lemon_lime_tussionex_yellow"] = {
	label = "Lemon-Lime Soda with Tussionex",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of lemon-lime soda mixed with yellow Tussionex syrup."
},
["cup_lemon_lime_robitussin_ac"] = {
	label = "Lemon-Lime Soda with Robitussin AC",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of lemon-lime soda mixed with Robitussin AC syrup."
},

["cup_orange_promethazine_codeine"] = {
	label = "Orange Soda with Codeine",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of orange soda mixed with codeine syrup."
},
["cup_orange_actavis_og"] = {
	label = "Orange Soda with Actavis",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of orange soda mixed with Actavis syrup."
},
["cup_orange_hitech_syrup"] = {
	label = "Orange Soda with Hi-Tech",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of orange soda mixed with Hi-Tech syrup."
},
["cup_orange_tussionex_yellow"] = {
	label = "Orange Soda with Tussionex",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of orange soda mixed with yellow Tussionex syrup."
},
["cup_orange_robitussin_ac"] = {
	label = "Orange Soda with Robitussin AC",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of orange soda mixed with Robitussin AC syrup."
},

["cup_lemon_lime_promethazine_codeine_ice"] = {
	label = "Lemon-Lime Soda with Codeine (Ice)",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of lemon-lime soda mixed with codeine syrup and ice cubes."
},
["cup_lemon_lime_actavis_og_ice"] = {
	label = "Lemon-Lime Soda with Actavis (Ice)",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of lemon-lime soda mixed with Actavis syrup and ice cubes."
},
["cup_lemon_lime_hitech_syrup_ice"] = {
	label = "Lemon-Lime Soda with Hi-Tech (Ice)",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of lemon-lime soda mixed with Hi-Tech syrup and ice cubes."
},
["cup_lemon_lime_tussionex_yellow_ice"] = {
	label = "Lemon-Lime Soda with Tussionex (Ice)",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of lemon-lime soda mixed with yellow Tussionex syrup and ice cubes."
},
["cup_lemon_lime_robitussin_ac_ice"] = {
	label = "Lemon-Lime Soda with Robitussin AC (Ice)",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of lemon-lime soda mixed with Robitussin AC syrup and ice cubes."
},

["cup_orange_promethazine_codeine_ice"] = {
	label = "Orange Soda with Codeine (Ice)",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of orange soda mixed with codeine syrup and ice cubes."
},
["cup_orange_actavis_og_ice"] = {
	label = "Orange Soda with Actavis (Ice)",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of orange soda mixed with Actavis syrup and ice cubes."
},
["cup_orange_hitech_syrup_ice"] = {
	label = "Orange Soda with Hi-Tech (Ice)",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of orange soda mixed with Hi-Tech syrup and ice cubes."
},
["cup_orange_tussionex_yellow_ice"] = {
	label = "Orange Soda with Tussionex (Ice)",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of orange soda mixed with yellow Tussionex syrup and ice cubes."
},
["cup_orange_robitussin_ac_ice"] = {
	label = "Orange Soda with Robitussin AC (Ice)",
	weight = 250,
	stack = true,
	close = true,
	description = "A cup of orange soda mixed with Robitussin AC syrup and ice cubes."
},

["styrofoam_cup_empty"] = {
	label = "Empty Styrofoam Cup",
	weight = 50,
	stack = true,
	close = true,
	description = "A plain styrofoam cup, ready to be filled."
},
["ice_cubes"] = {
	label = "Ice Cubes",
	weight = 100,
	stack = true,
	close = true,
	description = "A small bag of ice cubes for chilling drinks."
}
```

{% endcode %}

{% hint style="info" %}
All the icons for the inventory are located in install/inventory/images/\*.png.
{% endhint %}


---

# 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://mythic-scripts.gitbook.io/mythic-scripts-documentation/resources/lean-system/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.
