1

我目前在让容器在 inform7 中正常工作方面遇到了一个小问题。我创建了一张床,它被标记为可进入的容器。当场景开始时,玩家开始在床上,这似乎工作正常。你可以离开容器就好了。但是,您不能重新进入容器。如果我试图进入/进入/进入床,我会收到一条消息,说“你不能那样走”,我不明白为什么。我很新,所以我可能在这里遗漏了一些超级简单的东西。有任何想法吗?非常感谢!

这是我的代码:

A Warm Cabin is a room. "A one room cabin with a fireplace on the south wall. There's a single window, frosted over from the cold."

Coming to is a scene. Coming to begins when Unconscious ends.

When coming to begins:
    move the player to the double bed;
    try waking up;
    continue the action.

The Double Bed is a container. The double bed is in a warm cabin. The double bed is enterable and fixed in place. The description of the double bed is "A double bed strewn with soft, botanically-embroidered quilts and over-fluffed pillows. . . It's quite cozy."

Instead of entering the double bed: try going inside.
4

0 回答 0