# lib_cre function library

Dependencies: install_sfo.tpa, lib_eff.tpa, lib_evaluate.tpa, lib_general.tpa, lib_internal.tpa, lib_itm.tpa, lib_kit.tpa, lib_list.tpa, lib_macro.tpa, lib_patch.tpa, lib_spl.tpa, lib_table.tpa, lib_text.tpa, lib_tools.tpa

Functions from unidentified sources: CRE_ac_effective, CRE_ac_natural, CRE_alignment, CRE_animation_code, CRE_chaGT, CRE_conGT, CRE_dexGT, CRE_hp_current, CRE_hp_currentGT, CRE_hp_max, CRE_hp_maxGT, CRE_intGT, CRE_kit_vanilla, CRE_level, CRE_level2, CRE_level3, CRE_read_alignment, CRE_read_animation_code, CRE_read_class, CRE_read_dv, CRE_read_gender, CRE_read_general, CRE_read_hp_max, CRE_read_item_resource, CRE_read_kit, CRE_read_level1, CRE_read_level2, CRE_read_level3, CRE_read_memorized_spell, CRE_read_opcode, CRE_read_parameter1, CRE_read_parameter2, CRE_read_race, CRE_read_state_dead, CRE_read_state_stone_death, CRE_resist_acid, CRE_resist_cold, CRE_resist_electricity, CRE_resist_fire, CRE_strGT, CRE_wisGT, CRE_xp_value, SPL_read_level, SPL_read_unusable_GEneutral_priest, SPL_read_unusable_LCneutral_priest, SPL_read_unusable_chaotic_priest, SPL_read_unusable_cleric, SPL_read_unusable_druid, SPL_read_unusable_evil_priest, SPL_read_unusable_good_priest, SPL_read_unusable_lawful_priest

## Description

## Public Functions

clone_creature(allow_missing:i, tv:i, silent:i, creature:s, edits:s, editstring:s)=() action

CRE_ac(arguments:s)=() patch

CRE_add_all_priest_spells()=() patch

CRE_add_items(replace:i, arguments:s)=() patch

CRE_add_known_spells(arguments:s)=() patch

CRE_add_proficiencies(arguments:s)=() patch

CRE_add_spells(arguments:s)=() patch

CRE_build()=() patch

CRE_bump_down(loc:ix248)=(value:s) patch

CRE_bump_up(loc:ix248)=(value:s) patch

CRE_check_if_moron()=(value:s) patch

CRE_colors(arguments:s)=() patch

CRE_deduplicate_items()=() patch

CRE_delete_opcodes(arguments:s)=() patch

CRE_enforce_animation(arguments:s)=() patch

CRE_enforce_class(arguments:s)=() patch

CRE_enforce_hp(arguments:s)=() patch

CRE_enforce_saves(arguments:s)=() patch

CRE_enforce_script_order(arguments:s)=() patch

CRE_enforce_thac0(arguments:s)=() patch

CRE_enforce_xp()=() patch

CRE_find_highest_spell_level(arguments:s=mage)=(value:s) patch

CRE_first_gap_above(loc:ix248)=(value:s) patch

CRE_first_gap_below(loc:ix248)=(value:s) patch

CRE_gender(arguments:s)=() patch

CRE_has_spell(arguments:s)=(value:s) patch

CRE_hitpoints(arguments:s)=() patch

CRE_hitpointsGT(arguments:s)=() patch

CRE_immunity(arguments:s)=() patch

CRE_immunity_to_animation(arguments:s)=() patch

CRE_immunity_to_icon(arguments:s)=() patch

CRE_immunity_to_opcode(arguments:s)=() patch

CRE_immunity_to_spell(spellname:s, spellcode:s, arguments:s)=() patch

CRE_immunity_to_string(arguments:s)=() patch

CRE_insert_script(arguments:s)=(new_loc:s) patch

CRE_insert_script_above(arguments:s)=() patch

