userBill Bcancel
branchrust_reboot/main/Caboosecancel

114 Commits over 61 Days - 0.08cph!

38 Days Ago
Another formatting edit, getting things to fit better on the widget
38 Days Ago
Minor formatting edit
38 Days Ago
Play widget can now show all possible separate bets per player - base, split, and insurance. Fixed a winnings payout bug.
38 Days Ago
Fix split result showing as Loss instead of None when not used
38 Days Ago
Show winnings as a value minus the amount paid in
38 Days Ago
If the player already has a 100% optimal result, end their turn. There's no point asking if they're like to hit on 21
38 Days Ago
Remove a temp setting
38 Days Ago
Adjust how the results text displays scrap won
38 Days Ago
Fixed player widget card layout issue
38 Days Ago
Split result text for the main UI
38 Days Ago
Small monitors can now display results for two hands at once (splits)
38 Days Ago
Fix compile for now, just need to sort out the round result text
38 Days Ago
Adding support for multiple results per player WIP. Who would have thought a card game would exist where each player can have more than one result per round? Yet here we are.
38 Days Ago
Merge Main -> Caboose
38 Days Ago
A couple of visual UI fixes
38 Days Ago
Better layout for the player widget UI cards when player has split
38 Days Ago
Fix playingSplitCards not clearing per round
38 Days Ago
Show both scores if the player has split
38 Days Ago
Split cards use the small card images in the 2D UI. Small screen UI now shows basic info about having a split.
39 Days Ago
Splitting WIP
39 Days Ago
Refactor, creating CardPlayerDataBlackjack as a separate subclass of CardPlayerData, with a separate ProtoBuf message as well. Allows for more Blackjack-specific per-player content. This is mainly to support Split well, but helps Insurance as well. Originally I tried to do this in a bit of a nicer way with generics, casting PlayerData in CardGameController to the player data type of the subclass. But generics and MonoBehaviours really don't mix well. In the end there's just a bit of casting instead.
39 Days Ago
Merge Main -> Caboose
40 Days Ago
Improve how we pay out scrap after a server save/load, so that nothing gets lots (not even in-progress bets). This still isn't ideal since when we need to drop scrap, it falls through the train due to the items-fall-through-vehicles problem. I'll look for a better solution if there's time.
40 Days Ago
Merge Main -> Caboose
40 Days Ago
If the caboose is destroyed, try to pay all scrap that's in as bets or in player storage out to the players, based on the amounts they've each put in. If for whatever reason this can't be done, drop it on the ground.
40 Days Ago
Give the caboose 20% more health
40 Days Ago
Merge Main -> Caboose
41 Days Ago
Player can double down on any two cards if neither is an ace (some rules only allow DD on a card value of 9-11). They double their bet and receive one extra face up card. The bet is then dealt with normally (some rules say that if the dealer has Blackjack, the dealer only collects the amount of the original bet).
41 Days Ago
Can't double down if card count is not == 2
41 Days Ago
Added killcars, killminis, killscraphelis, killtrains, and killboats convars. Works the same as killanimals but more humane.
41 Days Ago
Fixed the card game UI freaking out (infinite NREs) if the caboose is destroyed while players are using blackjack/poker
41 Days Ago
Merge Main -> Caboose
42 Days Ago
Merge Main -> Caboose
42 Days Ago
Fixed caboose lights not working anymore
42 Days Ago
Fixed more non-dynamic culling/lod scripts on caboose
42 Days Ago
Merge Main -> Caboose
44 Days Ago
Got all the caboose colliders onto the Vehicle Detailed layer
44 Days Ago
Fixed init order when spawning caboose causing trouble with poker and blackjack. Fixed other RendererLOD scripts on the caboose that weren't Dynamic.
44 Days Ago
Fixed poker table not showing up in spawned caboose
44 Days Ago
Fixed light switches not showing in spawn caboose
44 Days Ago
Disable Blackjack Halloween mode for now
45 Days Ago
Fixed compile issues
45 Days Ago
Minor UI edit
45 Days Ago
Small-screen UI now has info for insurance and split bets
45 Days Ago
Use & instead of / for bet UI
45 Days Ago
Add Insurance back as a Blackjack option
45 Days Ago
Merge Main -> Caboose
45 Days Ago
Fixed a rare animation issue (not Blackjack specific) with players getting stuck in a sitting state when their mounted pose is the standing pose, causing them to appear as sitting. The standing idle loop now plays as well.
45 Days Ago
Fixed timer not always showing up for a player's turn, with simultaneous turns
45 Days Ago
Compile fix