Crossfire Server, Trunk
roll-o-matic Namespace Reference

Functions

def abs_dir (d)
 
def do_handle ()
 
def find_floor (x, y)
 
def find_player ()
 
def handle_move ()
 
def handle_say ()
 
def has_floor (x, y, name)
 
def stop ()
 

Variables

list dir_x = [ 0, 0, 1, 1, 1, 0, -1, -1, -1 ]
 
list dir_y = [ 0, -1, -1, 0, 1, 1, 1, 0, -1 ]
 
 evt = Crossfire.WhatIsEvent()
 
string key_direction = 'rom_dir'
 
string key_follow = 'rom_follow'
 
 me = Crossfire.WhoAmI()
 
 pl = Crossfire.WhoIsActivator()
 

Function Documentation

◆ abs_dir()

def roll-o-matic.abs_dir (   d)

Definition at line 42 of file roll-o-matic.py.

Referenced by handle_move().

+ Here is the caller graph for this function:

◆ do_handle()

def roll-o-matic.do_handle ( )

Definition at line 110 of file roll-o-matic.py.

References handle_move(), and handle_say().

+ Here is the call graph for this function:

◆ find_floor()

def roll-o-matic.find_floor (   x,
  y 
)

Definition at line 17 of file roll-o-matic.py.

Referenced by handle_say().

+ Here is the caller graph for this function:

◆ find_player()

def roll-o-matic.find_player ( )

Definition at line 25 of file roll-o-matic.py.

Referenced by handle_move().

+ Here is the caller graph for this function:

◆ handle_move()

def roll-o-matic.handle_move ( )

Definition at line 54 of file roll-o-matic.py.

References abs_dir(), find_player(), has_floor(), make_face_from_files.int, stop(), and make_face_from_files.str.

Referenced by do_handle().

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

◆ handle_say()

def roll-o-matic.handle_say ( )

Definition at line 83 of file roll-o-matic.py.

References find_floor(), stop(), and make_face_from_files.str.

Referenced by do_handle().

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

◆ has_floor()

def roll-o-matic.has_floor (   x,
  y,
  name 
)

Definition at line 33 of file roll-o-matic.py.

Referenced by handle_move().

+ Here is the caller graph for this function:

◆ stop()

def roll-o-matic.stop ( )

Definition at line 49 of file roll-o-matic.py.

Referenced by check_pick(), forbid_play(), handle_move(), handle_say(), object_find_free_spot(), object_insert_to_free_spot_or_free(), and send_image_sums().

+ Here is the caller graph for this function:

Variable Documentation

◆ dir_x

list roll-o-matic.dir_x = [ 0, 0, 1, 1, 1, 0, -1, -1, -1 ]

Definition at line 14 of file roll-o-matic.py.

◆ dir_y

list roll-o-matic.dir_y = [ 0, -1, -1, 0, 1, 1, 1, 0, -1 ]

Definition at line 15 of file roll-o-matic.py.

◆ evt

roll-o-matic.evt = Crossfire.WhatIsEvent()

Definition at line 120 of file roll-o-matic.py.

Referenced by get_npc().

◆ key_direction

string roll-o-matic.key_direction = 'rom_dir'

Definition at line 11 of file roll-o-matic.py.

◆ key_follow

string roll-o-matic.key_follow = 'rom_follow'

Definition at line 12 of file roll-o-matic.py.

◆ me

roll-o-matic.me = Crossfire.WhoAmI()

Definition at line 121 of file roll-o-matic.py.

◆ pl

roll-o-matic.pl = Crossfire.WhoIsActivator()

Definition at line 122 of file roll-o-matic.py.