maps/python
tchize 42656ed898 timeofday based python script
updated existing script to use JSON notation
added a "replace in all map" script
added a test map
updated test maps to JSON notation
added helper tools: CFTimeOfDay and CFMapTransformer
fixed warnings in gridarta


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7546 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-11-19 23:21:00 +00:00
..
IPO Corrected a glitch in IPO Colette's answer. 2007-11-18 18:52:50 +00:00
casino Fix slot machines. 2007-02-15 20:15:53 +00:00
events 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
gods documenting the intent of Valkyrie's altar 2007-10-08 18:30:07 +00:00
guilds 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
items Fix damage getting really big, more fun effects. 2007-06-30 21:58:54 +00:00
maps Scripted house (in Navar), first version. 2007-04-18 20:46:51 +00:00
misc 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
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 timeofday based python script 2007-11-19 23:21:00 +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 Add callbacks to even more customize the rules. 2007-10-28 14:54:24 +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 timeofday based python script 2007-11-19 23:21:00 +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