Hi, I'm trying to have a small object which is inside another object that the player can't see.
However when looked at in game the "container" object is shown as either (closed) or the player can see what's inside it.
Here is my code for the objects in question:
There is an object called a hat. a hat is wearable. a hat is opaque.
There is an object called a tiny key. a tiny key is inside a hat.
Before taking the hat:
if the tiny key is in the hat or a tiny key is not on the player:
move a tiny key to the bedroom;
say "As you pick the hat up, a tiny key falls out of the hat and clatters on the floor."
In game it looks like this:
You can see a hat (in which is a tiny key)
If I make the hat closed, then it shows it as:
You can see a hat (closed)
Which I feel gives away that there's something hidden in the hat. Is there a way to show no suffix as to whether the hat is a container or not?
Another small question I had relates to moving the key to the same location as the hat. Obviously the current design of the puzzle means that attempting to move the hat would cause the key to drop, but what if I wanted the code to recognise what room the hat is in and then transport it's contents to that same room?
Thanks!