Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

A web-based, modular quest tracking system for managing complex questlines with dependencies, auto-resolution logic, and secret quests.

License

Notifications You must be signed in to change notification settings

DefinetlyNotAI/Facility_Quest

Repository files navigation

Quest

A modular questline management system built with TypeScript and React. Easily define, manage, and visualize complex quest dependencies for games or gamified applications.

Note

Check out the wiki for detailed documentation on how to use and extend the quest system.

Features

  • Composable Questlines: Define quests and dependencies using a flexible schema.
  • Recursive Logic: Supports complex, nested requirements and cascading quest states.
  • Validation & Testing: Built-in guidelines for robust quest logic and UI testing.
  • Responsive UI: Works seamlessly across desktop and mobile devices.

Usage

  • Browse and interact with questlines in the UI.
  • Add or modify quests by editing files in components/quests/.
  • All quest logic is defined in TypeScript for type safety and maintainability.

Quick Start

  1. Navigate Questlines: Browse questlines in the left sidebar
  2. View Quest Details: Click any quest to see comprehensive information
  3. Track Progress: Monitor completion percentages and statistics
  4. Explore Dependencies: Use the dependency graph to understand quest relationships
  5. Submit Solutions: Use the submission info to get your solutions recognized globally

Contributing

Adding New Questlines

  1. Create a new TypeScript file in components/quests/
  2. Define your questline following the schema
  3. Export it as a named export
  4. Import and add to the main data array in all_quests.tsx

Modifying Existing Quests

  1. Locate the appropriate questline file
  2. Update quest data following schema guidelines
  3. Ensure all validation passes
  4. Test complex logic conditions and recursive scenarios thoroughly

Testing Guidelines

  1. Dependency Testing: Verify requirement chains work as expected
  2. Logic Testing: Test all boolean conditions with various quest states
  3. Recursive Must Requirement Testing: Test cascading failure scenarios thoroughly, including deep chains
  4. Edge Case Testing: Test unusual combinations of quest states
  5. UI Testing: Ensure changes display correctly in all views
  6. Mobile Testing: Verify responsive behavior on mobile devices
  7. Performance Testing: Test system performance with complex recursive scenarios

License

This project is licensed under the MIT License - see the LICENSE file for details.


Tip

For technical support or questions about quest design, please refer to the comprehensive examples above or examine the existing quest files in the codebase with help from the below guide.

About

A web-based, modular quest tracking system for managing complex questlines with dependencies, auto-resolution logic, and secret quests.

Topics

Resources

License

Stars

Watchers

Forks