Skip to content

feat(Function): mission system framework - #380

Merged
CloudeaSoft merged 385 commits into
masterfrom
common/npc_mission
Sep 4, 2026
Merged

feat(Function): mission system framework#380
CloudeaSoft merged 385 commits into
masterfrom
common/npc_mission

Conversation

@CloudeaSoft

@CloudeaSoft CloudeaSoft commented May 7, 2026

Copy link
Copy Markdown
Member

Note

High Risk
Large new gameplay subsystem touching player/world persistence, rewards, hooks, and multiplayer authority—save compatibility and sync edge cases need careful review.

Overview
Introduces a full Quest subsystem under Everglow.Function/Mechanics/Quest/, replacing the old Mission paths and docs references with Quest naming (QuestSystem tests, QUEST_SYSTEM_DESIGN.md, Quest AGENTS.md).

Player-side quests get managers, state machines, objective DSL (sequential, parallel, optional, branch), concrete objectives (kill, collect, consume, explore, talk, give item), ModPlayer/GlobalNPC/GlobalItem hooks, save/load via TagCompound, and DEBUG sample quests. World-side quests (manager, objectives, MP sync, per-player reward claims) are wired through the same Presentation layer: adapters build read-only QuestView / QuestAction snapshots, QuestPresentationService queries and executes actions, and QuestPresentationSystem fans out UI notifications and quest panel updates.

Supporting changes: FontStashSharp.FNA reference and *.ttf mod pack whitelist for quest UI drawers; minor en-US localization tweaks; contributor guides updated for Quest-focused verification (dotnet test --filter "FullyQualifiedName~QuestSystem").

Reviewed by Cursor Bugbot for commit 67b0b33. Configure here.

CloudeaSoft and others added 30 commits February 26, 2025 15:38
…ion base to fit the branching objective, fix objective text of branching objective
- Fix rotation issues
- Add click-to-select functionality
- Remove unused overrides
… in objectives to simplify data structure, optimize file organization
…ponding unit tests, add comments in mission base
- Fix vfx draw position
- Add mouse text for each selection
- Add comments for readability
@CloudeaSoft
CloudeaSoft marked this pull request as ready for review September 4, 2026 08:39
@CloudeaSoft CloudeaSoft changed the title feat(Function): mission system feat(Function): mission system framework Sep 4, 2026
@CloudeaSoft CloudeaSoft changed the title feat(Function): mission system framework feat(Function): mission system framework, the first part Sep 4, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 9 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 67b0b33. Configure here.

Comment thread Sources/Everglow.Function/Mechanics/Quest/Hooks/QuestGlobalItem.cs
Comment thread Localization/en-US_Mods.Everglow.hjson
Comment thread Sources/Everglow.Function/Mechanics/Quest/Core/QuestType.cs
cursor[bot]

This comment was marked as duplicate.

CloudeaSoft and others added 4 commits September 4, 2026 16:51
The town-NPC scratch projectile still exists; keep its localization key and drop the unrelated SlashProjectile3D name.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Walk-distance objectives only tick every UpdateInterval frames, so a single velocity sample undercounted travel. Scale by the interval instead of position deltas so teleports do not complete the objective.

Co-authored-by: Cursor <cursoragent@cursor.com>
Zeroing stack left the item type in place, so handed-in stacks still occupied inventory slots.

Co-authored-by: Cursor <cursoragent@cursor.com>
cursor[bot]

This comment was marked as duplicate.

@CloudeaSoft
CloudeaSoft enabled auto-merge (squash) September 4, 2026 09:51
@CloudeaSoft CloudeaSoft changed the title feat(Function): mission system framework, the first part feat(Function): mission system framework Sep 4, 2026
@CloudeaSoft
CloudeaSoft merged commit f222f93 into master Sep 4, 2026
6 checks passed
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.

Design and implement world mission objective structure Quest System

3 participants