gpt4 book ai didi

inform7 - Inform 7 进入房间前检查房间类型和玩家状态

转载 作者:行者123 更新时间:2023-12-02 11:22:49 24 4
gpt4 key购买 nike

在这个游戏中,房间有私有(private)房间和公共(public)房间,玩家有两种状态,A或B。玩家只能在A状态下进入公共(public)房间,而不能在B状态下进入。这是想要的效果,但是输入以下内容后:

A person can be A or B. A person is usually A.

A room can be private or public. A room is usually public.

Check entering public room:
if player is B:
say "You can't do that." instead.

Inform 的行为就像最后一个文本 block 甚至不存在一样。我做错了什么?

最佳答案

进入 Action 仅适用于进入容器或支持者。在 map 上移动是持续的 Action 。

Check going to public room when the player is B:
say "You can't do that." instead.

关于inform7 - Inform 7 进入房间前检查房间类型和玩家状态,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46751865/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com