# Slots

The **Slots** editor page manages slot machine placement, machine type, gameplay preset, and access settings.

<div data-full-width="false"><figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-c972c3b88ebde63a50b38541f45e3e019254595a%2Fcapt_slots.png?alt=media" 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 slot machine</td></tr><tr><td>Slot type</td><td>Select/List (create-time)</td><td>Select machine type/hash when creating a new slot machine</td></tr><tr><td>Type (read-only)</td><td>Display</td><td>Shows current machine type for existing slot machine</td></tr><tr><td>Preset</td><td>Select/List</td><td>Select gameplay preset used by this slot machine</td></tr><tr><td>VIP only</td><td>Toggle</td><td>Restrict machine usage to VIP players only</td></tr><tr><td>Ambient</td><td>Toggle</td><td>Mark machine as ambient/background usage mode</td></tr><tr><td>Society enabled</td><td>Toggle</td><td>Enable society/account integration for slot revenue</td></tr><tr><td>Society name</td><td>Text/List</td><td>Set society/account name used when society is enabled</td></tr><tr><td>Proximity</td><td>Number</td><td>Set interaction distance in meters</td></tr><tr><td>Load only interiors</td><td>Toggle</td><td>Load this slot machine only while players are in interiors</td></tr><tr><td>Create slot machine</td><td>Action</td><td>Create a new machine from selected type at player position</td></tr><tr><td>Delete slot machine</td><td>Action</td><td>Delete selected slot machine</td></tr></tbody></table>

## SlotPresets

Slot presets are defined in `rcore_casino/configs/slots.lua` in the `SlotPresets` table.

The editor **Preset** option uses this table, so if you want to add your own gameplay behavior, add a new preset entry there and then select it in editor.

<table data-full-width="false"><thead><tr><th>Preset field</th><th>Type</th><th>Info</th></tr></thead><tbody><tr><td><code>name</code></td><td>Text</td><td>Display name of the preset</td></tr><tr><td><code>reels</code></td><td>List of lists</td><td>Symbols per reel, in order</td></tr><tr><td><code>payouts</code></td><td>List</td><td>Payout values for symbols</td></tr><tr><td><code>jackpotSymbol</code></td><td>Text</td><td>Symbol used for jackpot logic</td></tr><tr><td><code>maxBet</code></td><td>Number</td><td>Maximum allowed bet for this preset</td></tr></tbody></table>

## SlotPlayableHashes

Slot machine types are defined in `rcore_casino/configs/slots.lua` in the `SlotPlayableHashes` table.

This table controls what machine models can be created and what default metadata they use.

<table data-full-width="false"><thead><tr><th>Hash field</th><th>Type</th><th>Info</th></tr></thead><tbody><tr><td><code>name</code></td><td>Text</td><td>Machine display name shown in editor</td></tr><tr><td><code>model</code></td><td>Text</td><td>Slot machine model name</td></tr><tr><td><code>defaultPreset</code></td><td>Text</td><td>Preset key from <code>SlotPresets</code> used by default</td></tr><tr><td><code>bannerDict</code></td><td>Text</td><td>Banner/UI texture dictionary for this machine type</td></tr><tr><td><code>reelsNormal</code></td><td>Text</td><td>Normal reel model/texture asset</td></tr><tr><td><code>reelsBlurry</code></td><td>Text</td><td>Blur reel model/texture asset used while spinning</td></tr><tr><td><code>sounds</code></td><td>Text</td><td>Audio bank/sound set used by this machine</td></tr><tr><td><code>announcer</code></td><td>Text</td><td>Announcer voice/profile key</td></tr><tr><td><code>coverOffset</code></td><td>Vector3</td><td>Offset for machine cover props/effects</td></tr><tr><td><code>coverModel</code></td><td>Text</td><td>Cover model used by this machine type</td></tr><tr><td><code>messageId</code></td><td>Number</td><td>Internal message/reward mapping id</td></tr><tr><td><code>display</code></td><td>Text</td><td>Display key used by slot renderer/UI</td></tr><tr><td><code>bankname</code></td><td>Text</td><td>Audio bank name used for machine sounds</td></tr></tbody></table>

<table data-full-width="false"><thead><tr><th width="127">Model Preview</th><th>Machine Name</th><th>Model Name</th></tr></thead><tbody><tr><td><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-a98088f0ad0bc93ac62c3de099003c2d21c07173%2Fvw_prop_casino_slot_01a.png?alt=media" alt=""></td><td><code>vw_prop_casino_slot_01a</code></td><td>Angel Knight</td></tr><tr><td><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-292ab79d89bc494777da4208cff4e0bab2a5ef11%2Fvw_prop_casino_slot_02a.png?alt=media" alt=""></td><td><code>vw_prop_casino_slot_02a</code></td><td>Impotent Rage</td></tr><tr><td><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-77a8848fc754401ee15d0955d56c6863c0f657fd%2Fvw_prop_casino_slot_03a.png?alt=media" alt=""></td><td><code>vw_prop_casino_slot_03a</code></td><td>Space Rangers</td></tr><tr><td><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-e6d69128ccc5c5421adfddcd42d45a763113a7c5%2Fvw_prop_casino_slot_04a.png?alt=media" alt=""></td><td><code>vw_prop_casino_slot_04a</code></td><td>Fame or Shame</td></tr><tr><td><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-4619cb66d374a2c0f0e139e267a7b7ba675be34a%2Fvw_prop_casino_slot_05a.png?alt=media" alt=""></td><td><code>vw_prop_casino_slot_05a</code></td><td>Deity of the Sun</td></tr><tr><td><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-15fa494ab7aac5dc84d701ae242a8e3d6c690f98%2Fvw_prop_casino_slot_06a.png?alt=media" alt=""></td><td><code>vw_prop_casino_slot_06a</code></td><td>Twilight Knife</td></tr><tr><td><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-41919e650052dd7ea54a062c29c43623d016d5c5%2Fvw_prop_casino_slot_07a.png?alt=media" alt=""></td><td><code>vw_prop_casino_slot_07a</code></td><td>Diamond Miner</td></tr><tr><td><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-3e428d074367096116d51b41426460b3fcdebd3d%2Fvw_prop_casino_slot_08a.png?alt=media" alt=""></td><td><code>vw_prop_casino_slot_08a</code></td><td>Evacuator</td></tr></tbody></table>
