# ARE v1 (all games except IWD2)

Sorted alphabetically (sort by order in the file)

'Vertex' headers occur only as child entries for other headers: containers ('container_vertex'), regions ('region_vertex') and, four times, doors ('door_open_vertex', 'door_closed_vertex', 'door_impeded_open_vertex', 'door_impeded_closed_vertex. 'Item' headers occur only as child entries for 'container' headers ('container_item').

## Main Header

Standard keys

Key | Type
--- | ---
area_east | String (8 bytes)
area_north | String (8 bytes)
area_script | String (8 bytes)
area_south | String (8 bytes)
area_west | String (8 bytes)
can_rest_outdoors | Boolean
dead_magic_zone | Boolean
dream_area | Boolean
east_party_enabled | Boolean
east_party_required | Boolean
fog_probability | Integer
has_day_night | Boolean
has_extended_night | Boolean
has_weather | Boolean
is_city | Boolean
is_dungeon | Boolean
is_forest | Boolean
lightning_probability | Integer
north_party_enabled | Boolean
north_party_required | Boolean
outdoors | Boolean
overlay_transparency | Integer
player1_can_die | Boolean
rain_probability | Integer
rest_movie_day | String (8 bytes)
rest_movie_night | String (8 bytes)
rest_not_allowed | Boolean
save_not_allowed | Boolean
snow_probability | Integer
south_party_enabled | Boolean
south_party_required | Boolean
travel_not_allowed | Boolean
tutorial_area | Boolean
wed | String (8 bytes)
west_party_enabled | Boolean
west_party_required | Boolean

## Actor (actor)

'animation', if unspecified, is automatically set by SFO to the animation of the creature in 'resref'. For readability, the flags controlling when a creature is active are listed separately.

Special keys

Key | Type
--- | ---
x | Sets these: x_start,x_dest
y | Sets these: y_start,y_dest

Standard keys

Key | Type
--- | ---
animation | id lookup (animate)
cre_not_attached[1] | Boolean
dialog | String (8 bytes)
face | id lookup (dir)
follow_distance | Integer
has_seen_party | Boolean
invulnerable | Boolean
name | String (32 bytes)
override_script_name | Boolean
removal_timer[-1] | Integer
resref | String (8 bytes)
script_class | String (8 bytes)
script_default | String (8 bytes)
script_general | String (8 bytes)
script_override | String (8 bytes)
script_race | String (8 bytes)
script_specific | String (8 bytes)
wander_distance | Integer
x_dest | Integer
x_start | Integer
y_dest | Integer
y_start | Integer

Active-time flags

Key | Type
--- | ---
hour_0[1] | Boolean
hour_10[1] | Boolean
hour_11[1] | Boolean
hour_12[1] | Boolean
hour_13[1] | Boolean
hour_14[1] | Boolean
hour_15[1] | Boolean
hour_16[1] | Boolean
hour_17[1] | Boolean
hour_18[1] | Boolean
hour_19[1] | Boolean
hour_1[1] | Boolean
hour_20[1] | Boolean
hour_21[1] | Boolean
hour_22[1] | Boolean
hour_23[1] | Boolean
hour_2[1] | Boolean
hour_3[1] | Boolean
hour_4[1] | Boolean
hour_5[1] | Boolean
hour_6[1] | Boolean
hour_7[1] | Boolean
hour_8[1] | Boolean
hour_9[1] | Boolean
hours | Integer

## Region (region)

Region headers are info triggers, proximity triggers (i.e. traps), and travel triggers.

Special keys

Key | Type
--- | ---
alt | Comma-separated list (alt_x,alt_y)
box | Comma-separated list (box_left,box_right,box_top,box_bottom)
launch | Comma-separated list (launch_x,launch_y)
pst_talk | Comma-separated list (pst_talk_x,pst_talk_y)

Standard keys

Key | Type
--- | ---
alt_x | Integer
alt_y | Integer
alternative_point | Boolean
anyone_activates | Boolean
box_bottom | Integer
box_left | Integer
box_right | Integer
box_top | Integer
cursor | Integer
deactivated | Boolean
destination | String (8 bytes)
detectable | Boolean
detection_difficulty | Integer
door_closed | Boolean
entrance | String (32 bytes)
info | Strref
is_detected | Integer
is_trapped | Integer
key | String (8 bytes)
key_required | Boolean
launch_x | Integer
launch_y | Integer
name | String (32 bytes)
no_string | Boolean
npc_activates | Boolean
party_only | Boolean
party_required | Boolean
pst_dialog | String (8 bytes)
pst_sound | String (8 bytes)
pst_speaker_name | Strref
pst_talk_x | Integer
pst_talk_y | Integer
removal_difficulty | Integer
reset_trap | Boolean
script | String (8 bytes)
tutorial_only | Boolean
type | Lookup (0=Trap, 1=Info, 2=Travel)
value | Integer

## Spawn Point (spawn_point)

For readability, the flags controlling when a spawn point is active are listed separately.

Standard keys

Key | Type
--- | ---
base_number | Integer
count | Integer
countdown | Integer
creature_duration | Integer
disable_after_spawn | Boolean
enabled[1] | Integer
follow_distance | Integer
frequency | Integer
max_number | Integer
name | String (32 bytes)
probability_day | Integer
probability_night | Integer
rate | Integer
resref_1 | String (8 bytes)
resref_10 | String (8 bytes)
resref_2 | String (8 bytes)
resref_3 | String (8 bytes)
resref_4 | String (8 bytes)
resref_5 | String (8 bytes)
resref_6 | String (8 bytes)
resref_7 | String (8 bytes)
resref_8 | String (8 bytes)
resref_9 | String (8 bytes)
spawn_until_paused | Boolean
wander_distance | Integer
weight_1 | Integer
weight_10 | Integer
weight_2 | Integer
weight_3 | Integer
weight_4 | Integer
weight_5 | Integer
weight_6 | Integer
weight_7 | Integer
weight_8 | Integer
weight_9 | Integer
x | Integer
y | Integer

Active-time flags

Key | Type
--- | ---
hour_0[1] | Boolean
hour_10[1] | Boolean
hour_11[1] | Boolean
hour_12[1] | Boolean
hour_13[1] | Boolean
hour_14[1] | Boolean
hour_15[1] | Boolean
hour_16[1] | Boolean
hour_17[1] | Boolean
hour_18[1] | Boolean
hour_19[1] | Boolean
hour_1[1] | Boolean
hour_20[1] | Boolean
hour_21[1] | Boolean
hour_22[1] | Boolean
hour_23[1] | Boolean
hour_2[1] | Boolean
hour_3[1] | Boolean
hour_4[1] | Boolean
hour_5[1] | Boolean
hour_6[1] | Boolean
hour_7[1] | Boolean
hour_8[1] | Boolean
hour_9[1] | Boolean
hours | Integer

## Entrance (entrance)

Standard keys

Key | Type
--- | ---
face | id lookup (dir)
name | String (32 bytes)
x | Integer
y | Integer

## Container (container)

Special keys

Key | Type
--- | ---
box | Comma-separated list (box_left,box_right,box_top,box_bottom)
trap_launch | Comma-separated list (trap_launch_x,trap_launch_y)

Standard keys

Key | Type
--- | ---
box_bottom | Integer
box_left | Integer
box_right | Integer
box_top | Integer
break_difficulty | Integer
disable_if_no_owner | Boolean
disabled | Boolean
do_not_clear | Boolean
is_locked | Boolean
is_trapped | Integer
key | String (8 bytes)
lock_difficulty | Integer
lockpick_string | Strref
magical_lock | Boolean
name | String (32 bytes)
owner | String (32 bytes)
remove_only | Boolean
script | String (8 bytes)
trap_detection_difficulty | Integer
trap_launch_x | Integer
trap_launch_y | Integer
trap_removal_difficulty | Integer
trap_resets | Boolean
trigger_range | Integer
type | Lookup (0=Unknown, 1=Bag, 2=Chest, 3=Drawer, 4=Pile, 5=Table, 6=Shelf, 7=Altar, 8=Invisible, 9=Spellbook, 10=Body, 11=Barrel, 12=Crate)
x | Integer
y | Integer

## Item (item)

Standard keys

Key | Type
--- | ---
charges_1[1] | Integer
charges_2 | Integer
charges_3 | Integer
expiration_time | Integer
identified | Boolean
resref | String (8 bytes)
stolen | Boolean
undroppable | Boolean
unstealable | Boolean

## Ambient Sounds (ambient)

sound_count is automatically set by SFO to the total number of non-empty sound entries. For readability, the flags controlling when an ambient sound is active are listed separately.

Standard keys

Key | Type
--- | ---
disable_environmental_effects | Boolean
enabled[1] | Boolean
height | Integer
is_global | Boolean
name | String (32 bytes)
pitch_variance | Integer
radius | Integer
randomize_sounds | Boolean
sound1 | String (8 bytes)
sound10 | String (8 bytes)
sound2 | String (8 bytes)
sound3 | String (8 bytes)
sound4 | String (8 bytes)
sound5 | String (8 bytes)
sound6 | String (8 bytes)
sound7 | String (8 bytes)
sound8 | String (8 bytes)
sound9 | String (8 bytes)
sound_count | Integer
time_base | Integer
time_deviation | Integer
volume[100] | Integer
volume_variance | Integer
x | Integer
y | Integer

Active-time flags

Key | Type
--- | ---
hour_0[1] | Boolean
hour_10[1] | Boolean
hour_11[1] | Boolean
hour_12[1] | Boolean
hour_13[1] | Boolean
hour_14[1] | Boolean
hour_15[1] | Boolean
hour_16[1] | Boolean
hour_17[1] | Boolean
hour_18[1] | Boolean
hour_19[1] | Boolean
hour_1[1] | Boolean
hour_20[1] | Boolean
hour_21[1] | Boolean
hour_22[1] | Boolean
hour_23[1] | Boolean
hour_2[1] | Boolean
hour_3[1] | Boolean
hour_4[1] | Boolean
hour_5[1] | Boolean
hour_6[1] | Boolean
hour_7[1] | Boolean
hour_8[1] | Boolean
hour_9[1] | Boolean

## Door (door)

Special keys

Key | Type
--- | ---
alt | Comma-separated list (alt_x,alt_y)
loc | Comma-separated list (loc_x,loc_y)
trap_launch | Comma-separated list (trap_launch_x,trap_launch_y)

Standard keys

Key | Type
--- | ---
ac | Integer
alt_x | Integer
alt_y | Integer
box_closed_bottom | Integer
box_closed_left | Integer
box_closed_right | Integer
box_closed_top | Integer
box_open_bottom | Integer
box_open_left | Integer
box_open_right | Integer
box_open_top | Integer
broken | Boolean
cannot_close | Boolean
close_sound | String (8 bytes)
cursor_index | Integer
detect_door_difficulty | Integer
detect_trap_difficulty | Integer
does_not_block_los | Boolean
found | Boolean
hidden | Boolean
hp | Integer
id | String (8 bytes)
ignore_obstacles | Boolean
is_trapped | Integer
key | String (8 bytes)
linked | Boolean
loc_x | Integer
loc_y | Integer
lock_difficulty | Integer
locked | Boolean
lockpick_string | Strref
name | String (32 bytes)
open | Boolean
open_sound | String (8 bytes)
remove_key | Boolean
remove_trap_difficulty | Integer
reset_trap | Boolean
script | String (8 bytes)
speaker_dialog | String (8 bytes)
speaker_name | Strref
trap_detectable | Boolean
trap_detected | Integer
trap_launch_x | Integer
trap_launch_y | Integer
travel_trigger_name | String (24 bytes)

## Vertex (vertex)

Standard keys

Key | Type
--- | ---
x | Integer
y | Integer

## Animation (animation)

For readability, the flags controlling when an animation is active are listed separately.

Standard keys

Key | Type
--- | ---
animation | String (8 bytes)
bam_frame | Integer
bam_sequence | Integer
black_is_transparent | Boolean
disable_on_slow_machines | Boolean
draw_stenciled | Boolean
enabled[1] | Boolean
height | Integer
hide_in_combat | Boolean
loop_probability | Integer
mirrored | Boolean
name | String (32 bytes)
not_cover | Boolean
not_hidden_by_wall | Boolean
palette | String (8 bytes)
partial_animation | Boolean
play_all_frames | Boolean
random_start | Boolean
self_illumination | Boolean
skip_cycles | Integer
start_frame | Integer
synchronized_draw | Boolean
transparency | Integer
use_palette_bitmap | Boolean
use_pvrz | Boolean
use_wbm | Boolean
width | Integer
x | Integer
y | Integer

Active-time flags

Key | Type
--- | ---
hour_0[1] | Boolean
hour_10[1] | Boolean
hour_11[1] | Boolean
hour_12[1] | Boolean
hour_13[1] | Boolean
hour_14[1] | Boolean
hour_15[1] | Boolean
hour_16[1] | Boolean
hour_17[1] | Boolean
hour_18[1] | Boolean
hour_19[1] | Boolean
hour_1[1] | Boolean
hour_20[1] | Boolean
hour_21[1] | Boolean
hour_22[1] | Boolean
hour_23[1] | Boolean
hour_2[1] | Boolean
hour_3[1] | Boolean
hour_4[1] | Boolean
hour_5[1] | Boolean
hour_6[1] | Boolean
hour_7[1] | Boolean
hour_8[1] | Boolean
hour_9[1] | Boolean

## Song (song)

Standard keys

Key | Type
--- | ---
alt_music_1 | Integer
alt_music_2 | Integer
alt_music_3 | Integer
alt_music_4 | Integer
alt_music_5 | Integer
battle_song | Integer
day_ambient_1 | String (8 bytes)
day_ambient_2 | String (8 bytes)
day_ambient_volume | Integer
day_song | Integer
lose_song | Integer
night_ambient_1 | String (8 bytes)
night_ambient_2 | String (8 bytes)
night_ambient_volume | Integer
night_song | Integer
reverb | Integer
win_song | Integer

## Rest Interruptions (rest_interruption)

spawn_count is automatically set by SFO to the total number of non-empty resrefs.

Standard keys

Key | Type
--- | ---
difficulty | Integer
enabled[1] | Integer
follow_distance | Integer
max_number | Integer
name | String (32 bytes)
probability_day | Integer
probability_night | Integer
removal_time | Integer
resref1 | String (8 bytes)
resref10 | String (8 bytes)
resref2 | String (8 bytes)
resref3 | String (8 bytes)
resref4 | String (8 bytes)
resref5 | String (8 bytes)
resref6 | String (8 bytes)
resref7 | String (8 bytes)
resref8 | String (8 bytes)
resref9 | String (8 bytes)
spawn_count | Integer
text1 | Strref
text10 | Strref
text2 | Strref
text3 | Strref
text4 | Strref
text5 | Strref
text6 | Strref
text7 | Strref
text8 | Strref
text9 | Strref
wander_distance | Integer

## Map Note (mapnote)

Standard keys

Key | Type
--- | ---
color | Integer
control_id | Integer
strref_loc[1] | Integer
text | Strref
x | Integer
y | Integer