Crossfire Server, Trunk
|
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 |
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().
positioning_system.Food |
Definition at line 38 of file positioning_system.py.
positioning_system.gps = Crossfire.WhoAmI() |
Definition at line 11 of file positioning_system.py.
positioning_system.HP |
Definition at line 36 of file positioning_system.py.
positioning_system.map = player.Map |
Definition at line 12 of file positioning_system.py.
int positioning_system.map_x = int( coord[ 1 ] ) - 99 |
Definition at line 30 of file positioning_system.py.
int positioning_system.map_y = int( coord[ 2 ] ) - 99 |
Definition at line 31 of file positioning_system.py.
positioning_system.marked = player.MarkedItem |
Definition at line 21 of file positioning_system.py.
Referenced by cast_item_curse_or_bless(), identify_altar_type_move_on(), and inscribe_scroll_cmd().
positioning_system.path = map.Path |
Definition at line 17 of file positioning_system.py.
positioning_system.player = Crossfire.WhoIsActivator() |
Definition at line 10 of file positioning_system.py.
positioning_system.SP |
Definition at line 37 of file positioning_system.py.
positioning_system.world_len = len( world_prefix ) + len( 'xxx_xxx' ) |
Definition at line 4 of file positioning_system.py.
int positioning_system.world_map_size = 50 |
Definition at line 6 of file positioning_system.py.
string positioning_system.world_prefix = '/world/world_' |
Definition at line 3 of file positioning_system.py.
string positioning_system.world_sep = '_' |
Definition at line 5 of file positioning_system.py.
int positioning_system.x = map_x * world_map_size + player.X |
Definition at line 32 of file positioning_system.py.
int positioning_system.y = map_y * world_map_size + player.Y |
Definition at line 33 of file positioning_system.py.