Bartenders

Managing bartenders in the Casino Editor

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

Editor Settings

Setting
Type
Info

Name

Text

Choose a display name for the bartender

Items

Multi-select list

Select which drinks/items this bartender can sell

Ped model

Select/List

Choose which NPC model the bartender uses

VIP only

Toggle

Restrict this bartender to VIP players only

Society enabled

Toggle

Enable society/account integration for this bartender

Society name

Text/List

Set the society/account name used when society is enabled

Proximity

Number

Set proximity distance in meters

Load only interiors

Toggle

Load this bartender only while players are in interiors

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.

Item icon
Item name
Price
Gives item
Inventory item name

Beer

5

Yes

casino_beer

Burger

10

Yes

casino_burger

Coffee

5

Yes

casino_coffee

Coke

5

Yes

casino_coke

Donut

5

Yes

casino_donut

Ego Chaser

5

Yes

casino_ego_chaser

Lucky Potion

5

Yes

casino_luckypotion

PsQs

5

Yes

casino_psqs

Sandwitch

10

Yes

casino_sandwitch

Sprite

5

Yes

casino_sprite

Vodka Shot

5

No

-

The Mount Whiskey Shot

5

No

-

Richard's Whiskey Shot

5

No

-

Macbeth Whiskey Shot

5

No

-

Blรชuter'd Champagne Silver

5

No

-

Blรชuter'd Champagne Gold

5

No

-

Blรชuter'd Champagne Diamond

5

No

-

BartenderItemList Field Reference

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

Field
Type
Used for

category

Text

Groups and sorts items in bartender menu

title

Text

Item display name in bartender/snack menu and warnings

description

Text

Item description shown in menus

price

Number

Purchase price

icon

Image path (Text)

Menu icon/image for item

buyEvent

Event array

Event triggered when player buys item (normally {"rcore_casino:BarPurchase", itemId})

inventoryName

Text

Inventory item key to give on purchase

showInSnackMenu

Toggle

Whether inventory item appears in snack/use menu

useEvent

Event array

Event fired when item is used from snack menu (normally {"rcore_casino:BarUse", itemId})

removeHunger

Toggle

Apply hunger restore effect on use

removeThirst

Toggle

Apply thirst restore effect on use

buyDrunkLevelIncrease

Number

Increase drunk level immediately on purchase

useDrunkLevelIncrease

Number

Increase drunk level when used from inventory/snack menu

canBuyWithBonus

Toggle

Allows free purchase using drink bonus counter

giveAnimation

Object

Configures bartender hand-over animation and prop

giveAnimation.type

Number

Selects animation preset for hand-over

giveAnimation.prop

Text (model)

World prop model bartender hands over

giveAnimation.offset

Vector3 (optional)

Extra hand-over scene offset

giveAnimation.propOffset

Vector3 (optional)

Extra prop offset for alignment

useAnimation

Object

Configures player consumption animation

useAnimation.animDict

Text

Animation dictionary name

useAnimation.animName

Text or list

Animation clip(s) played while using item

useAnimation.animTime

Number or list

When to stop/wait for each clip phase

useAnimation.prop

Text (model)

Prop attached to player while consuming

useAnimation.attachPos

Vector3

Attach position on hand bone

useAnimation.attachRot

Vector3

Attach rotation on hand bone

useAnimation.bone

Number

Ped bone ID for prop attachment

Last updated