Created
November 12, 2024 08:45
-
-
Save simonLeary42/7ff1bfd09ace403239f4825696c6677e to your computer and use it in GitHub Desktop.
cooking macro for red dead redemption 2
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
; Simon Leary | |
; 12/31/2021 | |
; when you go to cook, as you click on the item to cook, press scrollLock to keep cooking | |
; to stop press scrollLock again | |
#maxthreadsperhotkey 2 | |
ScrollLock:: | |
{ | |
SoundPlay, pop.mp3 | |
enable:=!enable ; toggle | |
if (!enable){ ; if toggle off, reset the script now rather than waiting until next while loop | |
SoundPlay, exitPop.mp3 | |
sleep, 1000 ; this should be roughly the length in ms of exitPop.mp3 or its equivalent | |
Reload | |
} | |
while, enable ; loop until toggled off | |
{ | |
; press cook | |
SoundPlay, pop.mp3 | |
sendinput, {Enter down} | |
sleep, 100 | |
sendinput, {Enter up} | |
sleep,3000 | |
; cook | |
sendinput, {Enter down} | |
; this time changes depending on the level of your campfire | |
; for level 1 campfire, ? | |
; for level 2 campfire, 3500 | |
sleep, 3500 | |
sendinput, {Enter up} | |
sleep, 400 | |
; press cook another | |
sendinput, {Space down} | |
sleep, 100 | |
sendinput, {Space up} | |
sleep, 2000 | |
} | |
} | |
return | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment