Wiki RPG: Markup
From Create Your Own Story
(Difference between revisions)
m |
|||
Line 39: | Line 39: | ||
|- | |- | ||
| Item || <pre>; use with [[Wiki RPG: Fire|fire]] : Oops!</pre> || <dl><dt> use with [[Wiki RPG: Fire|fire]] </dt><dd>Oops!</dd></dl> || If the action ''use book with fire'' is performed, then: | | Item || <pre>; use with [[Wiki RPG: Fire|fire]] : Oops!</pre> || <dl><dt> use with [[Wiki RPG: Fire|fire]] </dt><dd>Oops!</dd></dl> || If the action ''use book with fire'' is performed, then: | ||
- | <u>displays:</u> A popup window with 'Oops!' | + | <u>displays:</u> A popup window with 'Oops! (not available yet)' |
|} | |} | ||
Back to [[Wiki RPG]]. | Back to [[Wiki RPG]]. |
Revision as of 00:21, 26 February 2006
Type of Page | What you type | What you see in the Wiki | What happens in the game |
Normal | '''print 2 + 3''' | print 2 + 3 | displays: 5 |
Normal | '''print name''' | print name | displays: the value of the variable name |
Normal | '''input name''' | input name | displays: a textbox => What the player typed will be stored in the variable name |
Normal | '''select race from ['human', 'elf', 'dwarf']''' | select race from ['human', 'elf', 'dwarf'] | displays: a drop down selection with human, elf and dwarf => What the player selected will be stored in the variable race |
Normal | '''set gold = 10''' | set gold = 10 | sets the variable gold to the value 10 displays: nothing |
Normal | [[Wiki RPG: Tutorial Game: Central Room|Central Room]] | Room with Image | The player character to the Room with Image displays: Room with Image |
Normal | '''no template''' | no template | this page will not show a template page at the end displays: nothing |
Template | '''template''' | template | Identifies this page as a template page (template must be the first text of the page) displays: nothing (but the template page itself will be shown on every normal or dialog page that has no no template) |
Template | '''print name''' | print name | displays: the value of the variable name |
Dialog | '''dialog''' | dialog | Identifies this page as a NPC or dialog page (dialog must be the first text of the page) displays: nothing |
Dialog | blah blah ''answer to blah blah'' | blah blah answer to blah blah | displays: A link where the player can choose to say 'blah blah' - to this the NPC will respond with 'answer to blah blah' |
Dialog | '''end topic''' | end topic | If the player chooses to say a line with end topic, the current state of the dialog will move one level up in the dialog tree |
Dialog | '''end dialog''' | end dialog | If the player chooses to say a line with end dialog, the dialog will stop immediately |
Dialog | '''if knows_problem == "yes" foo ''bar'' ''' | if knows_problem == "yes" foo bar | The player can say 'foo' only if the variable knows_problem is equal to "yes" |
Dialog | '''set gold = 10''' | set gold = 10 | sets the variable gold to the value 10 |
Item | '''item''' | item | Identifies this page as an item page (item must be the first text of the page) displays: nothing |
Item | ; examine : This book looks nice |
| examine is the action that will be called by default when the player is on a normal page and clicks on a link to an item. displays: A popup window with 'This book looks nice' |
Item | ; read : Once upon a time... |
| read will appear as one possible action in the game menu. If this action is performed on the book, then: displays: A popup window with 'Once upon a time...' |
Item | ; use with [[Wiki RPG: Fire|fire]] : Oops! |
| If the action use book with fire is performed, then:
displays: A popup window with 'Oops! (not available yet)' |
Back to Wiki RPG.