Village casinos: every casino has its own game mix and prices #3

Merged
SteamPodEater merged 1 commit from village-casino-variety into main 2026-11-10 09:06:02 +00:00
Owner

Requested by Rik · project thread

Builds on #2 (base branch village-casino-looks); merge #1 and #2 first.

What changes

New worldgen/VillageFlavor. Everything is seeded by the casino's zone id, so a casino keeps its character through upgrades:

  • Exchange rate: the Ticket Machine gives the config rate -1, 0 or +1 village tokens per emerald.
  • Prize prices: the Prize Shelf prices (and the Coinshape) are x0.8, x0.9, x1, x1.1 or x1.25.
  • Game mix, right after every template placement: wall machines and croupier tables are shuffled over their spots. At 4-5 stars, the extra copies become a random other game of the same kind. A 1-2 star casino may swap one wall machine for a 3-star game (Keno, Mines or Crash) as a sneak peek. A 3+ star casino always keeps every game of its star, so the "Full House" advancement still works. Pachinko machines get a random model.
  • Hot game: one game in each casino gets +0.03 odds (a CasinoBus ODDS modifier, still inside the 0.2 clamp). It shows on the left door sign by day ("Hot: ").
  • The handbook "Stars & Games" page and CLAUDE.md explain it.

Not tested in game

Gradle can't reach maven.neoforged.net from the build container. Checked with the javac syntax check, build_assets.sh and check_trees.py.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MfH3NBzVMUijPYLmpAUPwK

<!-- claude-projects-attribution --> _Requested by **Rik** · [project thread](https://claude.ai/code/project/chan_01GF4aYRVNpT2F67Hfz4fSLG?thread=cmsg_01GF4aYRVNpT2F67Hfz4fSLGMhvpZkiNXCoor32CLK6N17)_ Builds on #2 (base branch `village-casino-looks`); merge #1 and #2 first. ## What changes New `worldgen/VillageFlavor`. Everything is seeded by the casino's zone id, so a casino keeps its character through upgrades: - **Exchange rate:** the Ticket Machine gives the config rate -1, 0 or +1 village tokens per emerald. - **Prize prices:** the Prize Shelf prices (and the Coinshape) are x0.8, x0.9, x1, x1.1 or x1.25. - **Game mix**, right after every template placement: wall machines and croupier tables are shuffled over their spots. At 4-5 stars, the extra copies become a random other game of the same kind. A 1-2 star casino may swap one wall machine for a 3-star game (Keno, Mines or Crash) as a sneak peek. A 3+ star casino always keeps every game of its star, so the "Full House" advancement still works. Pachinko machines get a random model. - **Hot game:** one game in each casino gets +0.03 odds (a CasinoBus ODDS modifier, still inside the 0.2 clamp). It shows on the left door sign by day ("Hot: <game>"). - The handbook "Stars & Games" page and CLAUDE.md explain it. ## Not tested in game Gradle can't reach maven.neoforged.net from the build container. Checked with the javac syntax check, `build_assets.sh` and `check_trees.py`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01MfH3NBzVMUijPYLmpAUPwK
Village casinos: every casino has its own game mix and prices
All checks were successful
Build / build (pull_request) Successful in 4m6s
Build / build (push) Successful in 4m10s
4ce398a17d
New worldgen/VillageFlavor, seeded by the zone id so it survives upgrades:
- tokens per emerald: config rate -1/0/+1
- Prize Shelf prices x0.8 to x1.25
- after each template placement: wall machines and croupier tables are shuffled,
  duplicate copies (4-5 stars) become another game of the same kind, 1-2 star casinos
  may get one 3-star game as a sneak peek, random pachinko models; 3+ stars always keep
  all games of their star
- a house special game with +0.03 odds, shown on the door sign by day

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MfH3NBzVMUijPYLmpAUPwK
SteamPodEater changed target branch from village-casino-looks to main 2026-11-10 09:04:35 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SteamPodEater/MakeItRoll!3
No description provided.