Crossfire Server, Trunk
|
Functions | |
def | can_talk (player, rule) |
def | check_body (player, rule) |
def | do_angry (ghost) |
def | do_dialog () |
def | do_disappear () |
def | do_timer () |
def | found_body (player, rule) |
def | start_disappear (ghost, player) |
def | warn_player (player, ghost) |
Variables | |
string | key_angry = 'ghost_angry' |
string | key_disappear = 'ghost_disappear' |
This script is part of the Witherspoon quest, that starts in /scorn/mansion/witherspoon_manor_attic. Check the README file in the same directory as this file for more details. Script for the ghost in Witherspoon manor (south-east of Scorn).
def ghost.can_talk | ( | player, | |
rule | |||
) |
Is the ghost angry or disappearing? Used for the final catch all rule so the ghost doesn't talk when angry or disappearing.
Definition at line 71 of file ghost.py.
Referenced by do_dialog().
def ghost.check_body | ( | player, | |
rule | |||
) |
def ghost.do_angry | ( | ghost | ) |
Definition at line 148 of file ghost.py.
Referenced by do_timer().
def ghost.do_dialog | ( | ) |
Main dialog routine.
Definition at line 77 of file ghost.py.
References can_talk(), and start_disappear().
Referenced by do_disappear().
def ghost.do_disappear | ( | ) |
Ghost is happy, all is fine.
Definition at line 166 of file ghost.py.
References do_dialog(), and do_timer().
Referenced by do_timer().
def ghost.do_timer | ( | ) |
Got a timer, what for?
Definition at line 157 of file ghost.py.
References do_angry(), and do_disappear().
Referenced by do_disappear().
def ghost.found_body | ( | player, | |
rule | |||
) |
Does the player have the body?
Definition at line 41 of file ghost.py.
References start_disappear(), and warn_player().
def ghost.start_disappear | ( | ghost, | |
player | |||
) |
ghost should disappear, called for 2 endings.
Definition at line 32 of file ghost.py.
Referenced by do_dialog(), and found_body().
def ghost.warn_player | ( | player, | |
ghost | |||
) |
Ghost is about to become angry, warn the player so she can flee before it's too late!
Definition at line 15 of file ghost.py.
Referenced by found_body().