/action

Custom actions mod for Wurm Unlimited

Primary LanguageJava

Custom Actions mod for Wurm Unlimited (Client)

Requires Ago's Client Mod Launcher to run.

This mod is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

See the forum thread for more details and my other mods.

Brief instructions

Type "act_show on" in the console. This will let you see action IDs on the right click menu.

action ids

Bind your hotkey using 'bind "act hover"'. The double quotes around the action are required. For example bind ctrl+b "act 222 hover" will open the bank window if you hover your mouse over a settlement token and press ctrl+b

binding

All options

bind B "act <id> <target>"
bind B "act <id> <target> | <id> <target>"
bind B "act <id> <target> | <id> <target> | <id> <target>"

Chaining commands will queue actions. You must have high enough ML for the number of actions

Target
hover Uses the specified action upon the hovered item, object or tile
body Uses the specified action upon the characters body
tool Uses the specified action upon the currently activated item
selected Uses the specified action upon the selected tile/object
tile Uses the specified action on current tile
tile_{dir} Uses the specified action on nearby tile (n,e,w,s,ne,nw,se,sw)
area Uses the specified action on 3x3 tiles around current tile
@tb{n} Uses the specified action on item in toolbelt slot #n
toolbelt Activates the tool in belt slot <id>

Examples

Command Description
bind space "act 3 toolbelt | 154 tile | 4 toolbelt | 318 tile" Activate slot 3 (say, a shovel) and pack the tile you are standing on, after that it will activate slot 4 (say a rake) and cultivate the same tile
bind r "act 163 hand" Repair your current tool
bind f "act 183 @tb1" Drinks from toolbelt slot #1 (if it contains water)