aboutsummaryrefslogtreecommitdiff
path: root/internal/game/production_engine.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-05 17:05:14 -0400
committerhistoria <[not public]>2026-10-05 17:05:14 -0400
commite42952469dadfb3535633c66c881050ac128703c (patch)
treea78f7396b72cdbd6fa4f6c454c830f40cf2ad0cb /internal/game/production_engine.go
parent90ad8c0c33b519d5830c69d4128bdc984b5e9de8 (diff)
downloadthehouseoficarus-e42952469dadfb3535633c66c881050ac128703c.tar.gz
fix: gather verbs, walk oom, admin path bypass, roulette refund
Diffstat (limited to 'internal/game/production_engine.go')
-rw-r--r--internal/game/production_engine.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/game/production_engine.go b/internal/game/production_engine.go
index 9795db0..f80daa2 100644
--- a/internal/game/production_engine.go
+++ b/internal/game/production_engine.go
@@ -154,7 +154,10 @@ func (g *Game) startProductionFromItem(sess *net.Session, p *player.Player, item
info, ok := productionTypes[cKey]
if !ok {
info = productionTypeInfo{
- ActionType: behavior.ActionType(cKey),
+ // Use a known action type so the action actually advances; the
+ // raw subtype is not in productionActionTypes and used to strand
+ // the player in a non-advancing action with no output.
+ ActionType: behavior.TypeCraft,
DisplayVerb: cKey,
StartMessage: "You start " + cKey + " %i1.",
SuccessMessage: "You produce %n.",