Пример #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)
Пример #4
0
def __unload__():
    '''removes the hooks for character generation'''
    hooks.remove("create_character", char_gen_hook)
    hooks.remove("create_guest",     guest_gen_hook)
Пример #5
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)
Пример #6
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)
Пример #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)