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

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Mar 21 05:36:56 CDT 2010


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

Date        : 2010/03/21 05:36
User        : 
Edit Summary: add random

@@ -7,8 +7,9 @@
    * 'grantitem' to make an npc give the player an object from their inventory
    * 'haskey' to check whether a player has a given key
    * 'takekey' to remove that key
    * 'triggerconnection' to cause a connected value to work.
+   * 'random' [chance] [seed] - should trigger chance% of the time. This should be generated against the object ID of the NPC (which won't change between resets), seed should be used to control the group of NPCs that are selected (so that two rules with the same chance and seed number will trigger on the same NPCs). Likewise, changing chance but not seed should increase or decrease the number of people included, but not reroll them (so you could have "chance" "20" "43" to tell a character about something, then "chance" "10" "43" to give more useful information on further questioning). '-seed' should invert the selection of 'seed' - more for convenience than anything else.
  
  that'll give 6 special commands (in addition to the two quest ones already added) from which most sensible types of logic can be done
  for the crazy types of logic, 'script' would be a nice addition.
  


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

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




More information about the crossfire-wiki mailing list