Skip to content

Commit d00e921

Browse files
committed
complementary file for prev commit
1 parent 8d98bbd commit d00e921

File tree

1 file changed

+7
-0
lines changed
  • textworld/challenges/spaceship/textworld_data/logic

1 file changed

+7
-0
lines changed

textworld/challenges/spaceship/textworld_data/logic/thing.twl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# thing
22
type t {
3+
predicates {
4+
event(P, r);
5+
}
6+
37
rules {
48
examine/t :: at(P, r) & $at(t, r) -> at(P, r);
59
}
@@ -13,6 +17,9 @@ type t {
1317
kind :: "thing";
1418
}
1519

20+
predicates {
21+
event(P, r) :: "the player was in {r}";
22+
}
1623
commands {
1724
examine/t :: "examine {t}" :: "examining the {t}";
1825
}

0 commit comments

Comments
 (0)