I’m writing a story on the website Playfic, which uses Parchment for Inform 7. For some reason, adding a certain item seemed to cause the game to not run. There was no error message or anything. The game just wouldn’t load. I could edit and make it load by deleting the item in the code (only altering the other code associated with it to apply to another object), and it ran fine before, which is how I figured out it was this specific item that was the problem.
The item was just a compass.
The code was as followed:
[code]The player carries a compass.
To say dont-drop-the-compass: say “[one of]Nah, you’ve got a terrible sense of direction.[or]You wouldn’t be able to navigate without it.[or]You’d get lost without it, so no.[or]Too important.[or]You need that to navigate.[or]There’s no way you’re getting rid of your trusty compass![or]Dropped.[pause for effect][paragraph break]Nah, just kidding.[purely at random]”.
Instead of dropping the compass: say “[one of]It’s very precious to you, so you’d prefer to keep it on your person at all times. Plus, you’re a pretty terrible navigator without it.[or][dont-drop-the-compass][stopping]”.
Instead of going somewhere when the player does not carry the compass: say “You’re not going anywhere without your compass.”[/code]
I’m fairly confident this was a problem with Inform and/or Playfic, not my code. Has anyone else here had problems with that?