Crossfire Server, Trunk
finding Namespace Reference

Functions

def auto_identify (ob, pl)
 
def describe_vec (v)
 
def indefinite (ob)
 
def loc_to_str (l)
 
def on_apply ()
 
def str_to_loc (s)
 

Variables

string location_key = 'finding_location'
 
int world_size = 50
 

Function Documentation

◆ auto_identify()

def finding.auto_identify (   ob,
  pl 
)
Identify the object if it hasn't already.

Definition at line 25 of file finding.py.

References indefinite().

Referenced by on_apply().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ describe_vec()

def finding.describe_vec (   v)

Definition at line 37 of file finding.py.

References CFWorld.getdir(), and CFWorld.getdist().

Referenced by on_apply().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ indefinite()

def finding.indefinite (   ob)
Append 'a' or 'an' to the given object's name.

Definition at line 16 of file finding.py.

Referenced by auto_identify().

+ Here is the caller graph for this function:

◆ loc_to_str()

def finding.loc_to_str (   l)

Definition at line 31 of file finding.py.

References disinfect.map.

Referenced by on_apply().

+ Here is the caller graph for this function:

◆ on_apply()

def finding.on_apply ( )

Definition at line 49 of file finding.py.

References auto_identify(), describe_vec(), CFWorld.getdiff(), CFWorld.loc_from_ob(), loc_to_str(), and str_to_loc().

+ Here is the call graph for this function:

◆ str_to_loc()

def finding.str_to_loc (   s)

Definition at line 34 of file finding.py.

References guildoracle.list, and disinfect.map.

Referenced by on_apply().

+ Here is the caller graph for this function:

Variable Documentation

◆ location_key

string finding.location_key = 'finding_location'

Definition at line 13 of file finding.py.

◆ world_size

int finding.world_size = 50

Definition at line 14 of file finding.py.