BlackJack

BlackJack 0.1.11

This is for the coming Rust update. DO NOT update prior to the game update
Kick players from the table who do not have enough currency for the bet they placed
Updated for Casino 0.1.9
Added config option "Table Skin ID"
Casino is its own resource now, find it here -> https://chaoscode.io/resources/casino.294/
Delete both the Casino.cs and PlayingCards.cs files before updating. PlayingCards.cs is not longer needed
  • Like
Reactions: TwoShoes
Casino
Save table skin ID's so if the table needs to be respawned it does so with the same skin
Added config option to change the size of the ddraw notification bounds
Destroy table entity and respawn a fresh one when removing a card game

BlackJack
Fixed overlapping balances
Reduced wait time before dealer plays turn
  • Like
Reactions: BooleanBorealis
Casino v0.1.6
Fixed chair rotations when table is on a slope
Don't create a new table if the target card game is registered and log a error that its missing
Changed card counting logic so you dont bust if for example you are dealt 2 aces, then a 10 (which was resulting in 22)
Added double down support
Added insurance support
Fixed a bug where if there were 3 or more people at a table, and everyone besides 1 had placed bets and then that person leaves the table the game is reset instead of continuing on
Thanks to @BekerMelk and his players for help in tracking down the issue
  • Like
Reactions: BekerMelk
Destroy all Rust components that can destroy a table
Save table position and rotation with game data
If a table doesn't exist when the plugin loads then spawn it (this will only work on tables created from this update onwards)
PlayingCards
Added config option "Force image update on load" which will force override stored card images when loaded and toggle itself off

Casino
Un-parent chairs from tables (should prevent invisible chairs bug)
Destroy a couple of components that could possibly be destroying chairs
Respawn chairs if they somehow get destroyed
Added config option to show players balance (only visible to player)
Added config option to show winnings at end of game
Added chat command to set bet types per table (/casino setbet <type> <shortname>)
  • Like
Reactions: svenni