Commit Graph

6 Commits (master)

Author SHA1 Message Date
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
anmaster a8cab01c4b 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.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@12197 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-10-14 16:13:29 +00:00
anmaster c589e07ec3 Replace deprecated string.find() amd string.lower() in /python/*.py
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11452 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-02-11 21:47:17 +00:00
akirschbaum 8de8411641 Remove trailing whitespace.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5862 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-03-24 13:15:00 +00:00
qal21 e5bb0bd8c0 Spelling correction in comment in CFWorld.py
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5001 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-10-06 18:44:09 +00:00
qal21 4505f8df6e Add Rhyzian amulet quest.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5000 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-10-06 18:40:46 +00:00