> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_casino/rcore_casino-2/editor/bartenders.md).

# Bartenders

The **Bartenders** editor page manages bartender NPCs used by the casino bar system.

<div data-full-width="false"><figure><img src="/files/5oLlJ4NoP7voQAXTzE4o" alt=""><figcaption></figcaption></figure></div>

### Editor Settings

<table data-full-width="false"><thead><tr><th>Setting</th><th>Type</th><th>Info</th></tr></thead><tbody><tr><td>Name</td><td>Text</td><td>Choose a display name for the bartender</td></tr><tr><td>Items</td><td>Multi-select list</td><td>Select which drinks/items this bartender can sell</td></tr><tr><td>Ped model</td><td>Select/List</td><td>Choose which NPC model the bartender uses</td></tr><tr><td>VIP only</td><td>Toggle</td><td>Restrict this bartender to VIP players only</td></tr><tr><td>Society enabled</td><td>Toggle</td><td>Enable society/account integration for this bartender</td></tr><tr><td>Society name</td><td>Text/List</td><td>Set the society/account name used when society is enabled</td></tr><tr><td>Proximity</td><td>Number</td><td>Set proximity distance in meters</td></tr><tr><td>Load only interiors</td><td>Toggle</td><td>Load this bartender only while players are in interiors</td></tr></tbody></table>

### BartenderItemList

Items available in the bartender editor are loaded from `BartenderItemList` in `rcore_casino/configs/bartender.lua`. If you want to be able to select a new drink/item in the editor, you must add it to this item list first.

<table data-full-width="false"><thead><tr><th width="127">Item icon</th><th>Item name</th><th>Price</th><th>Gives item</th><th>Inventory item name</th></tr></thead><tbody><tr><td><img src="/files/bDZq4UxIYnZL8Csy7xcx" alt=""></td><td>Beer</td><td>5</td><td>Yes</td><td><code>casino_beer</code></td></tr><tr><td><img src="/files/9dvJlIBpNwPFa4QJnq7g" alt=""></td><td>Burger</td><td>10</td><td>Yes</td><td><code>casino_burger</code></td></tr><tr><td><img src="/files/wYemHFXGZBtHROs3gLuU" alt=""></td><td>Coffee</td><td>5</td><td>Yes</td><td><code>casino_coffee</code></td></tr><tr><td><img src="/files/GAHjf9A7kjIcclkuAAIF" alt=""></td><td>Coke</td><td>5</td><td>Yes</td><td><code>casino_coke</code></td></tr><tr><td><img src="/files/8P841pQxq5hDJG2t8k90" alt=""></td><td>Donut</td><td>5</td><td>Yes</td><td><code>casino_donut</code></td></tr><tr><td><img src="/files/focac5lAn16yINi6OGS3" alt=""></td><td>Ego Chaser</td><td>5</td><td>Yes</td><td><code>casino_ego_chaser</code></td></tr><tr><td><img src="/files/jsFg9CBdsdlQezNa8BIG" alt=""></td><td>Lucky Potion</td><td>5</td><td>Yes</td><td><code>casino_luckypotion</code></td></tr><tr><td><img src="/files/Py2tjUAbmyTvC1QF6u3c" alt=""></td><td>PsQs</td><td>5</td><td>Yes</td><td><code>casino_psqs</code></td></tr><tr><td><img src="/files/qgljFSQWXivj5YWYk7xB" alt=""></td><td>Sandwitch</td><td>10</td><td>Yes</td><td><code>casino_sandwitch</code></td></tr><tr><td><img src="/files/DNmVo6IA7dLBF1gcuJL4" alt=""></td><td>Sprite</td><td>5</td><td>Yes</td><td><code>casino_sprite</code></td></tr><tr><td><img src="/files/CKxxnPajGET5pisNFzcR" alt=""></td><td>Vodka Shot</td><td>5</td><td>No</td><td>-</td></tr><tr><td><img src="/files/bDZq4UxIYnZL8Csy7xcx" alt=""></td><td>The Mount Whiskey Shot</td><td>5</td><td>No</td><td>-</td></tr><tr><td><img src="/files/8iJkdgvI4wOlNGOqRI7L" alt=""></td><td>Richard's Whiskey Shot</td><td>5</td><td>No</td><td>-</td></tr><tr><td><img src="/files/M6lealGWJ6nGZc4UN27t" alt=""></td><td>Macbeth Whiskey Shot</td><td>5</td><td>No</td><td>-</td></tr><tr><td><img src="/files/S1YAocYPrLfZVjMzwC5E" alt=""></td><td>Blêuter'd Champagne Silver</td><td>5</td><td>No</td><td>-</td></tr><tr><td><img src="/files/caNJMzZygbFgM0qwdfjx" alt=""></td><td>Blêuter'd Champagne Gold</td><td>5</td><td>No</td><td>-</td></tr><tr><td><img src="/files/URviskq73XGzGEzZSrf1" alt=""></td><td>Blêuter'd Champagne Diamond</td><td>5</td><td>No</td><td>-</td></tr></tbody></table>

