![]() |
The Beast of Torrack MoorAn interactive fiction by Linda Wright (2007) - the Inform 7 source text |
| Home page Contents Previous Complete text | Section 6 - Support Materials
This is the noun autotaking rule: if the player is the person asked begin; say "(first taking [the noun])"; silently try taking the noun; otherwise; try the person asked trying taking the noun; end if. This is the second noun autotaking rule: if the player is the person asked begin; say "(first taking [the second noun])"; silently try taking the second noun; otherwise; try the person asked trying taking the second noun; end if. This is the must hold the noun rule: if the person asked does not have the noun, follow the noun autotaking rule; if the person asked does not have the noun, stop the action; make no decision. This is the must hold the second noun rule: if the person asked does not have the second noun, follow the second noun autotaking rule; if the person asked does not have the second noun, stop the action; make no decision. This is the must have accessible the noun rule: if the noun is not key-accessible begin; if the player is the person asked, say "Without holding [the noun], you can do nothing."; stop the action; end if; make no decision. This is the must have accessible the second noun rule: if the second noun is not key-accessible begin; if the player is the person asked, say "Without holding [the second noun], you can do nothing."; stop the action; end if; make no decision. |