diff options
| author | historia <[not public]> | 2026-07-31 17:44:10 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-31 17:44:10 -0400 |
| commit | f51424c90dbce7191a31b6e675818c985f0f4539 (patch) | |
| tree | a7845a2e09bd6e83d2d034f5e702a4940f38126a /building_guide/rooms.md | |
| parent | 58758d41488a777d2bc0e787be655363bdd9eb60 (diff) | |
| download | thehouseoficarus-f51424c90dbce7191a31b6e675818c985f0f4539.tar.gz | |
feat: casino framework and basic slot machine
Diffstat (limited to 'building_guide/rooms.md')
| -rw-r--r-- | building_guide/rooms.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/building_guide/rooms.md b/building_guide/rooms.md index 602e449..7641c75 100644 --- a/building_guide/rooms.md +++ b/building_guide/rooms.md @@ -218,6 +218,39 @@ Mobs stop wandering while in combat. Dead mobs respawn at their home room. --- +### Casino Tables + +Rooms may host one or more casino tables. Players join by typing `play <game>`; +the table ID is an internal room-local identifier and does not need to be typed. + +```yaml +casino_tables: + - id: slots + game: slots + max_players: 8 + betting_ticks: 20 + min_bet: 1 + max_bet: 1000 +``` + +`max_players`, `betting_ticks`, `min_bet`, and `max_bet` use defaults when omitted. +Game-specific rule configuration will be added alongside the table definition as +each game is implemented. + +Single-player machines use `casino_machines` and are separate from multiplayer +tables: + +```yaml +casino_machines: + - id: huff_puff_01 + game: slots + variant: huff_and_even_more_puff + min_bet: 1 + max_bet: 1000 + spin_ticks: 1 + payout: 0.97 +``` + ### Objects — interactive fixtures Simple placement: |
