maps/python
silvernexus b5943ff60b Fix handling in autojail when a player is killed by starvation.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21519 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-10-20 18:37:10 +00:00
..
CFReputation Add reputation-based trigger 2018-12-30 05:15:57 +00:00
IPO @ add conversion computations, and a description of existing coins. 2019-05-16 18:25:03 +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 Make water dipped into a fountain be identified, so as to prevent infinite alchemy experience from repeated drinking of the water and re-dipping. 2020-08-22 23:40:52 +00:00
dialog Fix print() 2019-11-27 23:25:27 +00:00
events Fix handling in autojail when a player is killed by starvation. 2020-10-20 18:37:10 +00:00
gods Fix bug #2933502: Valkyrie not working. 2010-09-03 16:05:25 +00:00
guilds Reduce guild arrest jail time 2017-08-15 23:41:45 +00:00
items Adjust weapon of Souls python code to use TotalExp field instead of PermExp 2020-09-02 01:32:14 +00:00
maps Check object is player before calling QuestGetState() 2019-12-27 04:57:31 +00:00
misc Add reputation-based trigger 2018-12-30 05:15:57 +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 Prevent attempt to dereference None player in QuestAdvance.py. 2020-10-20 18:14:35 +00:00
start Adapt to renamed face names. 2011-06-26 18:33:01 +00:00
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 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 Remove redundant semicolons. 2016-06-19 15:19:52 +00:00
CFGamble.py Fix tab error in CFGamble.py 2009-02-11 21:20:20 +00:00
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 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 Use the wrapper move_to() function, remove unused function. 2012-07-08 16:19:43 +00:00
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 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