[Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Jun 6 10:09:01 CDT 2010


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

Date        : 2010/06/06 10:08
User        : ryo
Edit Summary: KnowledgeKnown

@@ -943,21 +943,30 @@
  
  Arguments:
    * ''quest_code'': string, internal quest code.
    * ''state'': integer, state to set the quest to.
- 
- 
  
  ==== QuestWasCompleted ====
  (trunk only)
  
- Query whather the player completed the quest previously. Note that the quest must be correctly defined in the ''default.quests'' file.
+ Query whether the player completed the quest previously. Note that the quest must be correctly defined in the ''default.quests'' file.
  
  Arguments:
    * ''quest_code'': string, internal quest code
  
  Return:
    * 0 if the quest was never completed, 1 else
+ 
+ ==== KnowledgeKnown ====
+ (trunk only)
+ 
+ Query whether the player knowns through the knowledge system the specified factoid.
+ 
+ Arguments:
+   * ''knowledge'': string, representing some specific knowledge item.
+ 
+ Return:
+   * 1 if the player knows the item, 0 else.
  
  ===== Party =====
  This class merely encapsulates a party. Everything is read-only. Attributes:
    * Name: ''String''


IP-Address  : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1275157699
New Revision: http://wiki.metalforge.net/doku.php/cfpython

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




More information about the crossfire-wiki mailing list