Crossfire Server, Trunk
positioning_system Namespace Reference

Variables

 coord = path.split( world_sep )
 
 Food
 
 gps = Crossfire.WhoAmI()
 
 HP
 
 map = player.Map
 
int map_x = int( coord[ 1 ] ) - 99
 
int map_y = int( coord[ 2 ] ) - 99
 
 marked = player.MarkedItem
 
 path = map.Path
 
 player = Crossfire.WhoIsActivator()
 
 SP
 
 world_len = len( world_prefix ) + len( 'xxx_xxx' )
 
int world_map_size = 50
 
string world_prefix = '/world/world_'
 
string world_sep = '_'
 
int x = map_x * world_map_size + player.X
 
int y = map_y * world_map_size + player.Y
 

Variable Documentation

◆ coord

positioning_system.coord = path.split( world_sep )

Definition at line 26 of file positioning_system.py.

Referenced by check_space_for_heads(), draw_client_map2(), and handle_scroll().

◆ Food

positioning_system.Food

Definition at line 38 of file positioning_system.py.

◆ gps

positioning_system.gps = Crossfire.WhoAmI()

Definition at line 11 of file positioning_system.py.

◆ HP

positioning_system.HP

Definition at line 36 of file positioning_system.py.

◆ map

positioning_system.map = player.Map

Definition at line 12 of file positioning_system.py.

◆ map_x

int positioning_system.map_x = int( coord[ 1 ] ) - 99

Definition at line 30 of file positioning_system.py.

◆ map_y

int positioning_system.map_y = int( coord[ 2 ] ) - 99

Definition at line 31 of file positioning_system.py.

◆ marked

positioning_system.marked = player.MarkedItem

◆ path

positioning_system.path = map.Path

Definition at line 17 of file positioning_system.py.

◆ player

positioning_system.player = Crossfire.WhoIsActivator()

Definition at line 10 of file positioning_system.py.

◆ SP

positioning_system.SP

Definition at line 37 of file positioning_system.py.

◆ world_len

positioning_system.world_len = len( world_prefix ) + len( 'xxx_xxx' )

Definition at line 4 of file positioning_system.py.

◆ world_map_size

int positioning_system.world_map_size = 50

Definition at line 6 of file positioning_system.py.

◆ world_prefix

string positioning_system.world_prefix = '/world/world_'

Definition at line 3 of file positioning_system.py.

◆ world_sep

string positioning_system.world_sep = '_'

Definition at line 5 of file positioning_system.py.

◆ x

int positioning_system.x = map_x * world_map_size + player.X

Definition at line 32 of file positioning_system.py.

◆ y

int positioning_system.y = map_y * world_map_size + player.Y

Definition at line 33 of file positioning_system.py.