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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user