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

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Fri Dec 30 15:43:21 CST 2011


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

Date        : 2011/12/30 15:43
User        : ryo
Edit Summary: hall of fame

@@ -91,12 +91,24 @@
       * 0: give the player the skill
       * 1: give player exp to total, no skill
       * 2: player gets nothing
    * race: if set, the player can only use once this item.
+ 
  ===== Time of the day =====
  Scripts location: ''/python/tod/*.py''
  
  Those scripts add behaviour to items based on time of the day. Want to open doors at specific time, make werewolfes, deactivate a magic_mouth during the Season of Winter? Those scripts are ready to use. See [[cfpython:tod|time of day based python scripts]]
+ 
+ ===== Hall of fame =====
+ Script location: ''/python/misc/hall_of_fame.py'' (trunk)
+ 
+ This script is intended to be bound to event objects, generally the apply one.
+ 
+ If the item this script is bound to is a SIGN, then it will display its list of players, preceded by the own item's message (as header).
+ 
+ For any other item, the player is added to the list, with her title. If the event object itself has a message, it will be displayed to the player if she is added to the list.
+ 
+ The script's parameters is the internal name of the quest, which must be suitable for a file name (no conversion done).
  
  ====== Crossfire module ======
  
  To use the crossfire module, add to your python script:


IP-Address  : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1321005068
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