mtr_addon:nquest:editor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
mtr_addon:nquest:editor [2025/09/22 10:08] – zbx1425 | mtr_addon:nquest:editor [2025/09/22 14:09] (current) – 移除 zbx1425 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[https:// | ||
- | |||
- | The tool is publicly accessible, but only staff members can apply the generated data to the server. If you are not a staff member but wish to contribute, you can export the JSON data from the tool and send it to a staff member. | ||
- | |||
- | ===== Structure & Conventions ===== | ||
- | |||
- | ==== Metadata ==== | ||
- | |||
- | * **Quest ID**: Must be unique, lowercase, and written in kebab-case. \\ Example: '' | ||
- | * **Category**, | ||
- | * **Quest Points**: The reward players receive upon completing the quest. Ensure the points are proportional to the quest’s difficulty. | ||
- | |||
- | ==== Steps & Criteria ==== | ||
- | |||
- | Each step consists of a criterion that, once fulfilled, advances the quest to the next step. | ||
- | |||
- | Optionally, a step may include a failure criterion that aborts the entire quest if triggered. Since this results in the player losing all progress, use failure conditions carefully and ensure they are clearly communicated to the player. | ||
- | |||
- | A quest-wide failure criterion may also be defined. This can be used for e.g. preventing teleportation during the entire quest. Note that step-level failure criteria override quest-wide ones, rather than working in parallel. | ||
- | |||
- | Each criterion generates an automatic description that is shown to the player. If the default description is insufficient (e.g., when using complex logic), you may provide a custom one with the '' | ||
- | |||
- | ===== Criteria ===== | ||
- | |||
- | ==== RideLineCriterion ==== | ||
- | |||
- | True as long as the player is a passenger on a vehicle on a specific transit line. | ||
- | |||
- | * '' | ||
- | |||
- | ==== VisitStationCriterion ==== | ||
- | |||
- | True as long as the player is in the X-Z bound of a specific transit station. | ||
- | |||
- | * '' | ||
- | |||
- | ==== RideLineToStationCriterion ==== | ||
- | |||
- | Triggers once when the player enters the X-Z bound of a specific station, and at that exact moment, is on a specific transit line. That means arriving at the station with other means and then boarding a train will not fullfill this criterion. | ||
- | |||
- | For banning the usage of a line using '' | ||
- | |||
- | * '' | ||
- | * '' | ||
- | |||
- | ==== RideToStationCriterion ==== | ||
- | |||
- | '' | ||
- | |||
- | * '' | ||
- | |||
- | ==== ManualTriggerCriterion ==== | ||
- | |||
- | A criterion met when manually triggered by an command block. The associated command is ''/ | ||
- | |||
- | * '' | ||
- | * '' | ||
- | |||
- | ==== InBoundsCriterion ==== | ||
- | |||
- | Checks if the player is within a specific 3D bounding box. | ||
- | |||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | |||
- | ==== OverSpeedCriterion ==== | ||
- | |||
- | Checks if the player' | ||
- | |||
- | * '' | ||
- | |||
- | ==== TeleportDetectCriterion ==== | ||
- | |||
- | A specialized version of OverSpeedCriterion set at 600km/h for quick usage. | ||
- | |||
- | ==== Descriptor ==== | ||
- | |||
- | Wraps another criterion to provide a custom description, | ||
- | |||
- | * '' | ||
- | * '' | ||
- | |||
- | ===== Criteria for Advanced Logic ===== | ||
- | |||
- | ==== ConstantCriterion ==== | ||
- | |||
- | A criterion that is always either true or false. | ||
- | |||
- | * '' | ||
- | * '' | ||
- | |||
- | ==== AndCriterion ==== | ||
- | |||
- | Combines multiple sub-criteria. It is met only if **all** sub-criteria are met simultaneously. | ||
- | |||
- | * '' | ||
- | |||
- | ==== OrCriterion ==== | ||
- | |||
- | Combines multiple sub-criteria. It is met if **at least one** sub-criterion is met. | ||
- | |||
- | * '' | ||
- | |||
- | ==== NotCriterion ==== | ||
- | |||
- | Inverts the result of its base criterion. It is met if the base criterion is false. | ||
- | |||
- | * '' | ||
- | * '' | ||
- | |||
- | ==== LatchingCriterion ==== | ||
- | |||
- | A stateful wrapper. Once its base criterion becomes true, this criterion " | ||
- | |||
- | * '' | ||
- | |||
- | ==== RisingEdgeAndConditionCriterion ==== | ||
- | |||
- | Triggers at the exact moment a '' | ||
- | |||
- | * '' | ||
- | * '' | ||
- | |||
mtr_addon/nquest/editor.1758535691.txt.gz · Last modified: 2025/09/22 10:08 by zbx1425