mirror of
https://github.com/ganelson/inform.git
synced 2024-07-08 01:54:21 +03:00
20 lines
1.1 KiB
Plaintext
20 lines
1.1 KiB
Plaintext
* Check rules for actions by other people
|
|
(Check rules modified for taking something we're inside--Automatically leaving an object before trying to take it; Get Axe)
|
|
Changing the check rules to try automatically leaving a container before attempting to take it. (And arranging things so that other people will do likewise.)
|
|
|
|
We could now re-write the check rules so that any time someone (the player or someone else) tries to pick up a container which he is in, he will first get out:
|
|
|
|
{*}"GET AXE"
|
|
|
|
This is the clever can't take what you're inside rule:
|
|
if the person asked is in the noun, try the person asked exiting;
|
|
if the person asked is in the noun, rule fails.
|
|
|
|
The clever can't take what you're inside rule is listed instead of the can't take what you're inside rule in the check taking rules.
|
|
|
|
Attic is a room. The unused coffin is in the Attic. The coffin is enterable and openable and open. Raskolnikov is a man in the coffin.
|
|
|
|
Persuasion rule for asking Raskolnikov to try doing something:
|
|
persuasion succeeds.
|
|
|
|
Test me with "raskolnikov, get coffin". |