I have a situation where sometimes I get a line break and sometimes I don’t, and I can’t figure out how to fix it.
If I write the following code:
Check opening storage door: if the player is not carrying the security card: say "The door won't open without a security card." instead. Before opening the storage door when the player carries the security card: say "(inserting your security card into the slot)". Instead of inserting the security card into the slot: try opening the storage door.
it mostly works correctly. If I OPEN STORAGE DOOR or PUT CARD IN SLOT, it displays:
(inserting your security card into the slot) You open the storage door. >
The problem is if I just enter the room when the door is closed, in which case it displays:
(first opening the storage door) (inserting your security card into the slot) Storage Room The Storage Room is filled with bins containing electronic components. There is a door to the east. >
It really looks ugly without a line break before the room name.
I’ve tried everything I can think of to add a line break in that situation, but nothing works.
If anyone can help me with this, I would greatly appreciate it!
C. Scott Davis