Crossfire Server, Trunk  1.75.0
manor Namespace Reference

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()
 

Function Documentation

◆ blue_check()

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.

+ Here is the call graph for this function:

◆ blue_count_kobolds()

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().

+ Here is the caller graph for this function:

◆ challenge_correct_reply()

def manor.challenge_correct_reply (   count,
  msg 
)
Check if the reply to the challenge is correct.

Definition at line 97 of file manor.py.

Referenced by white_challenge().

+ Here is the caller graph for this function:

◆ check_arch()

def manor.check_arch (   map,
  x,
  y,
  arch 
)

Definition at line 103 of file manor.py.

Referenced by white_challenge().

+ Here is the caller graph for this function:

◆ claim_reward()

def manor.claim_reward ( )
Handle the player applying the lever to get her reward.

Definition at line 171 of file manor.py.

◆ kaptel_death()

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.

◆ politos()

def manor.politos ( )
Handle Politos's dialog in the entrance.

Definition at line 273 of file manor.py.

◆ potion_check()

def manor.potion_check ( )
Handle the Darcap Manor's potion being thrown. Check if walls to destroy in the treasure room.

Definition at line 37 of file manor.py.

◆ white_challenge()

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(), and check_arch().

+ Here is the call graph for this function:

Variable Documentation

◆ params

manor.params = Crossfire.ScriptParameters()

Definition at line 298 of file manor.py.