davedotluebke / old-skool-text-game

Coding project used to learn Python
5 stars 4 forks source link

Better doors #194

Open 1Bayshore opened 2 years ago

1Bayshore commented 2 years ago

This is a fairly minor issue, but right now in the game we have a few different types of doors being used in different places. The best doors implemented are the ones in doors_and_windows.py on the base game level. We should update the code in the staff hallway and for the elementQuest doors to inherit from those places rather than creating doors from scratch again.

davedotluebke commented 8 months ago

The code for the gate outside the mansion often refers to itself as a door.

Also says "You don't have the key" even after I get the key from the hedge. However, "unlock gate with key" works.

davedotluebke commented 8 months ago

And later when trying to unlock the door of the mansion, "unlock door with key" or "unlock door with iron key" says "you don't have the key". Better would be something like, "you try the iron key, but it doesn't fit".