Tourists gain experience by going to new dungeon levels

This commit is contained in:
Pasi Kallinen
2024-12-06 22:10:17 +02:00
parent 89c4c3a722
commit 12228cac49
2 changed files with 7 additions and 1 deletions

View File

@@ -2730,7 +2730,8 @@ enlightenment/attribute disclosure for saving-grace: include a line for have
"X " for explore mode, or "D " for debug mode if any of the games
shown in its menu weren't saved during normal play; if they're all
normal play, the prefix is suppressed
tourists gain experience by seeing new types of creatures up close
tourists gain experience by seeing new types of creatures up close, and
going to new dungeon levels
Platform- and/or Interface-Specific New Features

View File

@@ -1946,6 +1946,11 @@ goto_level(
(void) describe_level(dloc, 2);
livelog_printf(major ? LL_ACHIEVE : LL_DEBUG, "entered %s", dloc);
if (Role_if(PM_TOURIST)) {
more_experienced(level_difficulty(), 0);
newexplevel();
}
}
assign_level(&u.uz0, &u.uz); /* reset u.uz0 */