spell_system_extension function library

Dependencies: alter_effect, lib_ui, ui_detect_class_kit.tpa

Description

Functions

add_to_clab_level_1(clab:s, spell:s)=() dimorphic

Lightweight adder that just adds the spell to a CLAB file

extended_add_spell(force_extended:i, force_addition:i, id:s, path:s)=(resref:s) action

extended_add_spell_helper(force_extended:i, level:i, type_num:i, type:s, id:s)=(resref:s) action

extended_spell_test()=() action

This just copies 10 spells of each level into the 51-55 and extended namespaces, for testing. It also makes the Sunscorch copy (SPPR1A5) good-only

install_extended_spell_functions()=() action

Add the LUA functions and menu edits to enable extended spells. (We're going to chance doing this just by REPLACE_TEXTUALLY.)

load_vanilla_high_spells()=(vanilla_high_spells:a) action

This just loads a hardcoded list of hidden spells in the 50-99 namespace.

make_extended_spell_line(add_to_clab:i, resref:s)=(line:s, no_align_restrictions:s, lua_array:s, class_bar:a, kit_bar:a, align_bar:a) patch

process_extended_spells()=() action

Get the extended-namespace spells into lua and into auto-grant spells.

spell_system_extension_setup()=() action

Internal functions

These should not be called from outside the library itself.

extended_spell_test_helper()=() patch