{ M('a'), "adjust", "adjust inventory letters",
doorganize, IFBURIED | AUTOCOMPLETE, NULL },
{ M('A'), "annotate", "name current level",
- donamelevel, IFBURIED | AUTOCOMPLETE, NULL },
+ donamelevel, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
{ 'a', "apply", "apply (use) a tool (pick-axe, key, lamp...)",
doapply, CMD_M_PREFIX, NULL },
{ C('x'), "attributes", "show your attributes",
{ M('c'), "chat", "talk to someone",
dotalk, IFBURIED | AUTOCOMPLETE, NULL },
{ '\0', "chronicle", "show journal of major events",
- do_gamelog, IFBURIED | GENERALCMD, NULL },
+ do_gamelog, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
{ 'c', "close", "close a door",
doclose, 0, NULL },
{ M('C'), "conduct", "list voluntary challenges you have maintained",
- doconduct, IFBURIED | AUTOCOMPLETE, NULL },
+ doconduct, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
{ M('d'), "dip", "dip an object into something",
dodip, AUTOCOMPLETE, NULL },
{ '>', "down", "go down a staircase",
/* #overview used to need autocomplete and has retained that even
after being assigned to ^O [old wizard mode ^O is now #wizwhere] */
{ C('o'), "overview", "show a summary of the explored dungeon",
- dooverview, IFBURIED | AUTOCOMPLETE, NULL },
+ dooverview, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
/* [should #panic actually autocomplete?] */
{ '\0', "panic", "test panic routine (fatal to game)",
wiz_panic, IFBURIED | AUTOCOMPLETE | WIZMODECMD, NULL },
u.ulevel -= 1;
/* remove intrinsic abilities */
adjabil(u.ulevel + 1, u.ulevel);
+ livelog_printf(LL_MINORAC, "lost experience level %d", u.ulevel);
} else {
if (drainer) {
g.killer.format = KILLED_BY;
}
/* no drainer or lifesaved */
u.uexp = 0;
+ livelog_printf(LL_MINORAC, "lost all experience");
}
num = (int) u.uhpinc[u.ulevel];
u.uhpmax -= num;
newrank = xlev_to_rank(u.ulevel);
if (newrank > oldrank)
record_achievement(achieve_rank(newrank));
+ else
+ livelog_printf(LL_MINORAC, "gained experience level %d",
+ u.ulevel);
}
g.context.botl = TRUE;
}
if (g.program_state.gameover)
return; /* don't livelog achievements recorded at end of game */
if (absidx >= ACH_RNK1 && absidx <= ACH_RNK8) {
- livelog_printf(achieve_msg[absidx].llflag, "attained the rank of %s",
+ livelog_printf(achieve_msg[absidx].llflag,
+ "attained the rank of %s (level %d)",
rank_of(rank_to_xlev(absidx - (ACH_RNK1 - 1)),
- Role_switch, (achidx < 0) ? TRUE : FALSE));
+ Role_switch, (achidx < 0) ? TRUE : FALSE),
+ u.ulevel);
} else
- livelog_printf(achieve_msg[absidx].llflag, "%s", achieve_msg[absidx].msg);
+ livelog_printf(achieve_msg[absidx].llflag, "%s",
+ achieve_msg[absidx].msg);
}
/* discard a recorded achievement; return True if removed, False otherwise */