aboutsummaryrefslogtreecommitdiff
path: root/internal/game/action_state.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-17 21:13:07 -0400
committerhistoria <[not public]>2026-06-17 21:13:07 -0400
commitec2e94e3463654a6288464a4c070b48ef9bf7368 (patch)
tree3c5df0f9a6a5968fa4c725a7d331825883ae798c /internal/game/action_state.go
parenteef5ddaa94f8cff6010d092c30fed53d2be01524 (diff)
downloadthehouseoficarus-ec2e94e3463654a6288464a4c070b48ef9bf7368.tar.gz
feat: smithing added, item/object interaction reworked. recipes and menus refactored.
Diffstat (limited to 'internal/game/action_state.go')
-rw-r--r--internal/game/action_state.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/internal/game/action_state.go b/internal/game/action_state.go
index 6ce3734..26c22f3 100644
--- a/internal/game/action_state.go
+++ b/internal/game/action_state.go
@@ -19,8 +19,7 @@ const (
ActionSearching ActionType = "searching"
ActionResting ActionType = "resting"
ActionWalking ActionType = "walking"
- ActionCooking ActionType = "cooking"
- ActionSmelting ActionType = "smelting"
+ ActionProducing ActionType = "producing"
ActionEating ActionType = "eating"
)
@@ -67,10 +66,8 @@ func (a *ActionState) Description() string {
return "resting"
case ActionWalking:
return "walking somewhere with a purpose!"
- case ActionCooking:
- return "cooking some " + a.TargetName
- case ActionSmelting:
- return "smelting some " + a.TargetName
+ case ActionProducing:
+ return a.Verb + " some " + a.TargetName
case ActionEating:
return "eating " + a.TargetName
}