From ad7b9d42a1016eed36c7530bb5d297259d6bec65 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Sat, 25 Feb 2012 17:08:05 +0400 Subject: Add a command for swapping body with another units in adventure mode. Based on dfusion code, with lots of safety checks added. Supports two swap modes: transient and permanent; the former does a minimal change and is intended for managing companion inventory. The permanent one performs all known actions necessary to turn it into the real adventurer. Note: the transient mode is a hack and may cause the game to crash if not reverted while within range of the real adventurer unit. --- dfhack.init-example | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dfhack.init-example') diff --git a/dfhack.init-example b/dfhack.init-example index 4a4c0437..e4d1d3d3 100644 --- a/dfhack.init-example +++ b/dfhack.init-example @@ -13,6 +13,13 @@ keybinding add Ctrl-Shift-K autodump-destroy-here # any item: keybinding add Ctrl-K autodump-destroy-item +############################## +# Generic adv mode bindings # +############################## + +keybinding add Ctrl-B adv-bodyswap +keybinding add Ctrl-Shift-B "adv-bodyswap force" + ############################# # Context-specific bindings # ############################# -- cgit v1.2.1