[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:cavesomething:guide_to_quest_dialogs

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Mon Mar 22 21:01:09 CDT 2010


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2010/03/22 21:01
User        : cavehippo
Edit Summary: update, add level.

@@ -130,8 +130,9 @@
  
    * Quest
    * Item
    * Token
+   * Level
  
  == Quest ==
  
  Quest is followed by two fields, the name of the quest, and the stage that the player must be at or past.
@@ -169,8 +170,18 @@
  Checks whether the token "pester" holds the value "1"
  There can be more than 1 value provided.
  
  Tokens are stored in the player file, under the "location" which was specified at the top of the file. Any dialog files which point to the same location have access to the same tokens (and can affect the values they hold). Two tokens with the same name but in different locations are treated separately.
+ 
+ == Level == 
+ 
+ Checks if the player is at or above the specified level, 
+ <code>
+ "pre" : [["level", "10"]],
+ </code>
+ 
+ Will trigger if the player is at least at level 10, and will not trigger if they are below it.
+ While you can use this to block of entire quest lines until certain levels, it is probably better in general to use this test to bypass a warning about being too weak.
  
  === The Post Block ===
  
  After the Pre block is used to decide whether a message should trigger, the post block holds the consequences.
@@ -246,9 +257,9 @@
  Removes one instance of an item called testquesttarget from the players inventory.
  
  You may specify "money" and coins will be removed to the correct value.
  You may omit the number, and 1 will be assumed.
- You may specify '0', which will take all of the items of the specified type.
+ You may specify '0', which will take all of the items that the player has. - Be careful with this, while you can specify ["takeitem", "money", "0"], you probably shouldn't.
  
  Note that you will need to check that the player has the item(s) to take first, as such you should always use this in the following way:
  
  <code>


IP-Address  : 81.141.60.247
Old Revision: http://wiki.metalforge.net/doku.php/user:cavesomething:guide_to_quest_dialogs?rev=1269304037
New Revision: http://wiki.metalforge.net/doku.php/user:cavesomething:guide_to_quest_dialogs

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list