One of the things that bugs me about Angband is how, for purposes of getting around town, players are encouraged to kill townspeople just so they don't disturb running. Thus, I've written up a simple patch to add a new option "Disturb whenever townspeople move". It overrides the disturb_move and disturb_near options, but only when the monster's level is 0; thus, turning it off causes townspeople to no longer disturb you, but has no effect on other monsters.
I've tested this and it works, but the boolean logic involved gets a bit hairy, so I'd appreciate it if someone were to double-check that I haven't screwed things up. Also, for the sake of keeping the movement-related disturbance options together, I inserted this option between "disturb whenever viewable monster moves" and "disturb whenever leaving trap detected area", which means that disturb_detect and disturb_state have been moved down 1 in the options. This doesn't exactly break savefile compatibility but does mean that moving to this patch may cause your options to be wrong.
I've tested this and it works, but the boolean logic involved gets a bit hairy, so I'd appreciate it if someone were to double-check that I haven't screwed things up. Also, for the sake of keeping the movement-related disturbance options together, I inserted this option between "disturb whenever viewable monster moves" and "disturb whenever leaving trap detected area", which means that disturb_detect and disturb_state have been moved down 1 in the options. This doesn't exactly break savefile compatibility but does mean that moving to this patch may cause your options to be wrong.
Comment