config(default-grants): zero out shipped Crystals/Rupees/Ether

Tutorial gifts now cover the starter pack + starter deck flow (crystals
+ ether + tickets granted via ViewerPresents on signup), so the 50k/50k/50k
default deposit was double-dipping. Zero the ShippedDefaults so a fresh
viewer's currency reflects exactly what they've earned.

Also update the two tests that asserted the old 50k baseline.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-07-04 14:54:43 -04:00
parent 05d143d2e8
commit 6b0b467f31
3 changed files with 7 additions and 7 deletions

View File

@@ -55,9 +55,9 @@ public class GameConfigurationJsonbTests
Assert.That(slot8!.Silver, Is.EqualTo(0.7692).Within(1e-9));
var grants = JsonSerializer.Deserialize<DefaultGrantsConfig>(byName["DefaultGrants"].ValueJson)!;
Assert.That(grants.Crystals, Is.EqualTo(50000UL));
Assert.That(grants.Rupees, Is.EqualTo(50000UL));
Assert.That(grants.Ether, Is.EqualTo(50000UL));
Assert.That(grants.Crystals, Is.EqualTo(0UL));
Assert.That(grants.Rupees, Is.EqualTo(0UL));
Assert.That(grants.Ether, Is.EqualTo(0UL));
var player = JsonSerializer.Deserialize<PlayerConfig>(byName["Player"].ValueJson)!;
Assert.That(player.MaxFriends, Is.EqualTo(20));