def __unload__(): '''removes the hooks for character generation''' hooks.remove("create_character", char_gen_hook) hooks.remove("create_guest", guest_gen_hook)
def __unload__(): '''removes the hooks for account handling''' hooks.remove("receive_connection", account_handler_hook) hooks.remove("copyover_complete", copyover_complete_hook)
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__(): """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)
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)