Bank: a full stack spills into another slot
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
fb37bcef98
commit
71d7ca704b
5 changed files with 41 additions and 15 deletions
1
app.py
1
app.py
|
|
@ -107,6 +107,7 @@ def player_view(world: dict, player: dict, now: float) -> dict:
|
|||
view["labour_per_action"] = game.labour_per_action(player)
|
||||
view["levels"] = {skill: game.skill_level(player, skill) for skill in game.SKILL_IDS}
|
||||
view["slots"] = game.bank_slots(world, player)
|
||||
view["slots_used"] = game.slots_used(world, player)
|
||||
view["stack"] = game.stack_size(world)
|
||||
view["power"] = game.combat_power(player)
|
||||
view["perk_costs"] = {perk: game.perk_cost(player, perk) for perk in player["perks"]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue