maps/python
Kevin Zheng af0a4b094c Change default state to fix existing maps 2022-01-23 11:21:22 -08:00
..
CFReputation Store factions/reputation information in a file instead of memory. 2021-05-28 19:15:17 +02:00
IPO Improve package sending help text in the IPO 2021-03-30 05:50:25 +00:00
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 Explicitly convert to int. 2020-12-27 16:31:47 +00:00
guilds Fix and clean script 2021-08-22 12:54:03 +02:00
items New quest: Journey to the East 2022-01-03 18:43:13 -06:00
maps Fix invalid conversion. 2021-02-12 13:15:55 +00:00
misc
monsters
pshop
pyi Add Python stubs for the Crossfire module 2021-10-02 17:45:24 +02:00
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 Add 'resetdialog' for DMs to reset dialog state 2021-07-24 21:03:56 -07: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 Correctly handle items with nrof 0. 2011-05-29 18:27:46 +00:00
CFLog.py Patch #1550744 (Python scripts should not hardcode timezones) courtesy Mark Kidder 2006-09-02 14:26:26 +00:00
CFMail.py
CFMapTransformer.py
CFMove.py
CFTimeOfDay.py Run whitespace cleanup script in maps/python. 2009-01-30 01:22:22 +00:00
CFWorld.py
Move_Fog.py fine tuned fog duration and speed 2010-08-17 23:37:34 +00:00
Moving_Fog.py Fix fog with Python 3 2021-01-05 17:08:34 +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