Chapter Putting under
Putting it under is an action applying to one carried thing and one visible thing.
Understand "put [something] under [something]" as putting it under.
Check putting it under (this is the block putting under rule):
say "There wouldn't be much point in that."
Table of analyzing actions (continued)
topic | testing rule |
"putting under" | test putting under rule |
This is the test putting under rule:
if the player has the noun:
let put-target be a random visible thing that is not the noun in the location of the test-actor;
say test announcement for "putting [the noun] under [the put-target]";
try the test-actor trying putting the noun under the put-target;
otherwise if the player is carrying something:
let put-target be a random thing carried by the player;
say test announcement for "putting [the put-target] under [the noun]";
try the test-actor trying putting the put-target under the noun;
otherwise:
say "[italic type](no carried things; can't test putting under)[roman type]".