Inform 7 でゲームを作成しようとしていますが、Google 検索で明らかに答えが見つからないという大きな問題に遭遇しました。
「if」引数を使用して、プレーヤーがいる部屋に基づいて特定の状況を変更しています。「if」引数として書いたものを見る代わりに、「If the player」がそれ自体のエンティティであると想定しています.
これはエラーメッセージです:
「If the player is in Reception」だけでなく、「If the player is in the Corner Table」とも書きました: 同じオブジェクト (If the player) が 2 つの異なる場所 (Reception と Corner Table) にある必要があると言っているようです。 . これは矛盾しているように見えます。
これは両方の場所での私のコードです:
If the player is in the Corner Table;
Understand the command "leave" or "exit" as something new.
Understand "leave" or "exit" as northwest.
If the player is in Reception;
Understand "key" as the Janitor's Key.
誰か助けてくれませんか?