Advertisement
Guest User

Starbound macro - Deposit All

a guest
Sep 4th, 2024
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Requires AutoHotkey v2.0
  2.  
  3. ; ======================================================
  4. ; USAGE:
  5.  
  6. ; Open some chest or other container -> Hover over the first slot in your inventory (highest row, left-most column) with your cursor.
  7. ; Press the key that will launch the macro.
  8. ; It will almost instantly shift+click on every field in your inventory to move its contents to the chest you opened.
  9. ; After the macro ends your cursor will be at the same spot it was when you started.
  10.  
  11.  
  12. ; INSTRUCTIONS FOR MAKING EDITS:
  13.  
  14. ; Row "+m::" means it starts the macro after pressing "Shift+m" combination.
  15. ; ^m:: would be "Ctrl+m" // !m:: -> "Alt+m" // #m:: -> "WinKey+m"
  16. ; and of course just "m::" would start the macro after pressing only "m"
  17.  
  18. ; Change the "8" below to how many rows of inventory you have.
  19.  
  20. ; Change the "14" below to how many columns of inventory you have.
  21.  
  22. ; Change the "60" in every place below to how many pixels apart are the cells in your inventory
  23. ; I took a screenshot and counted the pixels in Paint. On your resolution/monitor ratio it might be different, or it might be the same, I don't know.
  24.  
  25. ; Change the "840" to whatever your value of "14" multiplied by "60" is, if you changed it. Keep the minus in front of it.
  26.  
  27. ; Change the "480" to whatever your value of "8" multiplied by "60" is, if you changed it. Keep the minus in front of it.
  28.  
  29. ; ======================================================
  30.  
  31.  
  32.  
  33. +m::        
  34. {
  35.  
  36. Loop 8
  37. {
  38.   Send "+{Click}"
  39.  
  40.  
  41.   Loop 14
  42.   {
  43.     MouseMove 60, 0, 5, "R"
  44.     Send "+{Click}"
  45.   }
  46.   MouseMove -840, 0, 5, "R"
  47.   MouseMove 0, 60, 5, "R"
  48. }
  49.  
  50. MouseMove 0, -480, 5, "R"
  51.  
  52. }
  53.  
  54.  
Tags: starbound
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement