maps/python
SilverNexus 72c83cfec0 Actually fix the Dex-only debuff this time.
Had to reorder the clauses even when inverting the calc.
2023-04-17 14:42:51 -04:00
..
CFReputation Adjust the schema update code to allow for schema updates, and apply the first one. 2022-12-10 17:53:44 -05:00
IPO Improve package sending help text in the IPO 2021-03-30 05:50:25 +00:00
casino
commands Add timeout and use text mode 2022-06-04 13:12:07 -07:00
dialog Fix Scorn's smith dialog 2023-04-13 19:48:14 +02:00
events Fix broken weapon check 2022-05-29 12:24:37 +02:00
gods
guilds Rework the Big Chest script to correctly remove (all) forces 2022-06-11 14:41:45 +02:00
items Actually fix the Dex-only debuff this time. 2023-04-17 14:42:51 -04:00
maps Improve error messages 2022-05-31 14:42:04 -07: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
CFBoard.py
CFCampfire.py Run whitespace cleanup script in maps/python. 2009-01-30 01:22:22 +00:00
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 Fix typo. 2013-06-09 16:54:22 +00:00
CFItemBroker.py
CFLog.py Remove accidental dependency 2022-06-13 22:55:09 -07:00
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
CFTowerDefense.py Improve error messages 2022-05-31 14:42:04 -07:00
CFWorld.py Add script for amulet of finding 2022-03-27 22:30:53 -07: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