CRE v1 (BG,BG2, EE)

Sorted alphabetically (sort by order in the file)

'Memorized spell' entries occur only as child entries for 'spell memorization data' entries (memorization_spell).

Main Header

For readability, sound files and status flags are listed separately.

Special keys
KeyType
abilsComma-separated list (str,int,wis,dex,con,cha)
acSets these: ac_natural,ac_effective
both_namesSets these: name_long,name_short
both_names-strrefSets these: name_long-strref,name_short-strref
colorsComma-separated list (color_metal,color_minor,color_major,color_skin,color_leather,color_armor,color_hair)
hpSets these: hp_current,hp_max
level_allSets these: level1,level2,level3
savesComma-separated list (save_vs_death,save_vs_wands,save_vs_polymorph,save_vs_breath,save_vs_spells)

Standard keys
KeyType
ac_effectiveInteger
ac_mod_crushingInteger
ac_mod_missileInteger
ac_mod_piercingInteger
ac_mod_slashingInteger
ac_naturalInteger
alignmentid lookup (alignmen)
alignment_trackingBoolean
allegianceid lookup (ea)
allegiance_trackingBoolean
animationid lookup (animate)
attacksInteger
been_in_partyBoolean
bit_13Boolean
bit_16Boolean
chaInteger
classid lookup (class)
class_trackingBoolean
color_armorInteger
color_hairInteger
color_leatherInteger
color_majorInteger
color_metalInteger
color_minorInteger
color_skinInteger
conInteger
detect_illusionInteger
dexInteger
dialogString (8 bytes)
dvString (32 bytes)
exportableBoolean
fallen_paladinBoolean
fallen_rangerBoolean
fatigueInteger
find_trapsInteger
genderid lookup (gender)
gender_trackingBoolean
generalid lookup (general)
general_trackingBoolean
hide_in_shadowsInteger
hide_injury_statusBoolean
hp_currentInteger
hp_maxInteger
ignore_nightmare_modeBoolean
intInteger
intoxicationInteger
kitid lookup (kit)
level1Integer
level2Integer
level3Integer
loreInteger
luckInteger
moraleInteger
morale_breakInteger
morale_recoveryInteger
move_silentlyInteger
moves_between_areasBoolean
name_longStrref
name_shortStrref
nightmare_mode_appliedInteger
no_corpseBoolean
no_exploding_deathBoolean
no_tooltipBoolean
original_class_clericBoolean
original_class_druidBoolean
original_class_fighterBoolean
original_class_mageBoolean
original_class_rangerBoolean
original_class_thiefBoolean
permanent_corpseBoolean
pick_locksInteger
pick_pocketsInteger
portrait_largeString (8 bytes)
portrait_smallString (8 bytes)
powerInteger
raceid lookup (race)
race_trackingBoolean
racial_enemyid lookup (race)
rep_gain_on_deathInteger
rep_gain_on_joinInteger
rep_gain_on_leaveInteger
reputationInteger
reset_bit_16Boolean
resist_acidInteger
resist_coldInteger
resist_crushingInteger
resist_electricityInteger
resist_fireInteger
resist_magicInteger
resist_magic_coldInteger
resist_magic_fireInteger
resist_missileInteger
resist_piercingInteger
resist_slashingInteger
save_vs_breathInteger
save_vs_deathInteger
save_vs_polymorphInteger
save_vs_spellsInteger
save_vs_wandsInteger
script_classString (8 bytes)
script_defaultString (8 bytes)
script_generalString (8 bytes)
script_nameString (32 bytes)
script_overrideString (8 bytes)
script_raceString (8 bytes)
set_trapsInteger
sexid lookup (gender)
show_longnameBoolean
specificsid lookup (specific)
specifics_trackingBoolean
strStrength (enter as integer or in 18/76 style)
str_baseInteger
str_exInteger
thac0Integer
trackingInteger
translucencyInteger
turn_undead_levelInteger
wisInteger
xpInteger
xp_valueInteger

Sounds
KeyType
status_acid_deathBoolean
status_aidBoolean
status_berserkBoolean
status_blessBoolean
status_blindBoolean
status_blurBoolean
status_chantBoolean
status_chantbadBoolean
status_charmedBoolean
status_confusedBoolean
status_deadBoolean
status_diseasedBoolean
status_draw_upon_holy_mightBoolean
status_exploding_deathBoolean
status_feeblemindedBoolean
status_flame_deathBoolean
status_frozen_deathBoolean
status_hastedBoolean
status_helplessBoolean
status_improvedinvisibilityBoolean
status_infravisionBoolean
status_invisibleBoolean
status_luckBoolean
status_mirrorimageBoolean
status_nondetectionBoolean
status_panicBoolean
status_poisonedBoolean
status_silencedBoolean
status_sleepingBoolean
status_slowedBoolean
status_stone_deathBoolean
status_stunnedBoolean

Known Spell (knownspell)

Standard keys
KeyType
levelInteger
resrefString (8 bytes)
typeLookup (0=Priest, 1=Wizard, 2=Innate)

Spell Memorization Data (memorization)

Standard keys
KeyType
levelInteger
typeLookup (0=Priest, 1=Wizard, 2=Innate)

Memorized Spell (memorizedspell)

'Memorized spell' entries occur only as child entries for 'spell memorization data' entries (memorization_spell)

Standard keys
KeyType
disabledBoolean
memorized[1]Boolean
resrefString (8 bytes)

Effect (fx)

Standard keys
KeyType
bypass_mirror_imageBoolean
dicenumberInteger
dicesizeInteger
durationInteger
ignore_difficultyBoolean
ignore_primary_targetBoolean
ignore_secondary_targetBoolean
opcodeInteger
parameter1Integer
parameter2Integer
parameter3Integer
parameter4Integer
parameter5Integer
parent_resourceString (8 bytes)
parent_typeLookup (0=None, 1=Spell, 2=Item)
powerInteger
primaryInteger
probability1[100]Integer
probability2Integer
resist_dispelInteger
resourceString (8 bytes)
resource2String (8 bytes)
resource3String (8 bytes)
save_bonusInteger
save_vs_breathBoolean
save_vs_poisonBoolean
save_vs_polymorphBoolean
save_vs_spellsBoolean
save_vs_wandsBoolean
sectypeInteger
specialInteger
target[1]Lookup (0=None, 1=Self, 2=PresetTarget, 3=Party, 4=Everyone, 5=EveryoneExceptParty, 6=CasterGroup, 7=TargetGroup, 8=EveryoneExceptSelf, 9=OriginalCaster)
timing[9]Lookup (0=InstantLimited, 1=InstantPermanent, 2=Equipped, 3=DelayLimited, 4=DelayPermanent, 5=DelayEquipped, 6=LimitedAfterDuration, 7=PermanentAfterDuration, 9=InstantPermanentAfterDeath)
tobex_stackingBoolean
tobex_stacking_idInteger

Item (item)

Standard keys
KeyType
charges_1Integer
charges_2Integer
charges_3Integer
durationInteger
identifiedBoolean
resrefString (8 bytes)
stolenBoolean
undroppableBoolean
unstealableBoolean

Item slot (item_slot)

Item slots are related to items in a way that core editing tools struggle with; use the bespoke lib_cre functions.

Standard keys
KeyType
itemInteger