maps/python
partmedia 739ca3508b Restore original CFBank API
Moving accounts to player files added unnecessary complexity. Restore
original API and add code to migrate accounts back from player files.

While here, wrap CFBank with a context manager so it can be used with
the Python 'with' statement.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20449 282e977c-c81d-0410-88c4-b93c2d0d6712
2017-07-27 06:35:06 +00:00
..
IPO Restore original CFBank API 2017-07-27 06:35:06 +00:00
casino
commands
dialog Remove redundant semicolons. 2016-06-19 15:19:52 +00:00
events Restore original CFBank API 2017-07-27 06:35:06 +00:00
gods
guilds Remove unused imports 2017-07-27 06:34:58 +00:00
items Remove redundant semicolons. 2016-06-19 15:19:52 +00:00
maps Remove redundant semicolons. 2016-06-19 15:19:52 +00:00
misc Remove redundant semicolons. 2016-06-19 15:19:52 +00:00
monsters Remove redundant semicolons. 2016-06-19 15:19:52 +00:00
pshop Make it possible for players to rent private shops. 2014-05-25 21:55:18 +00:00
quests Remove redundant semicolons. 2016-06-19 15:19:52 +00:00
start
tod Adjusted the error message to reflect the name of the script. 2015-05-17 19:11:40 +00:00
CFBank.py Restore original CFBank API 2017-07-27 06:35:06 +00:00
CFBoard.py
CFCampfire.py
CFDataBase.py Make it possible for players to rent private shops. 2014-05-25 21:55:18 +00:00
CFDataFile.py
CFDialog.py Remove redundant semicolons. 2016-06-19 15:19:52 +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