Skip to content

WIP: Add Activities system#849

Draft
luciensadi wants to merge 37 commits into
masterfrom
encounters
Draft

WIP: Add Activities system#849
luciensadi wants to merge 37 commits into
masterfrom
encounters

Conversation

@luciensadi
Copy link
Copy Markdown
Owner

Adds a system for Activities, which are choose-your-own-adventure modules.

This MVP design will only account for them being used as a transit method to cross into new areas.

Pushing as a WIP draft to test the new makefile against the CI runner.

@luciensadi luciensadi marked this pull request as ready for review May 5, 2026 15:16
Comment thread src/activities/Check.cpp Fixed
Comment thread src/activities/Effect.cpp Fixed
@luciensadi luciensadi marked this pull request as draft May 6, 2026 20:24
Comment thread src/utils.cpp Outdated

if (!ch) {
mudlog_vfprintf(ch, LOG_SYSLOG, "SYSERR: Got NULL character to spend_syspoints(ch, %d, %s, '%s')", amount, use_restricted ? "T" : "F", for_what);
mudlog_vfprintf(ch, LOG_SYSLOG, "SYSERR: Got NULL character to spend_syspoints(ch, %d, %s, '%s')", amount, amount, use_restricted ? "T" : "F", for_what);
luciensadi and others added 25 commits May 7, 2026 09:56
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Give _test_func a required STRING 'message' and optional INTEGER 'count'
in both the Check and Effect registries, and update their implementations
to actually use them. Manual test callers now pass valid params plus one
deliberate unknown key ('not_a_param') so the typo-guard SYSERR fires
exactly once on construction rather than on every param.
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.

2 participants