我在 Inform 7 Interactive Fiction 故事中有一个非玩家角色,我想得到一个简单的回复。角色是机器人医生。当你登上检查台时,机器人医生会伸出一个压舌板,让你说“啊”。我希望角色在玩家键入“说啊”时说些什么,但到目前为止它还不起作用。
到目前为止,这是我的代码:
The exam table is a supporter in the Med Bay. It is fixed in place and enterable.
In the Med Bay is a person called Auto-Doc.
After entering the exam table, say "A number of bright lights embedded in an overhead panel bathe you in a cold, white light. A panel in the wall opens and an auto-doc trundles forth on a three-wheeled base. Clutching a tongue depressor in its mechanical grip, a small speaker hidden within crackles with the words 'Say, ah.'"
After speaking in the presence of the Auto-Doc, say "Mmm. Mm-hmm. Very interesting."
最后一行导致编译器抛出错误,但我无法弄清楚要使用什么。我已经尝试过Instead of speaking
, After telling the Auto-Doc something
, After saying ah in the presence of the Auto-Doc
,但到目前为止没有任何效果。
关于在玩家键入“say ah”后如何让 Auto-Doc 说些什么的任何提示?无论玩家说什么,我什至都会对 Auto-Doc 以同样的方式回复感到满意。