diff options
| author | historia <workhorse@localhost.localdomain> | 2026-06-20 21:36:32 -0400 |
|---|---|---|
| committer | historia <workhorse@localhost.localdomain> | 2026-06-20 21:36:32 -0400 |
| commit | 010fa439399581391fcd509d2058191ff4fa74b3 (patch) | |
| tree | 2deb54f5b2724e34091e6fb97390e6958f973561 /internal/game/sys_science.go | |
| parent | 00a0622dcb5eae90b4ec14ed16c527b81f963c3f (diff) | |
| download | thehouseoficarus-010fa439399581391fcd509d2058191ff4fa74b3.tar.gz | |
feat: stop command added
Diffstat (limited to 'internal/game/sys_science.go')
| -rw-r--r-- | internal/game/sys_science.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/sys_science.go b/internal/game/sys_science.go index 376d7c7..1129fee 100644 --- a/internal/game/sys_science.go +++ b/internal/game/sys_science.go @@ -204,7 +204,7 @@ func (g *Game) effectiveJunkCost(p *player.Player, mod *ModDef) map[string]int { hasDeck := g.hasDeckEquipped(p) if hasDeck { - delete(cost, "scrap_metal") + delete(cost, "scrap") } providesJunk := g.providesJunk(p) @@ -263,7 +263,7 @@ func (g *Game) triggerModReward(sess *net.Session, p *player.Player, mod *ModDef func (g *Game) junkCostString(p *player.Player, mod *ModDef) string { cost := g.effectiveJunkCost(p, mod) - delete(cost, "scrap_metal") + delete(cost, "scrap") if len(cost) == 0 { return "free" } |
