Crossfire Server, Trunk
|
Functions | |
def | find_food (chicken, x, y) |
def | has_floor (x, y, name) |
def | move_chicken () |
Variables | |
dictionary | eat = { 'orc\'s livers' : 5, 'orc\'s hearts' : 6, 'goblin\'s livers' : 1, 'goblin\'s hearts' : 2 } |
string | key_attacked = 'chicken_attacked' |
string | key_food = 'chicken_food' |
string | key_target = 'chicken_target' |
string | stay_on_floor = 'small_stones' |
def combat_chicken.find_food | ( | chicken, | |
x, | |||
y | |||
) |
Definition at line 29 of file combat_chicken.py.
Referenced by move_chicken().
def combat_chicken.has_floor | ( | x, | |
y, | |||
name | |||
) |
Definition at line 20 of file combat_chicken.py.
Referenced by move_chicken().
def combat_chicken.move_chicken | ( | ) |
Definition at line 39 of file combat_chicken.py.
References find_food(), CFMove.get_object_to(), has_floor(), make_face_from_files.int, and make_face_from_files.str.
dictionary combat_chicken.eat = { 'orc\'s livers' : 5, 'orc\'s hearts' : 6, 'goblin\'s livers' : 1, 'goblin\'s hearts' : 2 } |
Definition at line 17 of file combat_chicken.py.
string combat_chicken.key_attacked = 'chicken_attacked' |
Definition at line 14 of file combat_chicken.py.
string combat_chicken.key_food = 'chicken_food' |
Definition at line 13 of file combat_chicken.py.
string combat_chicken.key_target = 'chicken_target' |
Definition at line 12 of file combat_chicken.py.
string combat_chicken.stay_on_floor = 'small_stones' |
Definition at line 15 of file combat_chicken.py.