目前我正在 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!";
该代码在任何客户端都可以正常工作。但不是在浏览器中。如果你打电话给梅丽莎,问题会出现,但输入消失了,所以无法给出答案。
更新:
我刚刚发现,羊皮纸的版本已经过时,所以我手动更新了它,现在它可以工作了。