get_role

Retrieves the role from the config, or picks randomly.

get_race

Retrieves the race from the config, or picks randomly.

get_gender

Retrieves the gender from the config, or picks randomly.

get_align

Retrieves the alignment from the config, or picks randomly.

NAME

TAEB::Config

SAMPLE CONFIG

---
#### Mandatory options ####
# What should be controlling TAEB
ai: Demo
# How TAEB should communicate with NetHack (another option is Telnet)
interface: Local
# How TAEB should communicate with you!
display: Curses

#### AI config ############
# Configure AI-specific options here (none of the AIs that ship with TAEB
# are configurable though...)
#ai_options:

#### Interface config #####
# Configure the interface if necessary (telnet and ssh)
#interface_options:
#    Telnet:
#        account: taeb
#        password: pass
#    SSH:
#        account: taeb
#        password: pass

#### Display config #######
# How TAEB should look when you're watching him
# color_method controls how tiles are colored, and glyph_method controls
# which glyphs to display. They can both be changed at runtime as well, see
# doc/debug-commands.txt.
# color_method options: normal, debug, engraving, stepped, time, lit
# glyph_method options: normal, floor
#display_options:
#    Curses:
#        color_method: normal
#        glyph_method: normal

#### Character config #####
# Specify what TAEB should choose when picking a character
#character:
#    role: '*'
#    race: '*'
#    gender: '*'
#    align: '*'

#### Debugging config #####
# Configure various debugging plugins for TAEB here
# name for the irc plugin defaults to the bot's name
#debug:
#    sanity:
#        enabled: 0
#    console:
#        readline: Gnu
#    irc:
#        server: irc.freenode.net
#        port:   6667
#        channel: "#interhack"
#        name: taeb

#### Logging config #######
# note: log_rotate->compress requires IO::Compress::Gzip to be installed
#logger:
#    min_level: debug
#    suppress: [moose, undef]
#    log_rotate:
#        dir: logs
#        compress: 1
#    twitter:
#        deaths:
#            username: taeb_deaths
#            password: pass
#        errors:
#            username: taeb_errors
#            password: pass

#### Misc config ##########
# Set this to 1 if you want to run a buggy TAEB overnight; it causes TAEB
# to quit instead of saving on errors; if your TAEB is not particularly
# buggy, you might want to leave this this at 0 so the full state is kept.
#unattended: 0

#### External config ######
# Specify other config files to load here - for example, config files
# containing passwords, or config files specific to a certain ai
#other_config:
#    - site_config.yml