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. |
||
---|---|---|
.. | ||
CFReputation | ||
IPO | ||
casino | ||
commands | ||
dialog | ||
events | ||
gods | ||
guilds | ||
items | ||
maps | ||
misc | ||
monsters | ||
pshop | ||
pyi | ||
quests | ||
start | ||
tod | ||
CFBank.py | ||
CFBoard.py | ||
CFCampfire.py | ||
CFDataBase.py | ||
CFDataFile.py | ||
CFDialog.py | ||
CFGamble.py | ||
CFGuildClearance.py | ||
CFGuilds.py | ||
CFItemBroker.py | ||
CFLog.py | ||
CFMail.py | ||
CFMapTransformer.py | ||
CFMove.py | ||
CFTimeOfDay.py | ||
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