Crossfire Server, Trunk
rhyzian_amulet Namespace Reference

Functions

def gettext (loc1, loc2, name)
 
def getuserdist (dist)
 

Variables

 location = CFWorld.loc_from_ob(pl)
 
 me = Crossfire.WhoAmI()
 
tuple navar_loc = (6112, 5850)
 
def navartxt = gettext(location, navar_loc, "blue")
 
 pl = Crossfire.WhoIsActivator()
 
tuple scorn_loc = (5272, 5786)
 
def scorntxt = gettext(location, scorn_loc, "red")
 

Function Documentation

◆ gettext()

def rhyzian_amulet.gettext (   loc1,
  loc2,
  name 
)

Definition at line 13 of file rhyzian_amulet.py.

References CFWorld.getdiff(), CFWorld.getdir(), CFWorld.getdist(), getuserdist(), and make_face_from_files.str.

+ Here is the call graph for this function:

◆ getuserdist()

def rhyzian_amulet.getuserdist (   dist)

Definition at line 10 of file rhyzian_amulet.py.

References make_face_from_files.int.

Referenced by gettext().

+ Here is the caller graph for this function:

Variable Documentation

◆ location

rhyzian_amulet.location = CFWorld.loc_from_ob(pl)

Definition at line 31 of file rhyzian_amulet.py.

◆ me

rhyzian_amulet.me = Crossfire.WhoAmI()

Definition at line 29 of file rhyzian_amulet.py.

◆ navar_loc

tuple rhyzian_amulet.navar_loc = (6112, 5850)

Definition at line 5 of file rhyzian_amulet.py.

◆ navartxt

def rhyzian_amulet.navartxt = gettext(location, navar_loc, "blue")

Definition at line 34 of file rhyzian_amulet.py.

◆ pl

rhyzian_amulet.pl = Crossfire.WhoIsActivator()

Definition at line 28 of file rhyzian_amulet.py.

◆ scorn_loc

tuple rhyzian_amulet.scorn_loc = (5272, 5786)

Definition at line 4 of file rhyzian_amulet.py.

◆ scorntxt

def rhyzian_amulet.scorntxt = gettext(location, scorn_loc, "red")

Definition at line 33 of file rhyzian_amulet.py.