NetHack / NetHack

Official NetHack Git Repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hallucination quirks

elunna opened this issue · comments

When hallucinating, some things are always displayed as their real appearance. The two examples I noticed were below, but I think there are other places in the code this occurs:

    1. A pet eats a corpse - the real corpse name is shown.
    1. A pet picks up an object, the real item name is shown.

I looked a bit into adding a rndobjnam type of function, but it quickly got a bit out of my depth... Adding a bogusobj.txt type of file like the bogusmon sounds good in theory, but there are many types of objects and it might be difficult to parse between what type should be shown. I guess there could just be separate lists for each object type, but this requires a bunch of brainstorming. There is also the option to just randomize the item type from what we already have since (I think) that is how farlook works for hallucination.