first commit

This commit is contained in:
kegthothrha 2024-03-09 00:26:33 -05:00
commit 9ca36d181a
20 changed files with 547 additions and 0 deletions

363
README.org Normal file
View file

@ -0,0 +1,363 @@
#+TITLE: Wurm Keybinds
#+PROPERTY: header-args :tangle
#+STARTUP: showeverything
#+AUTHOR: KEGTHOTH-RHA
* Notes
The formatting is because this is an org file. If you're using emacs you can use M-x org-babel-tangle in order to download this single file and split it into multiple files.
This file was made with Wurm Online in mind, and as a result many of these actions won't be available in Wurm Unlimited. The files should still work, some of the actions just won't exist, and there are sometimes more beneficial options available (like with foraging, check the keybinding article on the wiki)
Yes I'm aware Daray did this first, and he's the whole reason I decided to make my own binds file, as his changes some keys around that I didn't want to change, plus mine offers more actions for the individual files than his since I use 5 keys for actions (C, Q, E, R, T) instead of his 2 (X, C). This means that just using one modifier key you can get 10 actions per file, and if you want to make the game unplayable you can get 40 per file
Numpad keys are distint from the number row keys
To bind chat commands you have to use this format:
- bind <key> "say <message>"
** Available Modifier Keys
Shift
ctrl, ctrl+alt, ctrl+shift
alt, alt+shift
ctrl+alt+shift
* Autorun
#+begin_src in :tangle autorun.txt
exec base.txt
#+end_src
* Base
** Movement
Basic directional movement
#+begin_src in :tangle base.txt
bind W MOVE_FORWARD
bind S MOVE_BACK
bind A MOVE_LEFT
bind D MOVE_RIGHT
bind X AUTORUN
bind GRAVE "toggle freelookmode"
#+end_src
Climbing ladders
#+begin_src in :tangle base.txt
bind Alt+W CLIMB_UP
bind Alt+S CLIMB_DOWN
#+end_src
** Item management
Drop and pickup
#+begin_src in :tangle base.txt
bind Shift+V TAKE
bind Ctrl+V DROP
bind V DROP_AS_PILE
#+end_src
Open and close container
#+begin_src in :tangle base.txt
bind F OPEN
bind Shift+F CLOSE
bind Shift+I TOGGLE_BACKPACK
#+end_src
** Toolbelt
#+begin_src in :tangle base.txt
bind 1 ACTIVATE_TOOL1
bind 2 ACTIVATE_TOOL2
bind 3 ACTIVATE_TOOL3
bind 4 ACTIVATE_TOOL4
bind 5 ACTIVATE_TOOL5
#+end_src
** Clear action keybinds
#+begin_src in :tangle base.txt
bind C ""
bind Q ""
bind E ""
bind R ""
bind T ""
bind Shift+C ""
bind Shift+Q ""
bind Shift+E ""
bind Shift+R ""
bind Shift+T ""
#+end_src
** Activate modes
You want to have an exec base.txt line in case you make edits to this file as you're playing
#+begin_src in :tangle base.txt
bind F1 "exec mount.txt"
bind F2 "exec dig.txt"
bind F3 "exec forestry.txt"
bind F4 "exec farm.txt"
bind F5 "exec animals.txt"
bind F6 "exec imp.txt"
bind F7 "exec arch.txt"
bind F8 "exec move.txt"
bind F9 "exec combat.txt"
bind F10 ""
bind F11 "exec base.txt"
bind F12 ""
#+end_src
Note for the next section: If you use multiple characters I'll recommend setting all of this up backwards from how I have it. You'll want to save the base.txt file, as well as your tools files into your character's folder (configs/playerName) rather than the config folder. I only really use one character, and I don't mind manually setting the tools up each time for my alts as I don't use them for anything other than things like terraforming and doing basic imping to avoid items being destroyed by decay. It's not a hard mod to do, as you only need to change around a couple of things:
In the above section have the binds go to "exec [action]Tools.txt" instead of "exec [action].txt"
Place your [action].txt files into a folder named common in the base directory of your Wurm installation
At the top of each of the action files, delete the line that says "exec [action]Tools.txt"
At the top of each of the actionTools files put "exec ../../../[action].txt". The ".." section of those just lets the computer know to go that many directories up from where it is now, which puts you into the root folder of the install (for Wurm Online on steam, I don't know about the web installer or Unlimited).
I may release a file with this mod, though I'm not totally sure. It's effort for something I don't use personally, but if there's enough desire for it I'd be willing.
Note: Even if you only play one character there is a benefit in doing this for imping items, as you can save multiple toolbelts and use all of them to execute the same imp.txt file. I don't do this because I'm a plebian priest main, and as a result I am religiously forbidden from becoming a better person via making items better. If you're doing this modification for this reason, you only need to apply it to the imping file, not to all of them, and you can just save all of them in your configs folder instead of using the common folder.
* General use
This is the general use file, as it's what I have activated most of the time I'm running around, but don't need when I'm doing specific actions.
#+begin_src in :tangle mount.txt
exec mountTools.txt
bind C EMBARK_DRIVER
bind Q DISEMBARK
bind E EXAMINE
bind R LOAD_CARGO
bind T COMBINE
bind Shift+C LEAD
bind Shift+Q EMBARK_PASSENGER
bind Shift+E ""
bind Shift+R ""
bind Shift+T ""
#+end_src
This part sets your toolbelt to whatever items you have. You can get the item IDs by viewing the players/playerName/playerdata.txt file. Replace playerName with your character's name. The easiest way to do this is by setting up several hotbars at once, which can be done by pressing the up and down arrows to the left of the toolbelt interface. Once you have a hotbar set up you'll want to right click the toolbelt, hovering over "Save to..." and then selecting "Save to toolbelt #". Once that's done you'll need to close out of the game, then open the playerdata.txt file; if you don't exit it doesn't save the file.
I also recommend putting the name of the item after the // so you'll actually remember what it is, because otherwise while editing you'll have no idea what item ID 820104849202 is.
Besides that the only other recommendations I have are making sure to not put any of these items in a bsb, and putting your items in the order 3 4 2 5 1 from most to least used. For the BSB it's because if you do you'll need to re-locate the item ID as those get stripped when you place the item into a bsb. Not a problem for tools, very much a problem for things like rope and cotton. For the item order it's because I generally find the numbers easiest to reach in that order.
The syntax for the lines are "settoolbelt itemID slotNumber" without quotes, as I'll be using itemID 0 to clear the slots between
#+begin_src in :tangle mountTools.txt
settoolbelt 0 1 //
settoolbelt 0 2 //
settoolbelt 0 3 //
settoolbelt 0 4 //
settoolbelt 0 5 //
#+end_src
* Dig/terraform
This is the general file for mining, and terraforming. MINE_FORWARD is also the action that causes you to mine in caves.
#+begin_src in :tangle dig.txt
exec digTools.txt
bind C DIG_TO_PILE
bind Q LEVEL
bind E MINE_FORWARD
bind R PROSPECT
bind T ANALYZE
bind Shift+C ""
bind Shift+Q ""
bind Shift+E MINE_UP
bind Shift+R MINE_DOWN
bind Shift+T MINE_TUNNEL
#+end_src
I can't imagine any tools being useful besides shovels and pickaxes, though it would be worth it placing a low ql grind version of each tool here alongside a high ql tool for quicker timers.
#+begin_src in :tangle digTools.txt
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //
#+end_src
* Forestry/woodcutting
This is the file for forestry, and woodcutting
#+begin_src in :tangle tree.txt
exec treeTools.txt
bind C PLANT
bind Q PICK_SPROUT
bind E CUT_DOWN
bind R CHOP_UP
bind T ""
bind Shift+C ""
bind Shift+Q ""
bind Shift+E ""
bind Shift+R ""
bind Shift+T PLANT_CENTER
#+end_src
Recommended tools: Sickle
#+begin_src in :tangle treeTools.txt
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //
#+end_src
* Farming
#+begin_src in :tangle farm.txt
exec farmTools.txt
bind C SOW
bind Q GATHER
bind E FARM
bind R HARVEST
bind T DRAG
bind Shift+C ""
bind Shift+Q ""
bind Shift+E CULTIVATE
bind Shift+R ""
bind Shift+T STOP_DRAGGING
#+end_src
Recommended tools: Rake, scythe, satchel
The satchel can be filled with seeds and activated to make planting way easier.
#+begin_src in :tangle farmTools.txt
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //
#+end_src
* Animal husbandry
#+begin_src in :tangle animals.txt
exec animalsTools.txt
bind C LEAD
bind Q BREED
bind E GROOM
bind R MILK
bind T SHEAR
bind Shift+C STOP_LEADING
bind Shift+Q UNHITCH
bind Shift+E HITCH
bind Shift+R INSPECT_ANIMAL
bind Shift+T ""
#+end_src
This is probably the one with the most tools in it.
Recommended tools: Grooming brush, shears, bucket, (halter) rope
#+begin_src in :tangle animalsTools.txt
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //
#+end_src
* Crafting/improving
Mostly used for crafting actions, but I also use it for cooking, hence the light and burn actions.
#+begin_src in :tangle imp.txt
bind C LIGHT
bind Q ADD_TO_CRAFTING_WINDOW
bind E IMPROVE
bind R REPAIR
bind T PLAN_BUILDING
bind Shift+C BURN
bind Shift+Q ""
bind Shift+E LIGHT
bind Shift+R BURN
bind Shift+T ""
#+end_src
The best I can recommend is making a lot of copies of this file for all of the different types of imping, or manually setting the tools each time. If you choose to go the route of making a lot of copies, edit the [[Activate Modes]] section to include the names of the tool file (eg pottery.txt), edit the tool file to have "exec imp.txt" at the top, and then remove the "exec impTools.txt" line from the above section. I'm a priest main, so I don't really use this section.
#+begin_src in :tangle impTools.txt
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //
#+end_src
* Traveling
I started off with this section being named "Archaeology", but quickly realized it's much better as a general "You're traveling and want to collect stuff on the way" section.
#+begin_src in :tangle travel.txt
bind C IDENTIFY
bind Q FORAGE
bind E BOTANIZE
bind R INVESTIGATE
bind T PICK_SPROUT
bind Shift+C EMBARK_DRIVER
bind Shift+Q DISEMBARK
bind Shift+E HARVEST
bind Shift+R EMBARK_PASSENGER
bind Shift+T ""
#+end_src
Recommended tools: Trowel, metal brush, sickle, bucket, (halter) rope
#+begin_src in :tangle travelTools.txt
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //
#+end_src
* Push/pull items
#+begin_src in :tangle move.txt
bind C PULL
bind Q TURN_COUNTERCLOCKWISE
bind E TURN_CLOCKWISE
bind R PUSH
bind T PLACE
bind Shift+C PULL_GENTLY
bind Shift+Q ""
bind Shift+E MOVE_TO_CENTER
bind Shift+R PUSH_GENTLY
bind Shift+T ""
#+end_src
No tools for this one, you don't need them for this
* Combat
#+begin_src in :tangle combat.txt
exec combatTools.txt
bind C BUTCHER
bind Q BURY
bind E TARGET
bind R FIRSTAID
bind T TREAT
bind Shift+C ""
bind Shift+Q ""
bind Shift+E NO_TARGET
bind Shift+R ""
bind Shift+T ""
#+end_src
Recommended tools: Some kind of bandaging item, butchering knife
#+begin_src in :tangle combatTools.txt
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //
#+end_src
* Priests
For you priests out there, you can also hotkey spells! I won't go into it here as that's... a lot of spells, and a lot of faiths that I know *absolutely nothing* about, but I wanted y'all to at least know it was an option. I haven't bothered because I just click my spells since they don't get used that often.

11
animals.txt Normal file
View file

@ -0,0 +1,11 @@
exec animalsTools.txt
bind C LEAD
bind Q BREED
bind E GROOM
bind R MILK
bind T SHEAR
bind Shift+C STOP_LEADING
bind Shift+Q UNHITCH
bind Shift+E HITCH
bind Shift+R INSPECT_ANIMAL
bind Shift+T ""

5
animalsTools.txt Normal file
View file

@ -0,0 +1,5 @@
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //

1
autorun.txt Normal file
View file

@ -0,0 +1 @@
exec base.txt

47
base.txt Normal file
View file

@ -0,0 +1,47 @@
bind W MOVE_FORWARD
bind S MOVE_BACK
bind A MOVE_LEFT
bind D MOVE_RIGHT
bind X AUTORUN
bind GRAVE "toggle freelookmode"
bind Alt+W CLIMB_UP
bind Alt+S CLIMB_DOWN
bind Shift+V TAKE
bind Ctrl+V DROP
bind V DROP_AS_PILE
bind F OPEN
bind Shift+F CLOSE
bind Shift+I TOGGLE_BACKPACK
bind 1 ACTIVATE_TOOL1
bind 2 ACTIVATE_TOOL2
bind 3 ACTIVATE_TOOL3
bind 4 ACTIVATE_TOOL4
bind 5 ACTIVATE_TOOL5
bind C ""
bind Q ""
bind E ""
bind R ""
bind T ""
bind Shift+C ""
bind Shift+Q ""
bind Shift+E ""
bind Shift+R ""
bind Shift+T ""
bind F1 "exec mount.txt"
bind F2 "exec dig.txt"
bind F3 "exec forestry.txt"
bind F4 "exec farm.txt"
bind F5 "exec animals.txt"
bind F6 "exec imp.txt"
bind F7 "exec arch.txt"
bind F8 "exec move.txt"
bind F9 "exec combat.txt"
bind F10 ""
bind F11 "exec base.txt"
bind F12 ""

11
combat.txt Normal file
View file

@ -0,0 +1,11 @@
exec combatTools.txt
bind C BUTCHER
bind Q BURY
bind E TARGET
bind R FIRSTAID
bind T TREAT
bind Shift+C ""
bind Shift+Q ""
bind Shift+E NO_TARGET
bind Shift+R ""
bind Shift+T ""

5
combatTools.txt Normal file
View file

@ -0,0 +1,5 @@
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //

11
dig.txt Normal file
View file

@ -0,0 +1,11 @@
exec digTools.txt
bind C DIG_TO_PILE
bind Q LEVEL
bind E MINE_FORWARD
bind R PROSPECT
bind T ANALYZE
bind Shift+C ""
bind Shift+Q ""
bind Shift+E MINE_UP
bind Shift+R MINE_DOWN
bind Shift+T MINE_TUNNEL

5
digTools.txt Normal file
View file

@ -0,0 +1,5 @@
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //

11
farm.txt Normal file
View file

@ -0,0 +1,11 @@
exec farmTools.txt
bind C SOW
bind Q GATHER
bind E FARM
bind R HARVEST
bind T DRAG
bind Shift+C ""
bind Shift+Q ""
bind Shift+E CULTIVATE
bind Shift+R ""
bind Shift+T STOP_DRAGGING

5
farmTools.txt Normal file
View file

@ -0,0 +1,5 @@
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //

10
imp.txt Normal file
View file

@ -0,0 +1,10 @@
bind C LIGHT
bind Q ADD_TO_CRAFTING_WINDOW
bind E IMPROVE
bind R REPAIR
bind T PLAN_BUILDING
bind Shift+C BURN
bind Shift+Q ""
bind Shift+E LIGHT
bind Shift+R BURN
bind Shift+T ""

5
impTools.txt Normal file
View file

@ -0,0 +1,5 @@
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //

11
mount.txt Normal file
View file

@ -0,0 +1,11 @@
exec mountTools.txt
bind C EMBARK_DRIVER
bind Q DISEMBARK
bind E EXAMINE
bind R LOAD_CARGO
bind T COMBINE
bind Shift+C LEAD
bind Shift+Q EMBARK_PASSENGER
bind Shift+E ""
bind Shift+R ""
bind Shift+T ""

5
mountTools.txt Normal file
View file

@ -0,0 +1,5 @@
settoolbelt 0 1 //
settoolbelt 0 2 //
settoolbelt 0 3 //
settoolbelt 0 4 //
settoolbelt 0 5 //

10
move.txt Normal file
View file

@ -0,0 +1,10 @@
bind C PULL
bind Q TURN_COUNTERCLOCKWISE
bind E TURN_CLOCKWISE
bind R PUSH
bind T PLACE
bind Shift+C PULL_GENTLY
bind Shift+Q ""
bind Shift+E MOVE_TO_CENTER
bind Shift+R PUSH_GENTLY
bind Shift+T ""

10
travel.txt Normal file
View file

@ -0,0 +1,10 @@
bind C IDENTIFY
bind Q FORAGE
bind E BOTANIZE
bind R INVESTIGATE
bind T PICK_SPROUT
bind Shift+C EMBARK_DRIVER
bind Shift+Q DISEMBARK
bind Shift+E HARVEST
bind Shift+R EMBARK_PASSENGER
bind Shift+T ""

5
travelTools.txt Normal file
View file

@ -0,0 +1,5 @@
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //

11
tree.txt Normal file
View file

@ -0,0 +1,11 @@
exec treeTools.txt
bind C PLANT
bind Q PICK_SPROUT
bind E CUT_DOWN
bind R CHOP_UP
bind T ""
bind Shift+C ""
bind Shift+Q ""
bind Shift+E ""
bind Shift+R ""
bind Shift+T PLANT_CENTER

5
treeTools.txt Normal file
View file

@ -0,0 +1,5 @@
settoolbelt [id] 1 //
settoolbelt [id] 2 //
settoolbelt [id] 3 //
settoolbelt [id] 4 //
settoolbelt [id] 5 //