I'm creating a game where I need to use a keycard to open a door to a new area. When I use the keycard , it opens the door, but when I need to go through the door this is what happens:
> look at Toolkit
Picking up the object, you see that it is well made and an invaluable resource on the station.
> take Toolkit
You take the items laying about the storage room and make an effective toolkit.
> go Storage Room Door
You are in a Hallway.
You can see an Office Door and a Bulkhead Door.
You can go through the south, Storage Room Door, west or north.
The hallway is long and grey. Dim fluorescent lighting is integrated into the ceiling. It's as cold in here as it is in the rest of the station.
> use toolkit on office door
You cut through the door.
> go north
You are in a Managers Office.
You can see a Cabinets and a Desk.
You can go south.
With a fizz and a pop the door shudders open revealing the manager’s office. You survey the scene and find the office immaculate with alphabetical filing cabinets lining the walls. One of the drawers is open, and innumerable bureaucratic documents litter the spotless white floor. The manager’s desk is cluttered, with pictures of people and places back on earth and in the stations.
> open Desk
You open all of the drawers, finding only the top right one to contain anything useful.
lying on top of the right junk drawer is a a Universal Keycard.
> take Universal Keycard
You pick up the keycard out of the desk drawer. It's thin, but sturdy.
> go south
You are in a Hallway.
You can see an Office Door and a Bulkhead Door.
You can go through the south, Storage Room Door, west or north.
The hallway is long and grey. Dim fluorescent lighting is integrated into the ceiling. It's as cold in here as it is in the rest of the station.
> use keycard on bulkhead door
The bulkhead door is now open, but the light on the door remains the same because of security protocols.
> go west
Error running script: Error compiling expression '(not GetBoolean(player.parent, "visited")) and HasScript(player.parent, "beforefirstenter")': FunctionCallElement: Could find not function 'GetBoolean(Object, String)'
Error running script: FunctionCallElement: Could find not function 'GetAllChildObjects(Object)'
Error running script: Error compiling expression 'GetBoolean(room, "transparent")': FunctionCallElement: Could find not function 'GetBoolean(Object, String)'
Error running script: FunctionCallElement: Could find not function 'GetAllChildObjects(Object)'
Error running script: Object reference not set to an instance of an object.
I'm not sure what to fix; as an additional problem I'm having, how do I get the directions to display as my own titles? E.g., "You can go through the south, Storage Room Door, west or north." I've tried changing the aliases. Here is the actual file also.