photograph experience gains often counted only prior to first move
More details in https://github.com/NetHack/NetHack/issues/1430 track photographed monsters using a distinct bit also adds a pair of new context fields to track the total number of monsters seen up close, and the total number of monsters photographed. So, if somebody wants to add unique end-of-game disclosure statements for tourists that relate to those, the groundwork should be there. NOTE: This increments EDITLEVEL, so existing save and bones files will become outdated. Fixes #1430
This commit is contained in:
@@ -68,7 +68,7 @@ do_blinding_ray(struct obj *obj)
|
||||
if (mtmp) {
|
||||
(void) flash_hits_mon(mtmp, obj);
|
||||
if (obj->otyp == EXPENSIVE_CAMERA)
|
||||
see_monster_closeup(mtmp);
|
||||
see_monster_closeup(mtmp, TRUE); /* TRUE for photo */
|
||||
}
|
||||
/* normally bhit() would do this but for FLASHED_LIGHT we want it
|
||||
to be deferred until after flash_hits_mon() */
|
||||
|
||||
Reference in New Issue
Block a user