Borg Commands
There are several commands which help would-be borg junkies tweak the borg.
Most of the time, users simply run the borg with ctrl z z. Ctrl z ? gives a
list of the commands but the one word description is a bit cryptic. Below you
will find an explanation of the various borg commands. All Commands are
activiated by first hitting ctrl z.
- "Command 'z'
activates the Borg." This one makes the borg run until it
unhooks. Unhooking will occur when the borg dies, you press a key, it
matches the search string, or it clock overflows.
- "Command 'u' updates
the Borg." Has the borg read the screen and update his variables
but does not have him perform any function.
- "Command '$' updates
the Dynamic Calcs." Has the borg read the borg.txt file to reload
the rules.
- "Command 'x' steps
the Borg." Makes the borg think and act for one turn.
- "Command 'f' modifies
the normal flags." Yields the following prompt:Borg command:
Toggle Flag: (m/d/s/f/g). Allows you to toggle the following:
- m = whether or not the
borg puts his messages into the message log for you to read.
- d = dumps the save
file on death of the borg.
- g = turns the graphics
off or on for the borg.
- s = saves the
character file on the first turn of a new dlevel. Basically saves the
game often.
- f = no longer has a
function.
- "Command 'c' modifies
the cheat flags." I strongly discourage you from modifying any of
these. They are set to the default and the borg will behave erratically if
you mess with these. Yields the following prompt: Borg command: Toggle
Cheat: (d/i/e/s/p). Allows you to toggle the following cheats:
- d = whether the borg
will cheat death or not, works with continual play mode. If you want a
single character to cheat death and continue to play without respawning,
then after setting the cheat_live flag in the game, set this flag.
Otherwise if cheat_live is on, the borg will respawn a new character upon
the death of a borg.
- i = inventory cheat,
steals inventory from the game instead of reading the screen every turn.
- e = equipment cheat,
steals equipment list from the game.
- s = cheats the spell
list instead of browesing the books each turn.
- p = cheats to know
what panel of the map he is on instead of hitting L each turn.
- "Command 'l'
activates a log file." The borg will create a file called
borg.log in your game directory and dump all of his keypresses and
messages there. This is very handy. But the file can get very large if the
borg runs for a long time.
- "Command 's'
activates search mode." Tells the borg to stop running when it
encounters a certain phrase in the message log. For example, it is set
automatically to stop on "plain gold ring." When ever it sees
those words together, the borg will freeze. You can set this to anything
you like. It is case sensitive.
- "Command 'i' displays
grid info." Displays on the screen red dots which correspond to
what the borg believes is on the screen.
- 'm':= BORG_MARK;
Something is known about this grid.
- 'g': = BORG_GLOW; Grid
is lit by perma lite such as Call Light spell.
- 'd': = BORG_DARK; Dark
or unknown grids.
- 'o': = BORG_OKAY;
known grid.
- 'l': = BORG_LITE; grid
is lit currently, from either a spell or my torch.
- 'v': = BORG_VIEW; grid
is in view of the borg, not the same as projectable though.
- 't': = BORG_TEMP;
- 'x':= BORG_XTRA;
- "Command 'g' displays
grid feature." Displays on the screen red dots which correspond
to what the borg believes is on the screen. These are feature codes from
the game.
- '.' FEAT_FLOOR
- ' ' FEAT_NONE
- 'i' FEAT_INVIS
- ';' FEAT_GLYPH
- ',' FEAT_OPEN
- 'x' FEAT_BROKEN (as in
a door)
- '>' FEAT_LESS
(stairs)
- '<' FEAT_MORE
- '@' FEAT_SHOP
- '^': FEAT_TRAP_HEAD
(any trap)
- '+': FEAT_DOOR_HEAD
(any closed door)
- 's' FEAT_SECRET
- ':' FEAT_RUBBLE
- 'm' FEAT_MAGMA
- 'q' FEAT_QUARTZ
- 'r' FEAT_QUARTZ_H
- 'k' FEAT_MAGMA_K
- '&' FEAT_QUARTZ_K
- 'w': FEAT_WALL_EXTRA
(any of the walls from granite to perma walls)
- "Command 'a' displays
avoidances." Tells you where the borg is afraid to go.
- "Command 'k' displays
monster info." Displays location and number of known Monsters.
- "Command 't' displays
object info." Displays location and number of known Items.
- "Command '%' displays
current flow." Steps the Flow Code. It tells you where the borg
is thinking about going, and how long it takes to get there. This will
look like a set of concentric circles around the location moving outward.
This is the possible flow pattern for the borg to get there, he (most of
the time) chooses the shortest path between the goal location and his
current location.
- "Command '#' displays
danger grid." Displays the Danger (the number of points of damage
that grid could inflict on the borg in a single round). The grid is the
Targetted Grid taken from the player p_ptr->. So target a monster using
the targetting routine. Then use this command to asses it's danger to the
borg. If the danger is greater than the borg's current hit-points then
that monster is a significant threat.
- "Command '_' Regional
Fear info." Displays the fear of this region. Not from any
particular monster. Regional fear is induced by invisible or unseen (such
as offscreen) monsters, and a very small percent of the danger of a
monster.
- "Command 'p' Borg
Power." Displays two numbers which are helpful in determining why
the borg is choosing certain pieces of equipment. The borg will always try
to maximize his power (points) with equipment. So if you find him choosing
Equipment XYZ and not QRS, have him wear each in turn and check his power.
- "Command '1' change
max depth." This is a debug command, allows you to alter the
recall depth. If your word of recall is dumping you at level 75 and you
want to be at level 65, use this. However (as RML pointed out) using this
in a non-borg-debugging mode is considered cheating.
- "Command '2' level
prep info." Displays the reason why the borg is not ready to dive
to a particular level. This is very handy.
- "Command '3' Feature
of grid." Displays the feature number of a targetted grid.
- "Command '!' Time."
Displays important time variables:
- time = how long he has
been active.
- from town = how long
in the dungeon this trip.
- this panel = time on
the current panel (if in the dungeon) or looping if in town. This is
important to keep the borg from getting stuck in certain types of loops.
- inviso = was used to
locate invisible monsters and avoid certain loops associated with that
process.
- "Command '@' Borg
LOS." Displays red dots on the grids which the borg has Line Of
Sight.
- "Command 'w' My Swap
Weapon." Displays the name and value of the two swap items (if he
has any at all).
- "Command 'q' Auto
stop on level." Allows you to tell the borg to stop when he
reaches a certain depth or character level. Also toggles whether or not
the borg will stop when he kills Morgoth.
- "Command 'v' Version
stamp." Displays the date of the engine in MM-DD-YY format. This
is not always accurate. Sometimes I forget to update this.
- "Command 'd' Dump
spell info." Generates a list of spells, if those spells are
known, and how many times that spell as been cast since the borg was most
recently activated.
- "Command 'h' Borg_has
Function." Generates a list of items or traits, and how many of
each, which the borg has. It lists inventory items as well as equipment
and resists and such.
- "Command 'y' Last 75
steps." Generates a red asterisk on the last 75 grid locations
where the borg as stepped. The borg uses these steps when considering a
retreat.
- “Command ‘r’ Restock
Stores.” This will cause all stores to shuffle the inventory.
- “Command ‘R’ Respawn the
Borg.” Causes the borg to
respawn and make a new one, loads info from the borg.txt file.