CRE_insert_script_below(arguments:s)=() patch

CRE_insert_script_high(arguments:s)=() patch

CRE_insert_script_low(arguments:s)=() patch

CRE_insert_script_second(arguments:s)=() patch

CRE_invert_scripts(arguments:s)=() patch

CRE_is_chaotic()=(value:s) patch

CRE_is_dead()=(value:s) patch

CRE_is_evil()=(value:s) patch

CRE_is_geneutral()=(value:s) patch

CRE_is_good()=(value:s) patch

CRE_is_innocent()=(value:s) patch

CRE_is_lawful()=(value:s) patch

CRE_is_lcneutral()=(value:s) patch

CRE_is_PC()=(value:s) patch

CRE_is_thief()=(value:s) patch

CRE_is_warrior(class:s=UNKNOWN)=(value:s) patch

CRE_kit(arguments:s)=() patch

CRE_level_all(arguments:s)=() patch

CRE_level_by_class(arguments:s)=() patch

CRE_locate_script(script:s)=(value:s) patch

CRE_log_me(arguments:s)=() patch

CRE_make_casting_innate(arguments:s)=() patch

CRE_make_casting_instant(arguments:s)=() patch

CRE_make_chaotic()=(value:s) patch

CRE_make_evil()=(value:s) patch

CRE_make_geneutral()=(value:s) patch

CRE_make_good()=(value:s) patch

CRE_make_lawful()=(value:s) patch

CRE_make_lcneutral()=(value:s) patch

CRE_match_script(arguments:s)=(value:s) patch

CRE_movement(arguments:s)=() patch

CRE_original_class(arguments:s)=() patch

CRE_postbuild()=() patch

CRE_read_item_in_slot(arguments:s)=(value:s) patch

CRE_read_original_class()=(value:s) patch

CRE_read_proficiency(arguments:s)=(value:s) patch

CRE_remove_items(arguments:s)=() patch

CRE_remove_spell(arguments:s)=() patch

CRE_remove_spell_of_type(skip_hidden:i, known_only:i, arguments:s)=() patch

CRE_remove_spells(arguments:s)=() patch

CRE_replace_items(arguments:s)=() patch

CRE_saves(arguments:s)=() patch

CRE_say_both_names(arguments:s)=() patch

CRE_say_name(arguments:s)=() patch

CRE_say_sounds(arguments:s)=() patch

CRE_say_sounds_literal(arguments:s)=() patch

CRE_say_unidentified_name(arguments:s)=() patch

CRE_set_both_names(arguments:s)=() patch

CRE_set_name(arguments:s)=() patch

CRE_set_proficiencies(arguments:s)=() patch

CRE_set_unidentified_name(arguments:s)=() patch

CRE_steal_colors_from(arguments:s)=() patch

CRE_steal_sounds_from(arguments:s)=() patch

CRE_strip_script(arguments:s)=() patch

CRE_swap_items(arguments:s)=() patch

CRE_swap_script(arguments:s)=() patch

CRE_wipe_proficiencies(arguments:s)=() patch

edit_all_creatures(edits:s, editstring:s)=() action

edit_creature(allow_missing:i, tv:i, silent:i, creature:s, file:s, edits:s, editstring:s, location:s, locbase:s, locabs:s)=() action

install_creature(allow_missing:i, tv:i, silent:i, creature:s, edits:s, editstring:s, location:s, locbase:s)=() action

kit_softcode patch_macro

make_creature(creature:s, edits:s, editstring:s)=() action

make_dualclass_legal(original_class:s, final_class:s, creature:s)=() action

QUICK_ADD_SPELL(as_known:i, ~spellname~:s)=() patch

spell_use_script_check(type:i, script:s, log:s="spells_unused.txt", filename:s)=() patch

spell_use_script_check_batch(type:i, prefix:s)=() action

wipe_soundset(arguments:s)=() patch