maps/python
Kevin Zheng 82079a2faa Add script for amulet of finding
These pieces of jewelry help players remember locations on the world
map. Players can bind an amulet at any location on the world map.
Applying a bound amulet shows players a message indicating which
direction they should travel to return to the bound location.

Since this shares some code with the Rhyzian amulet, move the shared
code to CFWorld. While here, improve the getdir() function to round the
direction to the closest compass direction.
2022-03-27 22:30:53 -07: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 Register 'autojail' and 'disinfect' as DM-only 2022-01-30 09:41:07 +01: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 Add script for amulet of finding 2022-03-27 22:30:53 -07:00
maps Add tower defense game in the Darcap Fun Zone 2022-01-23 20:22:32 -08: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
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 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
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
CFLog.py
CFMail.py
CFMapTransformer.py
CFMove.py Use the wrapper move_to() function, remove unused function. 2012-07-08 16:19:43 +00:00
CFTimeOfDay.py
CFTowerDefense.py Add tower defense game in the Darcap Fun Zone 2022-01-23 20:22:32 -08:00
CFWorld.py Add script for amulet of finding 2022-03-27 22:30:53 -07:00
Move_Fog.py
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