User Tools

Site Tools


actions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
actions [2013/12/17 04:17]
l created
actions [2017/10/10 00:39] (current)
Line 5: Line 5:
 ====Usage==== ====Usage====
  
->​%%<<​%%actions ​\\"​string"​\\ ... %%>>​%%+>​%%<<​%%actions ​//"​string"​// ... %%>>​%%
  
 An unlimited number of strings can be provided to <<​actions>>​. Each string is interpreted as a passage title, and produces a link to that passage using the title as the link text. An unlimited number of strings can be provided to <<​actions>>​. Each string is interpreted as a passage title, and produces a link to that passage using the title as the link text.
Line 22: Line 22:
 (Ian Livingstone,​ //Temple of Terror//) (Ian Livingstone,​ //Temple of Terror//)
  
-Lifting the lid of one pot shouldn'​t preclude the protagonist from lifting the lid of another afterwards — assuming, of course, that the pots don't kill the protagonist (which, unfortunately,​ they often do in these kinds of gamebooks). The ''​<<​actions>>​'' ​macro shows the reader a list of choices, excluding any he has already seen. You can combine this with the ''​<<​display>>​'' ​macro to implement the passage above:+Lifting the lid of one pot shouldn'​t preclude the protagonist from lifting the lid of another afterwards — assuming, of course, that the pots don't kill the protagonist (which, unfortunately,​ they often do in these kinds of gamebooks). The <<​actions>>​ macro shows the reader a list of choices, excluding any he has already seen. You can combine this with the [[<<​display>>​]] macro to implement the passage above:
  
 <​code>​ <​code>​
actions.1387253867.txt.gz · Last modified: 2017/10/10 00:36 (external edit)