Chris-plus-alphanumericgibberish / dNAO

Merge of dnethack onto the nethack.alt.org sources.
Other
20 stars 29 forks source link

Covetous monsters have questionable targetting #684

Open demogorgon22 opened 4 years ago

demogorgon22 commented 4 years ago

If a sessile monster, or a monster that for some other reason doesn't want to move is standing on top of a square with an item coveted by a covetous monster, they will do nothing and not attempt to fight their way to the square being clear so they can get to the item.

It makes no sense for a covetous monster to only covet an item and attack monsters when it is in the monsters inventory instead of just on the floor blocked by the monster.

Should this be implemented, there would need to be special handling to prevent book coveting monsters from waking up the Wizard of Yendor early. (Perhaps prevent covetous warps through the double walls?)

Chris-plus-alphanumericgibberish commented 4 years ago

There should probably be some concept of "proper owner" that prevents covetous infighting.

The Wizard is the proper owner of the book, the Elder Priest of the amulet, etc.

Perhaps limited exceptions could be made if we do want certain monsters to take on the Elder Priest for the amulet.