An extension (spoon) for the OSX automation program Hammerspoon (http://www.hammerspoon.org/), for unlocking the purple outfit in the indie game Hyper Light Drifter (www.heart-machine.com)
Clone this into your .hammerspoon/Spoons
directory
- In your
.hammerspoon/init.lua
add the following:
hld = hs.loadSpoon("HyperLightDrifter")
hld:bindHotkeys({
unlockPurpleOutfit={{"ctrl", "cmd"}, "P"}
})
- Open Hyper Light Drifter and set controls to keyboard and mouse.
- Go to the dash shop challenge zone and move to a spot slightly left or right of a stamina recharge panel.
- Place your mouse in the middle of the stamina recharge panels.
- Hit
ctrl+cmd+P
. - The guy should start dashing back and forth 800 times and unlock the purple outfit.
- This spoon uses
hs.timer.usleep
, which blocks lua execution and might have adverse affects on other spoons. - Once it starts, it won't stop until the spacebar has been pushed 800 times, so make sure you're in the game and comitted to unlocking this thing.