Repository navigation
Quests in the area source, built into the JSON - #26
Merged
Merged
Conversation
… loader A top-level quests key holds quests in the fields of the MOO's $quest, with rooms, mobs and objects named by id. build --format json writes them under quests with ids turned into vnums and texts into lists of lines; --format rom refuses them. build refuses unknown ids, stage rings, credits without a giver, a missing solution, and a moved objective whose object cannot be taken.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A top-level
questskey in an area source holds quests in the fields of the Mongoose MOO's$quest.build --format jsonwrites them underquestswith ids turned into{room|mob|object: vnum}and texts into lists of lines;--format romrefuses them.buildrefuses: unknown ids, an objective that is both or neither event and state, unknown@match words, a state whose first argument is not a role, duplicate stage names, anafternaming no stage or forming a ring,needs/ofout of range, credits with no giver, a missing or emptysolution, and amovedobjective whose object has notakewear flag.Tests: 21 new in
test_authoring.py; full suite 1743 passed. The take-flag test fails with the check removed.Used live 2026-10-18: a two-stage quest built from this branch loaded into the Mongoose MOO and was completed by a guest over telnet typing its
solution(5 credits paid from the giver).