feat: Add ad-hoc speedrun triggers with best time tracking#352
Open
nape662 wants to merge 4 commits intop2sr:masterfrom
Open
feat: Add ad-hoc speedrun triggers with best time tracking#352nape662 wants to merge 4 commits intop2sr:masterfrom
nape662 wants to merge 4 commits intop2sr:masterfrom
Conversation
New commands for creating temporary split triggers during practice: - sar_speedrun_adhoc_trigger: Create a trigger at current position - sar_speedrun_adhoc_clear: Remove all triggers, restore previous category - sar_speedrun_adhoc_reset_times: Reset saved best times only Features: - Automatically switches to "Practice" category on first trigger - Syncs with srconfigs via svar ($category, $__force_cat) - Tracks best times per trigger with delta display - Color-coded toasts (adhoc_best/adhoc_slow tags) - Restores previous category when cleared
…l for adhoc triggers)
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.
Summary
Adds commands for creating temporary split triggers during practice sessions, with automatic best time tracking and delta display, similar to Celeste Speedrun Tool "flag" feature.
New Commands
sar_speedrun_adhoc_trigger- Create a split trigger at your current positionsar_speedrun_adhoc_clear- Remove all triggers and restore previous categorysar_speedrun_adhoc_reset_times- Reset saved best times without clearing triggersFeatures
$category,$__force_cat)Other Changes
sar_speedrun_draw_triggersnow accepts2for boxes-only mode (no text overlay)Usage
sar_speedrun_adhoc_triggerat the position you want to splitsar_speedrun_adhoc_clearwhen doneRequires corresponding srconfigs PR for the practice category config.