Clean up some of the code for monster deciding what objects to pick up, removing duplicate code. There should be no real difference in behaviour, other than monsters now can pick up one stack of items at a time; previously monster could pick up gold, then a practical item, followed by a magical item all in a single turn, although this very rarely mattered. Not extensively tested. Code originally from NetHack4.
132 KiB
132 KiB