maps/python
ryo_saeba a39439ab35 Do not attempt arresting things like traps, please.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14113 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-11-20 15:47:29 +00:00
..
IPO
casino
commands
dialog
events
gods
guilds Do not attempt arresting things like traps, please. 2010-11-20 15:47:29 +00:00
items Script to punish a player from killing a NPC. 2010-05-29 19:54:58 +00:00
maps
misc Move npc_dialog.py to the dialog directory rather than misc/ 2010-04-27 08:40:30 +00:00
monsters
pshop un-redirecting stdout and stderr 2010-08-16 07:05:17 +00:00
quests Script to drop items only if a certain quest step is reached. 2010-06-19 15:06:29 +00:00
start Fix a bug causing tracebacks in /python/start/dragon_attune.py. If there was no player on the changer it ended up as None which resulted in a traceback. 2009-02-12 09:28:12 +00:00
tod
.cvsignore
CFBank.py Avoid features in the python scripts that are removed from python 3.0. This is confirmed to still work on at least python 2.5 and as far as I understand the docs also python 2.4 2009-01-30 01:32:19 +00:00
CFBoard.py Avoid features in the python scripts that are removed from python 3.0. This is confirmed to still work on at least python 2.5 and as far as I understand the docs also python 2.4 2009-01-30 01:32:19 +00:00
CFCampfire.py Run whitespace cleanup script in maps/python. 2009-01-30 01:22:22 +00:00
CFDataBase.py
CFDataFile.py Minor code cleanup in some python modules (removing unused variables, cleaning up some if tests, removing import statements for some modules that were then never used. 2009-10-14 16:13:29 +00:00
CFDialog.py Fix exception syntax for Python 2.5.2. 2010-06-06 08:32:03 +00:00
CFGamble.py
CFGuildClearance.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 Patch #1550744 (Python scripts should not hardcode timezones) courtesy Mark Kidder 2006-09-02 14:26:26 +00:00
CFMail.py Avoid features in the python scripts that are removed from python 3.0. This is confirmed to still work on at least python 2.5 and as far as I understand the docs also python 2.4 2009-01-30 01:32:19 +00:00
CFMapTransformer.py Minor code cleanup in some python modules (removing unused variables, cleaning up some if tests, removing import statements for some modules that were then never used. 2009-10-14 16:13:29 +00:00
CFMove.py Run whitespace cleanup script in maps/python. 2009-01-30 01:22:22 +00:00
CFTimeOfDay.py Run whitespace cleanup script in maps/python. 2009-01-30 01:22:22 +00:00
CFWorld.py
Move_Fog.py fine tuned fog duration and speed 2010-08-17 23:37:34 +00:00
Moving_Fog.py fine tuned fog duration and speed 2010-08-17 23:37:34 +00:00
README

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