# ui_deolvynize function library

Dependencies: alter_effect, ds, lib_2da, lib_2daq, lib_anon, lib_array, lib_class, lib_cre, lib_data, lib_eff, lib_fn, lib_ids, lib_ietool, lib_ini, lib_kit, lib_script, lib_sfo, lib_spl, lib_splconv, lib_ssl, lib_struct, lib_sugar, lib_tools, lib_ui, lib_vtable, resolve_spell, ui_add_subraces, ui_bonus_spells, ui_detect_class_kit, ui_dual_class_kits, ui_externalize_hlas, ui_externalize_proficiencies, ui_extra_spells, ui_on_open, ui_shared_code, ui_spell_system, ui_system_call, ui_virtual_class

## Description

This attempts to reverse the effect of OlvynChuru's ClassSpellTool function on menu.ui and to move all spells added by ClassSpellTools to the SFO-lua system. It's not been extensively tested in the wild.

## Public functions

ui_deolvynize()=(value:s) action

This attempts to reverse the effect of OlvynChuru's ClassSpellTool function on menu.ui and to move all spells added by ClassSpellTools to the SFO-lua system. It's not been extensively tested in the wild.

Idempotent (you can run it as many times as you like).

## Internal functions

These should not be called from outside the library itself.

deolvynize_add_spells()=() action

deolvynize_choose_spells_open()=() patch

deolvynize_clab()=() action

deolvynize_contingency()=() action

deolvynize_hla()=() patch

deolvynize_hla_menu()=() action

This removes the HLA-related me_spells tweaks to ui.menu

deolvynize_magebookenabled()=() patch

deolvynize_parse_spell_list()=(exclude_all_mage:s, exclude_all_priest:s, olvyn_array:a, olvyn_spells:a) action

deolvynize_process_kit_include(autogroup_index:i=1, kit_list:s)=(spell_list:s, autogroup_index:s, spell_list_used:s, deolvynize_spell_lists:a) dimorphic