Crossfire Server, Trunk
farnass Namespace Reference

Functions

def check_ingredients ()
 
def clean_check ()
 
def close_boiler ()
 
def cook_talk ()
 
def end_cooking (success)
 
def move_cook ()
 

Variables

 color = Crossfire.MessageFlag.NDI_GREEN
 
int eggs_count = 4
 
int failure_chance = 15
 
string key_cooking_step = 'cooking_step'
 
string key_need_check = 'check_ingredients'
 
string key_status = 'cook_status'
 
string quest_name = "wolfsburg/Lursendis"
 
string recipe_arch = 'caramel'
 
int recipient_x = 5
 
int recipient_y = 10
 
string st_cooking = 'cooking'
 
string st_getting = 'getting'
 
string st_stove = 'stove'
 
int stove_x = 6
 
int stove_y = 10
 
 whoami = Crossfire.WhoAmI()
 

Function Documentation

◆ check_ingredients()

def farnass.check_ingredients ( )
Finds the ingredients in the recipient. Used when recipient is closed, and when Farnass
 arrives on the recipient (to avoid player picking up items)

Definition at line 40 of file farnass.py.

Referenced by move_cook().

+ Here is the caller graph for this function:

◆ clean_check()

def farnass.clean_check ( )
Cancel next check.

Definition at line 117 of file farnass.py.

Referenced by move_cook().

+ Here is the caller graph for this function:

◆ close_boiler()

def farnass.close_boiler ( )
Just tell the cook to check next time.

Definition at line 113 of file farnass.py.

◆ cook_talk()

def farnass.cook_talk ( )

Definition at line 183 of file farnass.py.

◆ end_cooking()

def farnass.end_cooking (   success)
Everything is finish, let's decide if cooking was successful or not.

Definition at line 89 of file farnass.py.

Referenced by move_cook().

+ Here is the caller graph for this function:

◆ move_cook()

def farnass.move_cook ( )
Main moving routine.

Definition at line 123 of file farnass.py.

References check_ingredients(), clean_check(), end_cooking(), CFMove.get_object_to(), make_face_from_files.int, and make_face_from_files.str.

+ Here is the call graph for this function:

Variable Documentation

◆ color

Definition at line 30 of file farnass.py.

◆ eggs_count

int farnass.eggs_count = 4

Definition at line 33 of file farnass.py.

◆ failure_chance

int farnass.failure_chance = 15

Definition at line 34 of file farnass.py.

◆ key_cooking_step

string farnass.key_cooking_step = 'cooking_step'

Definition at line 26 of file farnass.py.

◆ key_need_check

string farnass.key_need_check = 'check_ingredients'

Definition at line 28 of file farnass.py.

◆ key_status

string farnass.key_status = 'cook_status'

Definition at line 21 of file farnass.py.

◆ quest_name

string farnass.quest_name = "wolfsburg/Lursendis"

Definition at line 19 of file farnass.py.

◆ recipe_arch

string farnass.recipe_arch = 'caramel'

Definition at line 32 of file farnass.py.

◆ recipient_x

int farnass.recipient_x = 5

Definition at line 35 of file farnass.py.

◆ recipient_y

int farnass.recipient_y = 10

Definition at line 36 of file farnass.py.

◆ st_cooking

string farnass.st_cooking = 'cooking'

Definition at line 24 of file farnass.py.

◆ st_getting

string farnass.st_getting = 'getting'

Definition at line 22 of file farnass.py.

◆ st_stove

string farnass.st_stove = 'stove'

Definition at line 23 of file farnass.py.

◆ stove_x

int farnass.stove_x = 6

Definition at line 37 of file farnass.py.

◆ stove_y

int farnass.stove_y = 10

Definition at line 38 of file farnass.py.

◆ whoami

farnass.whoami = Crossfire.WhoAmI()

Definition at line 283 of file farnass.py.