track eight more achievements
Record reaching experience level 3, 6, 10, 14, 18, 22, 26, and 30, the levels where the character gets a new rank title, and report those as achievements at end of game. These achievements persist even if enough levels to lose a rank are lost, and if lost ranks are regained the original achievement is the one that gets tracked and disclosed.
This commit is contained in:
@@ -170,6 +170,7 @@ E char *NDECL(do_statusline2);
|
||||
E void NDECL(bot);
|
||||
E void NDECL(timebot);
|
||||
E int FDECL(xlev_to_rank, (int));
|
||||
E int FDECL(rank_to_xlev, (int));
|
||||
E const char *FDECL(rank_of, (int, SHORT_P, BOOLEAN_P));
|
||||
E int FDECL(title_to_mon, (const char *, int *, int *));
|
||||
E void NDECL(max_rank_sz);
|
||||
@@ -1007,9 +1008,10 @@ E void FDECL(youhiding, (BOOLEAN_P, int));
|
||||
E char *FDECL(trap_predicament, (char *, int, BOOLEAN_P));
|
||||
E int NDECL(doconduct);
|
||||
E void FDECL(show_conduct, (int));
|
||||
E void FDECL(record_achievement, (XCHAR_P));
|
||||
E boolean FDECL(remove_achievement, (XCHAR_P));
|
||||
E void FDECL(record_achievement, (SCHAR_P));
|
||||
E boolean FDECL(remove_achievement, (SCHAR_P));
|
||||
E int NDECL(count_achievements);
|
||||
E schar FDECL(achieve_rank, (int));
|
||||
E int NDECL(dovanquished);
|
||||
E int NDECL(doborn);
|
||||
E void FDECL(list_vanquished, (CHAR_P, BOOLEAN_P));
|
||||
|
||||
Reference in New Issue
Block a user