我有以下代码..印刷客房描述“去后”规则通知7
After going to room1:
if button1 is switched on:
say "You hear a loud noise in the distance!";
不幸的是,这可以防止房间说明从打印。如果我加上“继续行动”;最后输出结果是“你听到远处传来一声巨响!”在房间描述之前。我真的很想要房间的描述。如果我添加“试试看”;作为第一行,它打破了简短/冗长的模式。我如何编码以获得以下输出?
(详细)
>e
Room1
This is a small room.
There is a letter here.
You hear a loud noise in the distance!
(简单地说,在室温第二次访问)
>e
Room1
There is a letter here.
You hear a loud noise in the distance!
打印出“您听到远处有巨大的噪音了” - 在新的房间描述之前,对吗?问题是关于如何打印之后。 –
啊,你说得对。那么这个答案是无用的。我可能会删除它,如果我想到其他解决方案,可能会创建一个新的。 – celticminstrel