Skip to content

Commit

Permalink
Tourists gain experience by going to new dungeon levels
Browse files Browse the repository at this point in the history
  • Loading branch information
paxed committed Dec 6, 2024
1 parent 89c4c3a commit 12228ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/fixes3-7-0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions src/do.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 12228ca

Please sign in to comment.