maps/python
SilverNexus a5a2649089 Fix a space/tab error in ring of occidental mages python script. 2021-10-03 12:04:16 -04:00
..
CFReputation Store factions/reputation information in a file instead of memory. 2021-05-28 19:15:17 +02:00
IPO
casino
commands When dipping a scroll, remove knowledge marker and reset name. 2021-02-09 21:26:26 +00:00
dialog Respond to standard greeting 2021-08-27 11:12:11 -07:00
events Fix type error by converting explicitely to int. 2021-04-07 18:35:48 +00:00
gods
guilds Fix and clean script 2021-08-22 12:54:03 +02:00
items Fix a space/tab error in ring of occidental mages python script. 2021-10-03 12:04:16 -04:00
maps
misc Add reputation-based trigger 2018-12-30 05:15:57 +00:00
monsters
pshop
pyi Add Python stubs for the Crossfire module 2021-10-02 17:45:24 +02:00
quests Un-trigger QuestTriggerConnect if player steps off 2021-08-28 13:41:16 -07: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
CFDataFile.py
CFDialog.py Add 'resetdialog' for DMs to reset dialog state 2021-07-24 21:03:56 -07:00
CFGamble.py
CFGuildClearance.py
CFGuilds.py
CFItemBroker.py
CFLog.py
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 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
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