Skip to content

Commit

Permalink
Merge pull request #125 from zedlopez/undressing_in_the_abstract
Browse files Browse the repository at this point in the history
make abstraction strip worn flag
  • Loading branch information
ganelson authored Apr 4, 2024
2 parents c32877b + 0ce77d0 commit 6df6574
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inform7/Internal/Inter/WorldModelKit/Sections/Tests.i6t
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ moves an object to a new position in the object tree.
=
[ XAbstractSub;
if (XTestMove(noun, second)) return;
if (noun has worn) give noun ~worn;
move noun to second;
say__p = 1; "[Abstracted.]";
];
Expand Down Expand Up @@ -51,6 +52,7 @@ Like ABSTRACT, except that it removes something from play.
=
[ XBanishSub;
if (XTestMove(noun, nothing)) return;
if (noun has worn) give noun ~worn;
remove noun;
say__p = 1; "[Banished.]";
];
Expand All @@ -70,6 +72,7 @@ To PURLOIN is to acquire something without reference to any rules on accessibili
[ XPurloinSub;
if (XTestMove(noun, player)) return;
move noun to player; give noun moved; give noun ~concealed;
if (noun has worn) give noun ~worn;
say__p = 1;
"[Purloined.]";
];
Expand Down

0 comments on commit 6df6574

Please sign in to comment.