mirror of
https://github.com/rehan-remade/universal-modder.git
synced 2026-11-05 01:37:40 +00:00
[PR #206] [MERGED] win drive: add a sleep <ms> verb #209
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rehan-remade/universal-modder#209
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rehan-remade/universal-modder/pull/206
Author: @aalkandery-eng
Created: 10/10/2026
Status: ✅ Merged
Merged: 10/11/2026
Merged by: @rehan-remade
Base:
main← Head:feat/win-drive-sleep📝 Commits (3)
b4c6878win drive: add a sleep verb042e8fbwin drive: sleep: list it in the WinDrive help and skill, clamp negative valuesfe31dc4Merge remote-tracking branch 'origin/main' into land/pr-206📊 Changes
4 files changed (+15 additions, -4 deletions)
View changed files
📝
.agents/skills/game-automation/SKILL.md(+4 -1)📝
.claude/skills/game-automation/SKILL.md(+4 -1)📝
skills/game-automation/SKILL.md(+4 -1)📝
um/ps1/WinDrive.ps1(+3 -1)📄 Description
um win drivehad no way to pause between steps inside one call.idlelooks like a pause but only reports the seconds since the last user input, so"hold 0x20 150" "idle 200" "hold 0x20 150"sends the two presses back to back.Separate
um win drivecalls are too slow for timing, because each one starts PowerShell. So timed combos (a jump then a second press in the air, a tap then a hold) couldn't be scripted.This adds a
sleep <ms>verb (Thread.Sleep) toWinDrive.ps1. The game-automation skill gets a usage line, and itsidleline now says it doesn't wait. The skill copies in.claude/skillsand.agents/skillsare updated to match.Verified:
"hold 0x20 150" "sleep 150" "hold 0x20 120"now lands the second press mid-air. The game's input log shows the release and the second press about 170 ms apart; before this change they were 4 ms apart.pytest -q tests: 87 pass. The one failure,test_compile_small_edl, also fails onmain; #200 fixes it.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.