> 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/percocet-system/configuration.md).

# Configuration

All configuration lives in `config.lua` .

### Full Config

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

```lua
Config = {}

Config.BottleItems = {
    perc_5_bottle = 'perc_5',
    perc_7_5_bottle = 'perc_7_5',
    perc_10_bottle = 'perc_10',
    perc_15_bottle = 'perc_15',
    perc_30_bottle = 'perc_30'
}

Config.PillAmount = 30

Config.PercPills = {
    ['perc_5'] = 'Percocet 5mg',
    ['perc_7_5'] = 'Percocet 7.5mg',
    ['perc_10'] = 'Percocet 10mg',
    ['perc_15'] = 'Percocet 15mg',
    ['perc_30'] = 'Percocet 30mg'
}

Config.Pills = {
    { pill = 'perc_5',   label = 'Percocet 5mg',   armour = 5 },
    { pill = 'perc_7_5', label = 'Percocet 7.5mg', armour = 10 },
    { pill = 'perc_10',  label = 'Percocet 10mg',  armour = 15 },
    { pill = 'perc_15',  label = 'Percocet 15mg',  armour = 20 },
    { pill = 'perc_30',  label = 'Percocet 30mg',  armour = 30 }
}

Config.CrushedPercs = {
    ['crushed_perc_5']   = { label = 'Percocet 5mg',   armour = 5 },
    ['crushed_perc_7_5'] = { label = 'Percocet 7.5mg', armour = 10 },
    ['crushed_perc_10']  = { label = 'Percocet 10mg',  armour = 15 },
    ['crushed_perc_15']  = { label = 'Percocet 15mg',  armour = 20 },
    ['crushed_perc_30']  = { label = 'Percocet 30mg',  armour = 30 }
}
```

{% endcode %}

### Items

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

```lua
	['perc_5'] = {
		label = 'Percocet 5mg',
		weight = 50,
		stack = true,
		close = true,
		description = '5mg prescription painkiller'
	},
	['perc_5_bottle'] = {
		label = 'Bottle of Percocet 5mg',
		weight = 500,
		stack = false,
		close = true,
		description = 'A prescription bottle filled with 5mg Percocet tablets'
	},
	['perc_7_5'] = {
		label = 'Percocet 7.5mg',
		weight = 50,
		stack = true,
		close = true,
		description = '7.5mg prescription painkiller'
	},
	['perc_7_5_bottle'] = {
		label = 'Bottle of Percocet 7.5mg',
		weight = 500,
		stack = false,
		close = true,
		description = 'A prescription bottle filled with 7.5mg Percocet tablets'
	},
	['perc_10'] = {
		label = 'Percocet 10mg',
		weight = 50,
		stack = true,
		close = true,
		description = '10mg prescription painkiller'
	},
	['perc_10_bottle'] = {
		label = 'Bottle of Percocet 10mg',
		weight = 500,
		stack = false,
		close = true,
		description = 'A prescription bottle filled with 10mg Percocet tablets'
	},
	['perc_15'] = {
		label = 'Percocet 15mg',
		weight = 50,
		stack = true,
		close = true,
		description = '15mg prescription painkiller'
	},
	['perc_15_bottle'] = {
		label = 'Bottle of Percocet 15mg',
		weight = 500,
		stack = false,
		close = true,
		description = 'A prescription bottle filled with 15mg Percocet tablets'
	},
	['perc_30'] = {
		label = 'Percocet 30mg',
		weight = 50,
		stack = true,
		close = true,
		description = '30mg prescription painkiller'
	},
	['perc_30_bottle'] = {
		label = 'Bottle of Percocet 30mg',
		weight = 500,
		stack = false,
		close = true,
		description = 'A prescription bottle filled with 30mg Percocet tablets'
	},
	['pill_crusher'] = {
		label = 'Pill Crusher',
		weight = 200,
		stack = false,
		close = true,
		description = 'A handheld tool used to crush pills into powder.',
	},
	['crushed_perc_5'] = {
		label = 'Crushed Percocet 5mg',
		weight = 25,
		stack = true,
		close = true,
		description = 'Powdered form of Percocet 5mg.'
	},
	['crushed_perc_7_5'] = {
		label = 'Crushed Percocet 7.5mg',
		weight = 25,
		stack = true,
		close = true,
		description = 'Powdered form of Percocet 7.5mg.'
	},
	['crushed_perc_10'] = {
		label = 'Crushed Percocet 10mg',
		weight = 25,
		stack = true,
		close = true,
		description = 'Powdered form of Percocet 10mg.'
	},
	['crushed_perc_15'] = {
		label = 'Crushed Percocet 15mg',
		weight = 25,
		stack = true,
		close = true,
		description = 'Powdered form of Percocet 15mg.'
	},
	['crushed_perc_30'] = {
		label = 'Crushed Percocet 30mg',
		weight = 25,
		stack = true,
		close = true,
		description = 'Powdered form of Percocet 30mg.'
	},
```

{% 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/percocet-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.
