目前我在Inform7上进行了第一次文字冒险,当你使用羊皮纸解析器在浏览器中玩游戏时,我遇到了一个错误。
发生错误的部分是:
Calling is an action applying to one topic.
Understand "call [text]" as calling.
Carry out calling:
if the topic understood matches "Melissa" and the player is carrying the smartphone:
clear the screen;
say "You are calling Melissa … she replies 'hey darling. are you fine?'";
say paragraph break;
if player consents:
say "really???";
say paragraph break;
otherwise:
say "oh i see!";
代码在任何客户端都可以正常工作。但不是在浏览器中。如果你打电话给Melissa,问题会出现,但输入已经消失,所以无法给出答案。
更新:
我刚刚发现,羊皮纸的版本已经过时,所以我手动更新它,现在它可以正常工作。