maps/python
kbulgrien 1da5f75c92 Add an OR function to the CFDialog prefunction as it presently only supports
AND.  To follow precedent of using "|" in the match string (in both CFDialog
and @match), use it as a delimiter inside the prefunction value.  The value
add is particularly that one can design conversations to loop back into
prior states without requiring the conversation to reset and start back
at the beginning.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@10428 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-11-14 06:28:19 +00:00
..
IPO Fix wrong price of objects in help for IPO. 2008-05-22 21:26:18 +00:00
casino
commands Add support for the "give" command, that allows a player to show an item to an NPC. 2007-12-23 01:19:42 +00:00
events Add support for the "give" command, that allows a player to show an item to an NPC. 2007-12-23 01:19:42 +00:00
gods documenting the intent of Valkyrie's altar 2007-10-08 18:30:07 +00:00
guilds New guild storage hall map based of the patch, [ 1854556 ] New Guild Storage Building (for laughing skulls guild), with included feature of using Python scripts for management and ownership 2008-04-07 01:31:47 +00:00
items python/items/ring_occidental_mages.py: 2008-08-11 05:56:51 +00:00
maps Add a new professor to the university, and associated scripts (only Lorkas lore, for now). Fix some lights and wrong desks. 2008-05-20 22:02:01 +00:00
misc Avoid DeprecationWarning: raising a string exception is deprecated by making 2008-11-14 04:44:17 +00:00
monsters Modified all print of script to calls to Crossfire.Log(Crossfire.Log(Debug|Error|Info|Monster),message) 2007-11-08 23:36:22 +00:00
tod Add a "go to sleep" script based on time of day 2007-12-16 12:52:24 +00:00
.cvsignore
CFBank.py Modified all print of script to calls to Crossfire.Log(Crossfire.Log(Debug|Error|Info|Monster),message) 2007-11-08 23:36:22 +00:00
CFBoard.py
CFCampfire.py
CFDataFile.py Modified all print of script to calls to Crossfire.Log(Crossfire.Log(Debug|Error|Info|Monster),message) 2007-11-08 23:36:22 +00:00
CFDialog.py Add an OR function to the CFDialog prefunction as it presently only supports 2008-11-14 06:28:19 +00:00
CFGamble.py
CFGuilds.py Modified all print of script to calls to Crossfire.Log(Crossfire.Log(Debug|Error|Info|Monster),message) 2007-11-08 23:36:22 +00:00
CFItemBroker.py
CFLog.py
CFMail.py
CFMapTransformer.py time of day script modified to use python, and simplified in use. 2007-11-22 22:29:06 +00:00
CFMove.py Create utility library for movement. 2007-05-29 21:18:04 +00:00
CFTimeOfDay.py timeofday based python script 2007-11-19 23:21:00 +00:00
CFWorld.py Remove trailing whitespace. 2007-03-24 13:15:00 +00:00
README Remove trailing whitespace. 2007-03-24 13:15:00 +00:00

README

This directory is the proper directory for all python scripts for crossfire and the default location for importing CF modules.

The subdirectories are:

/: all shared files
/events: all script files called by a global server event
/items: all scripts embedded in archetypes
/IPO: all scripts relating to the Imperial Post and Bank system
/guilds: all scripts relating to guild management
/casino: all scripts related to the casino
/misc: other scripts

Script additions should be placed in a subdirectory, either existing, or when it makes sense, a new one.
Shared classes used for import should be placed in the root directory

All Python scripts added to this map repository should be tested with and valid for Python 2.3