Skip to content

Auto mission module#577

Merged
Volte6 merged 2 commits into
masterfrom
auto-mission-module
May 13, 2026
Merged

Auto mission module#577
Volte6 merged 2 commits into
masterfrom
auto-mission-module

Conversation

@Volte6
Copy link
Copy Markdown
Member

@Volte6 Volte6 commented May 13, 2026

Description

Adds a new automission module that provides a dynamic, telemetry-driven mission board system for rooms.

Players visit rooms tagged with mission board tags to browse, accept, and complete missions. Missions are generated automatically from server telemetry and restocked on a configurable timer.


Changes

  • New modules/automission module with full plugin registration, admin pages, and user command
  • Four mission types: kill_mob, find_item, explore, and escort, each enabled independently via room tags (missionboard kill_mob, missionboard find_item, missionboard explore, missionboard escort)
  • Per-board mission generation — each tagged room generates its own independent mission pool; two boards with the same tags produce different missions
  • Missions must be turned in at the same board room they were accepted from; players are told which room to return to if they try the wrong board
  • Telemetry-driven target selection: kill and find missions select targets from kill/drop frequency data with easy/hard difficulty tiers; falls back to all known mobs/items when telemetry is sparse
  • Explore missions use mapper path distance from the board room to determine difficulty
  • Escort missions spawn a charmed NPC that must be guided to its destination zone within a configurable time limit; validates zone reachability via the mapper before generating; excludes mobs whose home zone matches the board room's zone
  • Deduplication: no mob, item, room, or escort mob repeats within a single board's mission pool
  • Quest items excluded from find_item missions
  • One active mission per type enforced at accept time
  • Find_item turn-in requires the player to have the item in inventory or equipped; item is taken on successful turn-in
  • Per-type reward pools (KillMobEasyRewards, FindItemHardRewards, etc.) with gold, experience, and item reward types; item rewards fall back to gold if no item IDs are configured
  • Room alert injected via OnRoomLook when entering a board room
  • Turn-in reminder shown when entering a board room with ready missions
  • mission list shows [ACCEPTED], [READY], and [COMPLETED] status per mission; shows accept hint at board rooms
  • ANSI tags stripped from mission titles before banner rendering to prevent border corruption
  • Admin Config page with tabbed per-type reward pool editor using standard item/mob pickers
  • Admin About page with full command, room tag, and config key reference
  • help mission template registered; mission added to keywords for the help menu
  • modules/all-modules.go import added

@Volte6 Volte6 merged commit 2e4bf7e into master May 13, 2026
8 of 9 checks passed
@Volte6 Volte6 deleted the auto-mission-module branch May 13, 2026 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant