Gathering & Professions

The material-economy loop: AFK gathering stations feed profession skills, which feed crafting at the Forge. Crafting itself is on Loot, Inventory & Crafting.

AFK gathering

  • AfkGatheringStation โ€” press F once at a station, then go AFK. It ticks materials into your bag on an interval. Cancels if you drift past cancelRadius, press F/Escape, or click STOP.
  • Items are added server-side via POST /api/inventory/add-item (JWT + ownership validated).
  • XP is awarded via ProfessionManager.AwardXp โ†’ POST /api/professions/award-xp.
  • Profession IDs: 0 = Woodcutting, 1 = Fishing, 2 = Mining (station-defined, e.g. "Copper Vein").
  • GatheringHUD โ€” the overlay while gathering: profession + station name, item id, next-tick countdown, progress bar, and a STOP button wired to the station's cancel callback.
  • Gathering stations live in a gathering area built by GatheringZoneBuilder (editor). Note the Gathering Zone scene name exists in SceneNames but has no scene file yet โ€” see Zones, Scenes & Multi-Zone.

Professions

  • ProfessionManager โ€” client singleton fronting the profession endpoints: GET /api/professions/:characterId, GET /api/professions/recipes/:characterId, POST /api/professions/award-xp. Backed by the professions table (skill_level, skill_xp).
  • ForgeNPC โ€” a hub NPC; press E in range to open the ForgeCraftingPanel (default profession_id 1 = Smithing; also Mining 2, Alchemy 3). Purely client-side interaction; crafting API calls happen in the panel. See NPCs & Interaction.
โ„น๏ธ Where crafting continues

Smelt/craft transactions, recipes, and consumables are documented on Loot, Inventory & Crafting (POST /api/craft, ConsumableEffect, seeded materials/recipes).


Related: Loot, Inventory & Crafting ยท NPCs & Interaction ยท Auth & Game API