# ui_spell_system_schools 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_deolvynize, 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 is an auxiliary library to ui_spell_system, that sets up the schools of magic

## Public functions

ui_spell_system_schools(force_rebuild:b, tra:s=sfo_lua, tra_path:s="DEFAULT")=() action

Sets up the spell system to include all the schools of magic as defined spell lists.

## Internal functions

These should not be called from outside the library itself.

adjust_multischool_spells()=() action

adjust_this_multischool_spell(old_desc:i, new_desc:i, ids:s)=() action