diff options
Diffstat (limited to 'internal/game/production_engine.go')
| -rw-r--r-- | internal/game/production_engine.go | 5 |
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.", |
