a := autopickup_exceptions a = >decay, >degeneration
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1049 c06c8d41-db1a-0410-9941-cceddc491573
T3V75V2CMAABSOXKSGCC6ZTI2WBKSVSGUEF2QAGM2BWLVRIL6SQQC }void game_options::add_alias(const std::string &key, const std::string &val){aliases[key] = val;}std::string game_options::unalias(const std::string &key) const{std::map<std::string, std::string>::const_iterator i = aliases.find(key);return (i == aliases.end()? key : i->second);
if (first_dot > 0 && first_dot < first_equals)
field = str.substr( first_equals + 1 );std::string prequal = trimmed_string( str.substr(0, first_equals) );// Is this a case of key += val?if (prequal.length() && prequal[prequal.length() - 1] == '+')
// no subkey (dots are okay in value field)key = str.substr( 0, first_equals );subkey = "";field = str.substr( first_equals + 1 );
minus_equal = true;prequal = prequal.substr(0, prequal.length() - 1);trim_string(prequal);}else if (prequal.length() && prequal[prequal.length() - 1] == ':'){prequal = prequal.substr(0, prequal.length() - 1);trim_string(prequal);trim_string(field);add_alias(prequal, field);return;