Crossfire Server, Trunk
|
Functions | |
def | blue_check () |
def | blue_count_kobolds () |
def | challenge_correct_reply (count, msg) |
def | check_arch (map, x, y, arch) |
def | claim_reward () |
def | kaptel_death () |
def | politos () |
def | potion_check () |
def | white_challenge () |
Variables | |
params = Crossfire.ScriptParameters() | |
def manor.blue_check | ( | ) |
Player triggered the lever, check if correct number of kobolds.
Definition at line 29 of file manor.py.
References blue_count_kobolds(), and receive.Message.
def manor.blue_count_kobolds | ( | ) |
Count the number of kobolds on the map for the blue zone.
Definition at line 14 of file manor.py.
Referenced by blue_check().
def manor.challenge_correct_reply | ( | count, | |
msg | |||
) |
Check if the reply to the challenge is correct.
Definition at line 97 of file manor.py.
References make_face_from_files.int.
Referenced by white_challenge().
def manor.check_arch | ( | map, | |
x, | |||
y, | |||
arch | |||
) |
Definition at line 103 of file manor.py.
Referenced by white_challenge().
def manor.claim_reward | ( | ) |
Handle the player applying the lever to get her reward.
Definition at line 171 of file manor.py.
References make_face_from_files.int, and make_face_from_files.str.
def manor.kaptel_death | ( | ) |
Handle Kaptel's death event. Depending on whether the player triggered the lever, either prevent death or trigger the opening of the exit.
Definition at line 77 of file manor.py.
References make_face_from_files.int.
def manor.politos | ( | ) |
def manor.potion_check | ( | ) |
def manor.white_challenge | ( | ) |
Say handler for the final white challenge. Player must know how many jewel piles of a certain kind were on the map, else failure.
Definition at line 112 of file manor.py.
References challenge_correct_reply(), check_arch(), make_face_from_files.int, and make_face_from_files.str.