;
; Front Matter
;

; Include relevant libraries
#Include ../lib/Prelude.ahk
#Include ../lib/HoldRepeat.ahk

WrapperPath:="steam://rungameid/264710"
WrapperWindow:="Subnautica"
#Include ../lib/Wrapper.ahk

;
; Hotkeys
;

; Alt + direction: automove
*!w UP::Hold("w",["s"])
*!s UP::Hold("s",["w"])
*!a UP::Hold("a",["d","w","s"])
*!d UP::Hold("d",["a","w","s"])
*!Space UP::Hold("Space",["LShift"])
*!LShift Up::Hold("LShift",["Space"])

; Alt + mouse key: hold key
*!LButton UP::Hold("LButton",["RButton","MButton"])
*!RButton UP::Hold("RButton",["LButton","MButton"])

; Turbo click to break rocks when caps lock on
#HotIf GetKeyState("CapsLock","T")
*LButton::Turbo("LButton")