Crossfire Server, Trunk
rolanda Namespace Reference

Functions

def do_give ()
 
def explain ()
 
def move_to_chair ()
 
def search_chair ()
 

Variables

 color = Crossfire.MessageFlag.NDI_BROWN
 
 command = Crossfire.WhatIsMessage()
 
 event = Crossfire.WhatIsEvent()
 
 pl = Crossfire.WhoIsActivator()
 
list search_chairs = [ [ 0, -1 ], [ 0, 1 ], [ -1, 0 ], [ 1, 0 ] ]
 
 whoami = Crossfire.WhoAmI()
 
 whoisother = Crossfire.WhoIsOther()
 

Detailed Description

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 Rolanda, in /scorn/houses/rolanda.

Support to be called for TIME, TIMER and CUSTOM events.

Function Documentation

◆ do_give()

def rolanda.do_give ( )
handle the player giving an item.

Definition at line 27 of file rolanda.py.

Referenced by explain().

+ Here is the caller graph for this function:

◆ explain()

def rolanda.explain ( )
explanation of the ghost story. Let Rolanda be still from now on.

Definition at line 66 of file rolanda.py.

References do_give(), move_to_chair(), and search_chair().

+ Here is the call graph for this function:

◆ move_to_chair()

def rolanda.move_to_chair ( )
trying to move to first found chair.

Definition at line 54 of file rolanda.py.

References CFMove.get_object_to(), and make_face_from_files.int.

Referenced by explain().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ search_chair()

def rolanda.search_chair ( )
if fainting, try to find a chair when TIME happens.

Definition at line 39 of file rolanda.py.

References make_face_from_files.str.

Referenced by explain().

+ Here is the caller graph for this function:

Variable Documentation

◆ color

Definition at line 22 of file rolanda.py.

◆ command

rolanda.command = Crossfire.WhatIsMessage()

Definition at line 16 of file rolanda.py.

◆ event

rolanda.event = Crossfire.WhatIsEvent()

Definition at line 17 of file rolanda.py.

◆ pl

rolanda.pl = Crossfire.WhoIsActivator()

Definition at line 18 of file rolanda.py.

◆ search_chairs

list rolanda.search_chairs = [ [ 0, -1 ], [ 0, 1 ], [ -1, 0 ], [ 1, 0 ] ]

Definition at line 25 of file rolanda.py.

◆ whoami

rolanda.whoami = Crossfire.WhoAmI()

Definition at line 14 of file rolanda.py.

◆ whoisother

rolanda.whoisother = Crossfire.WhoIsOther()

Definition at line 15 of file rolanda.py.