maps/python
ryo_saeba 5ce8d01ed6 Script to record a list of players having done something great.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@16384 282e977c-c81d-0410-88c4-b93c2d0d6712
2011-12-30 21:39:42 +00:00
..
IPO improves banking 2010-08-15 01:02:41 +00:00
casino The casino code for major wins (in all the different slot types) was missing a cast to integer, this resulted in a traceback on Python 3.x. 2009-02-14 18:00:40 +00:00
commands Add autojailing scripts for PK, activated by DMs. 2011-06-09 22:20:06 +00:00
dialog Ensure items were removed. 2011-05-29 18:28:07 +00:00
events Add autojailing scripts for PK, activated by DMs. 2011-06-09 22:20:06 +00:00
gods Fix bug #2933502: Valkyrie not working. 2010-09-03 16:05:25 +00:00
guilds Fix probably broken crystal room price (12 jade instead of 2 platinum). 2011-12-01 22:21:11 +00:00
items Script to punish a player from killing a NPC. 2010-05-29 19:54:58 +00:00
maps Make explicit that the player must give a number. 2010-10-23 09:19:54 +00:00
misc Script to record a list of players having done something great. 2011-12-30 21:39:42 +00:00
monsters Fix dialog. 2010-05-15 11:26:25 +00:00
pshop Remove evil 'print'. 2011-06-21 21:11:18 +00:00
quests Correctly advance quest when something happened with a spell. 2011-07-22 20:28:12 +00:00
start Adapt to renamed face names. 2011-06-26 18:33:01 +00:00
tod Replace deprecated string.split() amd string.lower() in /python/*/*.py 2009-02-11 21:52:51 +00:00
CFBank.py
CFBoard.py
CFCampfire.py
CFDataBase.py Replace tabs with spaces 2010-06-07 20:13:51 +00:00
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 Fix tab error in CFGamble.py 2009-02-11 21:20:20 +00:00
CFGuildClearance.py Fix script. 2010-11-20 15:25:35 +00:00
CFGuilds.py
CFItemBroker.py Correctly handle items with nrof 0. 2011-05-29 18:27:46 +00:00
CFLog.py
CFMail.py
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
CFTimeOfDay.py
CFWorld.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
Move_Fog.py fine tuned fog duration and speed 2010-08-17 23:37:34 +00:00
Moving_Fog.py Decreased the number of fogs per seed fog 2011-09-14 20:23:59 +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