如果玩家进入一个物体(他们的手机)“充电”的房间,我试图触发游戏结束。
我一定不明白在输入位置时触发规则的语法,因为我意识到我的其他类似规则也没有发生。
我有:
Instead of entering Great Hall:
if phone is charged:
say "Hooray you win.";
但规则如下:
Instead of entering Big house:
If butler is in big house:
say "'blah blah blah";
now player is in big house;
otherwise:
say "Oh no, can't get into the house.";
也不工作。我阅读了关于结束游戏的第 9.4 节,也用 after 和 before 替换了我的,但没有运气。玩家在条件下进入房间后我该怎么做?
谢谢!