### BartenderItemList Field Reference

Use this as a quick guide when creating your own bartender items in `rcore_casino/configs/bartender.lua` (`BartenderItemList`).

<table data-full-width="false"><thead><tr><th>Field</th><th>Type</th><th>Used for</th></tr></thead><tbody><tr><td><code>category</code></td><td>Text</td><td>Groups and sorts items in bartender menu</td></tr><tr><td><code>title</code></td><td>Text</td><td>Item display name in bartender/snack menu and warnings</td></tr><tr><td><code>description</code></td><td>Text</td><td>Item description shown in menus</td></tr><tr><td><code>price</code></td><td>Number</td><td>Purchase price</td></tr><tr><td><code>icon</code></td><td>Image path (Text)</td><td>Menu icon/image for item</td></tr><tr><td><code>buyEvent</code></td><td>Event array</td><td>Event triggered when player buys item (normally <code>{"rcore_casino:BarPurchase", itemId}</code>)</td></tr><tr><td><code>inventoryName</code></td><td>Text</td><td>Inventory item key to give on purchase</td></tr><tr><td><code>showInSnackMenu</code></td><td>Toggle</td><td>Whether inventory item appears in snack/use menu</td></tr><tr><td><code>useEvent</code></td><td>Event array</td><td>Event fired when item is used from snack menu (normally <code>{"rcore_casino:BarUse", itemId}</code>)</td></tr><tr><td><code>removeHunger</code></td><td>Toggle</td><td>Apply hunger restore effect on use</td></tr><tr><td><code>removeThirst</code></td><td>Toggle</td><td>Apply thirst restore effect on use</td></tr><tr><td><code>buyDrunkLevelIncrease</code></td><td>Number</td><td>Increase drunk level immediately on purchase</td></tr><tr><td><code>useDrunkLevelIncrease</code></td><td>Number</td><td>Increase drunk level when used from inventory/snack menu</td></tr><tr><td><code>canBuyWithBonus</code></td><td>Toggle</td><td>Allows free purchase using drink bonus counter</td></tr><tr><td><code>giveAnimation</code></td><td>Object</td><td>Configures bartender hand-over animation and prop</td></tr><tr><td><code>giveAnimation.type</code></td><td>Number</td><td>Selects animation preset for hand-over</td></tr><tr><td><code>giveAnimation.prop</code></td><td>Text (model)</td><td>World prop model bartender hands over</td></tr><tr><td><code>giveAnimation.offset</code></td><td>Vector3 (optional)</td><td>Extra hand-over scene offset</td></tr><tr><td><code>giveAnimation.propOffset</code></td><td>Vector3 (optional)</td><td>Extra prop offset for alignment</td></tr><tr><td><code>useAnimation</code></td><td>Object</td><td>Configures player consumption animation</td></tr><tr><td><code>useAnimation.animDict</code></td><td>Text</td><td>Animation dictionary name</td></tr><tr><td><code>useAnimation.animName</code></td><td>Text or list</td><td>Animation clip(s) played while using item</td></tr><tr><td><code>useAnimation.animTime</code></td><td>Number or list</td><td>When to stop/wait for each clip phase</td></tr><tr><td><code>useAnimation.prop</code></td><td>Text (model)</td><td>Prop attached to player while consuming</td></tr><tr><td><code>useAnimation.attachPos</code></td><td>Vector3</td><td>Attach position on hand bone</td></tr><tr><td><code>useAnimation.attachRot</code></td><td>Vector3</td><td>Attach rotation on hand bone</td></tr><tr><td><code>useAnimation.bone</code></td><td>Number</td><td>Ped bone ID for prop attachment</td></tr></tbody></table>
