示例#1
0
def __unload__():
    '''removes the hooks for character generation'''
    hooks.remove("create_character", char_gen_hook)
    hooks.remove("create_guest", guest_gen_hook)
示例#2
0
def __unload__():
    '''removes the hooks for account handling'''
    hooks.remove("receive_connection", account_handler_hook)
    hooks.remove("copyover_complete",  copyover_complete_hook)
示例#3
0
def __unload__():
    '''detaches our colour module from the game'''
    hooks.remove("process_outbound_text", process_colour_hook)
    hooks.remove("process_outbound_prompt", process_colour_hook)
def __unload__():
    '''removes the hooks for character generation'''
    hooks.remove("create_character", char_gen_hook)
    hooks.remove("create_guest",     guest_gen_hook)
示例#5
0
文件: inform.py 项目: KaSt/nereamud
def __unload__():
    """things that need to be detached when the module is un/reloaded"""
    hooks.remove("look_at_char", equipment_look_hook)
    hooks.remove("look_at_room", room_look_hook)
    hooks.remove("look_at_exit", exit_look_hook)
示例#6
0
文件: colour.py 项目: KaSt/nereamud
def __unload__():
    '''detaches our colour module from the game'''
    hooks.remove("process_outbound_text",   process_colour_hook)
    hooks.remove("process_outbound_prompt", process_colour_hook)
示例#7
0
def __unload__():
    '''things that need to be detached when the module is un/reloaded'''
    hooks.remove("look_at_char", equipment_look_hook)
    hooks.remove("look_at_room", room_look_hook)
    hooks.remove("look_at_exit", exit_look_hook)