Crossfire Server, Trunk
banquet Namespace Reference

Functions

def do_back ()
 
def do_banquet ()
 
def get_one (what)
 
def return_to_bed ()
 

Variables

 act = Crossfire.WhoIsActivator()
 
list floors = [ 'woodfloor', 'flagstone', 'dirtfloor' ]
 
list foods = [ 'fishfood', 'food', 'bag_popcorn', 'apple', 'cheeseburger', 'loaf', 'tomato', 'waybread', 'roast_bird', 'orange', 'leg_mutton' ]
 
 l = Crossfire.WhoAmI()
 
list replace_with = [ 'd_statue', 'statue', 'statue2' ]
 
int size_x = 15
 
int size_y = 15
 
list walls = [ 'flagstone', 'dwall', 'timberwall', 'stwall' ]
 

Function Documentation

◆ do_back()

def banquet.do_back ( )
Teleport the player back to his starting point.

Definition at line 54 of file banquet.py.

References make_face_from_files.int, and return_to_bed().

+ Here is the call graph for this function:

◆ do_banquet()

def banquet.do_banquet ( )
Teleports the player to the banquet map, if not used since one day. 

Definition at line 92 of file banquet.py.

References get_one(), make_face_from_files.int, and make_face_from_files.str.

+ Here is the call graph for this function:

◆ get_one()

def banquet.get_one (   what)
Return a random choice in what, which should be an array.

Definition at line 36 of file banquet.py.

Referenced by do_banquet().

+ Here is the caller graph for this function:

◆ return_to_bed()

def banquet.return_to_bed ( )
Teleport player back to bed of reality. Only in emergency.

Definition at line 40 of file banquet.py.

Referenced by do_back().

+ Here is the caller graph for this function:

Variable Documentation

◆ act

banquet.act = Crossfire.WhoIsActivator()

Definition at line 165 of file banquet.py.

◆ floors

list banquet.floors = [ 'woodfloor', 'flagstone', 'dirtfloor' ]

Definition at line 29 of file banquet.py.

Referenced by apply_by_living_below().

◆ foods

list banquet.foods = [ 'fishfood', 'food', 'bag_popcorn', 'apple', 'cheeseburger', 'loaf', 'tomato', 'waybread', 'roast_bird', 'orange', 'leg_mutton' ]

Definition at line 27 of file banquet.py.

◆ l

◆ replace_with

list banquet.replace_with = [ 'd_statue', 'statue', 'statue2' ]

Definition at line 34 of file banquet.py.

◆ size_x

int banquet.size_x = 15

Definition at line 23 of file banquet.py.

Referenced by command_create().

◆ size_y

int banquet.size_y = 15

Definition at line 24 of file banquet.py.

Referenced by command_create().

◆ walls

list banquet.walls = [ 'flagstone', 'dwall', 'timberwall', 'stwall' ]

Definition at line 31 of file banquet.py.