Crossfire Server, Trunk
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.

References make_face_from_files.int.

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 168 of file manor.py.

References make_face_from_files.int, and make_face_from_files.str.

◆ 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.

References make_face_from_files.int.

◆ politos()

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

Definition at line 270 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(), check_arch(), make_face_from_files.int, and make_face_from_files.str.

+ Here is the call graph for this function:

Variable Documentation

◆ params

manor.params = Crossfire.ScriptParameters()

Definition at line 295 of file manor.py.

Referenced by add_exit_to_item(), basic_emote(), cfanim_runPluginCommand(), command_abil(), command_accountpasswd(), command_accuse(), command_addexp(), command_afk(), command_apply(), command_applymode(), command_arrest(), command_banish(), command_beg(), command_bleed(), command_blush(), command_body(), command_bounce(), command_bow(), command_bowmode(), command_brace(), command_burp(), command_cackle(), command_cast(), command_cast_spell(), command_chat(), command_chuckle(), command_clap(), command_cointoss(), command_cough(), command_create(), command_cringe(), command_cry(), command_dance(), command_debug(), command_delete(), command_diff(), command_disarm(), command_dm(), command_dmhide(), command_dmtell(), command_drop(), command_dropall(), command_dump(), command_dumpabove(), command_dumpallarchetypes(), command_dumpallmaps(), command_dumpallobjects(), command_dumpbelow(), command_dumpfriendlyobjects(), command_dumpmap(), command_east(), command_empty(), command_examine(), command_face(), command_fire(), command_fire_stop(), command_fix_me(), command_flip(), command_follow(), command_forget_spell(), command_free(), command_freeze(), command_frown(), command_gasp(), command_giggle(), command_glare(), command_goto(), command_grin(), command_groan(), command_growl(), command_gsay(), command_help(), command_hiccup(), command_hide(), command_hiscore(), command_hug(), command_insert_into(), command_inventory(), command_invisible(), command_invoke(), command_kick(), command_kick2(), command_kill_pets(), command_kiss(), command_knowledge(), command_language(), command_laugh(), command_learn_special_prayer(), command_learn_spell(), command_learn_spell_or_prayer(), command_lick(), command_listen(), command_listplugins(), command_loadplugin(), command_loadtest(), command_lock_item(), command_malloc(), command_mapinfo(), command_maps(), command_mark(), command_me(), command_mon_aggr(), command_motd(), command_news(), command_nod(), command_north(), command_northeast(), command_northwest(), command_nowiz(), command_overlay_reset(), command_overlay_save(), command_party(), command_party_rejoin(), command_passwd(), command_patch(), command_peaceful(), command_petmode(), command_pickup(), command_players(), command_poke(), command_possess(), command_pout(), command_prepare(), command_printlos(), command_puke(), command_quest(), command_quit(), command_remove(), command_rename_item(), command_reply(), command_reset(), command_resistances(), command_rotateshoottype(), command_rskill(), command_rules(), command_run(), command_run_stop(), command_save(), command_say(), command_scream(), command_search(), command_search_items(), command_setgod(), command_shake(), command_shiver(), command_shout(), command_showpets(), command_shrug(), command_shutdown(), command_sigh(), command_skills(), command_slap(), command_smile(), command_smirk(), command_snap(), command_sneeze(), command_snicker(), command_sniff(), command_snore(), command_sound(), command_south(), command_southeast(), command_southwest(), command_speed(), command_spit(), command_ssdumptable(), command_stack_clear(), command_stack_list(), command_stack_pop(), command_stack_push(), command_statistics(), command_stats(), command_stay(), command_strings(), command_strut(), command_style_map_info(), command_sulk(), command_summon(), command_take(), command_teleport(), command_tell(), command_tell_all(), command_thank(), command_think(), command_throw(), command_time(), command_title(), command_toggle_shout(), command_twiddle(), command_unarmed_skill(), command_unloadplugin(), command_use(), command_usekeys(), command_uskill(), command_version(), command_wave(), command_west(), command_whereabouts(), command_whereami(), command_whistle(), command_who(), command_wimpy(), command_wink(), command_wizcast(), command_wizpass(), command_yawn(), do_skill_by_number(), do_tell(), do_wizard_dm(), find_best_apply_object_match(), find_best_object_match(), find_object_both(), get_dm_object(), knowledge_display(), knowledge_do_attempt(), knowledge_show(), CREMapInformationManager.loadCache(), make_matcher(), matcher_all(), matcher_name(), matcher_number(), matcher_pickup_type(), move_internal(), python_command_function(), request_info_cmd(), send_class_info(), send_image_sums(), send_race_info(), send_skill_info(), set_body_info(), set_move(), show_matching_spells(), CREMapInformationManager.storeCache(), and write_on_item().