maps/python
Kevin Zheng 634da60f18 Remove accidental dependency 2022-06-13 22:55:09 -07:00
..
CFReputation
IPO
casino
commands Add timeout and use text mode 2022-06-04 13:12:07 -07:00
dialog Respond to standard greeting 2021-08-27 11:12:11 -07:00
events Fix broken weapon check 2022-05-29 12:24:37 +02:00
gods
guilds
items Disallow buying negative mana 2022-05-17 23:11:40 -07:00
maps
misc Add reputation-based trigger 2018-12-30 05:15:57 +00:00
monsters
pshop
pyi
quests Change default state to fix existing maps 2022-01-23 11:21:22 -08:00
start
tod
CFBank.py Restore original CFBank API 2017-07-27 06:35:06 +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
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
CFGamble.py
CFGuildClearance.py
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 Remove accidental dependency 2022-06-13 22:55:09 -07: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
CFTimeOfDay.py Run whitespace cleanup script in maps/python. 2009-01-30 01:22:22 +00:00
CFTowerDefense.py
CFWorld.py
Move_Fog.py
Moving_Fog.py
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