maps/python
partmedia e1777f2cb3 Correctly close bank file in CFBank.py.
Open bank file with writeback set to false (default); setting it to True
was not needed and caused a mysterious bug on my system. The Python
reference manual recommends closing the database after writing data, so
remove all sync() calls and instead force a close() in the end.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18861 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-08-03 00:26:30 +00:00
..
IPO Implement new withdrawal command. 2013-08-03 00:26:00 +00:00
casino
commands
dialog Patch #332: Add Eliza chatterbot script for Crossfire 2013-07-07 14:57:47 +00:00
events Don't log the bell, it works. 2012-04-22 14:10:25 +00:00
gods
guilds Display the guild status and a member's status, give more information on what is valid. 2013-06-09 16:51:55 +00:00
items Using the new Crossfire.AttackMovement.PETMOVE constants. 2013-07-23 19:53:32 +00:00
maps Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
misc Apply (part of) patch #326: Make sailing around the world cost money, by Kevin Zheng. 2013-04-06 10:21:13 +00:00
monsters
pshop Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
quests Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
start
tod
CFBank.py Correctly close bank file in CFBank.py. 2013-08-03 00:26:30 +00:00
CFBoard.py
CFCampfire.py
CFDataBase.py Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
CFDataFile.py
CFDialog.py Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
CFGamble.py
CFGuildClearance.py Remove trailing whitespace. 2013-05-09 11:08:11 +00:00
CFGuilds.py Fix typo. 2013-06-09 16:54:22 +00:00
CFItemBroker.py
CFLog.py
CFMail.py
CFMapTransformer.py
CFMove.py Use the wrapper move_to() function, remove unused function. 2012-07-08 16:19:43 +00:00
CFTimeOfDay.py
CFWorld.py
Move_Fog.py
Moving_Fog.py Remove trailing whitespace. 2013-05-09 11:08:11 +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