This page has been modified from the original Macro FAQ for clarity.

This page is intended to provide a general overview of the topics discussed. Detail will be provided further along in the Macro Guide. Please do not enter detail here!



Item inscriptions

You can create inscriptions on any game item. An inscription is "writing" which appears appended to the name of the item itself. The act of creating an inscription is called "inscribing".

You can use inscriptions in a number of ways. A few include:

Note that the game produces "fake" inscriptions. These look like real inscriptions but are really just displayed the same way (e.g. "cursed"). Also, an inscription you create can obscure a game-created inscription. For example, inscribing an item with "slow digestion" will make the game inscription "100% off" disappear, but you still won't be able to sell it.

Macros

Macros are mappings from a single "logical" keypress to a sequence of keypresses, allowing you to use special keys on the keyboard, such as function keys or keypad keys, possibly in conjunction with modifier keys, to automate repetitive multi-key commands that you use a lot.

For keys which don't have a system-independent representation, such as function keys, this is the only way to change their behavior.

Keymaps

Keymaps are vaguely related to macros. A keymap maps a single keypress to a series of keypresses, which bypass both other keymaps and any macros. ToME uses keymaps to map the original and the roguelike keysets to the underlying command set, and allows the user to modify or add keymaps of their own. All keymap actions must be specified using underlying commands. Keymaps and macros aren't expanded. The original keyset is almost identical to the underlying keyset, except that "numbers" are mapped to ";" plus a direction, "5" is mapped to ",", and a few control-keys are mapped to various things. See Commands for the full set of underlying commands. Keymaps also allow the "disabling" of a command by mapping it to "\x00".

Preference files

Preference files ("pref files") save commands such as macros and keymaps which are used to customise the game. They are used to implement the "original" and "roguelike" keysets. They provide default appearances for items.

They also implement the default behaviors which make ToME look and play the same (for the most part) on different systems.

Pref files can be saved with the name of a player name, class, and race, and anytime a player with a matching characteristic is loaded, the appropriate pref file is loaded. This makes some customisations transparent and automatic.

Pref files let you do some things that could otherwise only reasonably be done by changing the info files or source, such as changing the appearance of a given terrain feature, or the symbol used for the player.

Pref files let you set up and save your favorite game options, and have them available for new characters without having to redo them.

Macro/Overview (last edited 2004-07-09 21:06:36 by modemcable219)