Prelude Manual / Treasure Chest Open the editor →

Treasure Chest

Treasure Chest is a chest actor in Ocarina of Time.

← All actors

Placement

The low 5 bits are the chest's treasure flag (already set in the save = spawns open and empty) and bits 5-11 the item it gives.

Type variants (12)

This actor is placed in one of these forms. Pick it from the editor's Type dropdown. The value is what the actor's parameters store. Each picture is fitted to its cell, so compare the stated sizes and not the images.

ValueType
Big (Default)0Big (Default)~45 units tall
No preview yet1Room Clear BigThis chest type spawns HIDDEN until a trigger: types 3/8/11 wait on a switch flag (read from the placement's Z-ROTATION, not params), 1/7 on the room-clear flag, and 9/10 on Zelda's Lullaby / the Sun's Song played beside it. Types 0 (big) and 5 (small) are simply present.
Decorated Big2Decorated Big~45 units tall
No preview yet3Switch Flag Fall BigThis chest type spawns HIDDEN until a trigger: types 3/8/11 wait on a switch flag (read from the placement's Z-ROTATION, not params), 1/7 on the room-clear flag, and 9/10 on Zelda's Lullaby / the Sun's Song played beside it. Types 0 (big) and 5 (small) are simply present.
No preview yet4Lens BigTypes 4/6 are Lens of Truth chests — invisible until viewed through the lens.
Small5Small~22 units tall
No preview yet6Lens SmallTypes 4/6 are Lens of Truth chests — invisible until viewed through the lens.
No preview yet7Room Clear SmallThis chest type spawns HIDDEN until a trigger: types 3/8/11 wait on a switch flag (read from the placement's Z-ROTATION, not params), 1/7 on the room-clear flag, and 9/10 on Zelda's Lullaby / the Sun's Song played beside it. Types 0 (big) and 5 (small) are simply present.
No preview yet8Switch Flag Fall SmallThis chest type spawns HIDDEN until a trigger: types 3/8/11 wait on a switch flag (read from the placement's Z-ROTATION, not params), 1/7 on the room-clear flag, and 9/10 on Zelda's Lullaby / the Sun's Song played beside it. Types 0 (big) and 5 (small) are simply present.
No preview yet9Lullaby BigThis chest type spawns HIDDEN until a trigger: types 3/8/11 wait on a switch flag (read from the placement's Z-ROTATION, not params), 1/7 on the room-clear flag, and 9/10 on Zelda's Lullaby / the Sun's Song played beside it. Types 0 (big) and 5 (small) are simply present.
No preview yet10Sun's Song BigThis chest type spawns HIDDEN until a trigger: types 3/8/11 wait on a switch flag (read from the placement's Z-ROTATION, not params), 1/7 on the room-clear flag, and 9/10 on Zelda's Lullaby / the Sun's Song played beside it. Types 0 (big) and 5 (small) are simply present.
No preview yet11Switch Flag BigThis chest type spawns HIDDEN until a trigger: types 3/8/11 wait on a switch flag (read from the placement's Z-ROTATION, not params), 1/7 on the room-clear flag, and 9/10 on Zelda's Lullaby / the Sun's Song played beside it. Types 0 (big) and 5 (small) are simply present.

Parameters

Beyond the type above, the parameters hold these fields. The editor shows each as a labelled control.

15141312111098765432100000000000000000TypeItemTreasure Flag

Shown: 0x0000, the value a newly placed copy starts with.

Rotation fields

This actor reads these rotation fields as settings, not as a direction. The editor shows each one as a number field.

Field Axis What it does
Switch Flag Z If the chest type waits on a switch, setting this switch flag makes it fall or appear. Use 0 to 63. Other types ignore it.

Appears in (29)

Bottom Of The WellBottom Of The WellDeath Mountain TrailDeath Mountain TrailDeku TreeDeku TreeDesert ColossusDesert ColossusDodongos CavernDodongos CavernDodongos Cavern BossDodongos Cavern BossFire TempleFire TempleForest TempleForest TempleGanons TowerGanons TowerGerudo Training GroundGerudo Training GroundGerudo ValleyGerudo ValleyGerudos FortressGerudos FortressGoron CityGoron CityGrave With Fairys FountainGrave With Fairys FountainGraveyardGraveyardGrottosGrottosHaunted WastelandHaunted WastelandIce CavernIce CavernInside Ganons CastleInside Ganons CastleJabu JabuJabu JabuKokiri ForestKokiri ForestMidos HouseMidos HouseRedead GraveRedead GraveRoyal Familys TombRoyal Familys TombShadow TempleShadow TempleSpirit TempleSpirit TempleWater TempleWater TempleWindmill And Dampes GraveWindmill And Dampes GraveZoras DomainZoras Domain

Model

What this actor draws, and where each piece lives in the archive. A mod replaces a piece by writing a file at the same path. A replaced limb is a part the actor swaps in while it draws. An added limb is a part it draws on top of the skeleton.

Big (Default) · Small
Skeletonobjects/object_box/gTreasureChestSkel
Animationobjects/object_box/gTreasureChestAnim_00024C
Limb 1, replacedobjects/object_box/gTreasureChestChestFrontDL
Limb 3, replacedobjects/object_box/gTreasureChestChestSideAndLidDL
Decorated Big
Skeletonobjects/object_box/gTreasureChestSkel
Animationobjects/object_box/gTreasureChestAnim_00024C
Limb 1, replacedobjects/object_box/gTreasureChestBossKeyChestFrontDL
Limb 3, replacedobjects/object_box/gTreasureChestBossKeyChestSideAndTopDL

Objects loaded

An edit to a shared object reaches every actor that loads it.