Gathering and production skills use the shared skill action framework so actions can be started, ticked, cancelled, animated, and completed consistently.
Included actions
| Action | Typical setup |
|---|---|
| Woodcutting | Tree object with TreeActionHandler, tool requirement, success chance, XP, and output logs. |
| Fishing | Fishing spot with FishingSpotActionHandler, catch table, tool requirement, XP, and inventory output. |
| Firemaking | Item on item combination such as tinderbox on logs, success chance, XP, and temporary fire object. |
| Cooking | Cooking station or stove handler, cookable item definition, raw item input, cooked/burnt result, and XP. |
Tools
GatheringToolDefinition extends equipment so a tool can be both wielded and used for resource checks. GatheringToolFinder can locate a valid tool from the player inventory or equipment depending on the action design.
Temporary objects
Firemaking can spawn a TemporaryFireObject. Make sure the spawned fire prefab has the temporary component if it should despawn after its lifetime.