maps/python
kbulgrien cb381c6b26 - More clearly document how to write JSONs when pre or postconditions are not
needed by a particular rule.  For the inexperienced, this was a showstopper.
- Dispense with the user defined exception and replace the old handling with a
  more effective debug log message combined with a generic exception.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@10636 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-11-21 07:43:24 +00:00
..
IPO Fix wrong price of objects in help for IPO. 2008-05-22 21:26:18 +00:00
casino Fix slot machines. 2007-02-15 20:15:53 +00:00
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 Modify CFDialog.py to use a list of strings for the keywords instead of the "|" 2008-11-15 07:55:59 +00:00
misc - More clearly document how to write JSONs when pre or postconditions are not 2008-11-21 07:43:24 +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 Needed to avoid polluting 2006-07-31 22:14:43 +00:00
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 Update of the maps for CFPython version 2.0. 2005-10-18 18:13:28 +00:00
CFCampfire.py Talking fireplace scripts. 2006-08-21 21:48:14 +00:00
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 - Document how to successfully create rules that do not need any pre or post 2008-11-21 07:30:14 +00:00
CFGamble.py Update of the maps for CFPython version 2.0. 2005-10-18 18:13:28 +00:00
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 Update of the maps for CFPython version 2.0. 2005-10-18 18:13:28 +00:00
CFLog.py Patch #1550744 (Python scripts should not hardcode timezones) courtesy Mark Kidder 2006-09-02 14:26:26 +00:00
CFMail.py Update of the maps for CFPython version 2.0. 2005-10-18 18:13:28 +00:00
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