kdechant / eamon

A web port of the classic text adventure game, the Wonderful World of Eamon
https://eamon-remastered.com
MIT License
22 stars 5 forks source link

GET and GET ALL do not always work or update properly #126

Open davidrugge opened 3 months ago

davidrugge commented 3 months ago

I noticed this first in The Cave of the Mind but it has also happened in other adventures. Sometimes when I use GET to get everything it updates my inventory but not the room. For example:

Avenger shoots at Troll

-- a critical hit!

Troll is dead!

Your bow ability increased!

A large chamber. (N/W)

Fencing Master is here.

Chef is here.

A.J. is here.

You see scroll.

You see the troll's weapon, a beat-up old knobberry.

Before you lies the smelly corpse of the creature which bore striking resemblance to a troll. get

Scroll taken.

Knobberry taken.

You can't get that.

A large chamber. (N/W)

Fencing Master is here.

Chef is here.

A.J. is here.

You see scroll.

You see knobberry.

You see dead troll.

If I move out of the room and back into the room, it updates successfully. In the case quoted above, the scroll and knobberry items appeared in my inventory after I issued the GET command.