Ejemplo n.º 1
0
def init():
    auxiliary.install(aux_types.AUX_TYPE_ENTITY, "inventory", InventoryAux)
    command.add_command("inventory", inventory_command)
    command.add_command("fit", fit_command)
    command.add_command("unfit", unfit_command)
    command.add_command("test.add_active_warp_scanner", test_add_active_warp_scanner_command)
    hook.add(hook_types.REMOVE_MOBILE, clear_inventory_hook)
Ejemplo n.º 2
0
def init():
    auxiliary.install(aux_types.AUX_TYPE_ENTITY, "warp", WarpAux)
    hook.add(hook_types.CELESTIAL_EXIT, clear_warp_scanner)
    hook.add(hook_types.STAR_SYSTEM_EXIT, clear_warp_scanner)