treasure_randomization [Free Enterprise Wiki]

User Tools

Site Tools


treasure_randomization

Treasure randomization

There are several randomization levels to customize the contents of the treasure chests throughout the world. (Note that “treasure chests” also refers to treasures in pots, bookshelves, etc.)

Note that all randomization levels treat trapped chests (ie. those containing monsters) differently from untrapped chests. Except where otherwise noted, the discussion below generally refers to untrapped chests.

Additionally, the chests containing the Rat Tail and Ribbons in vanilla FF4 are handled by the key item randomizer logic, and are not affected by the behaviors detailed here.

Vanilla treasures

Under Tvanilla, chests contain the same items as they did in the Japanese version of FF4. Trapped chests deliver the same rewards as in the Japanese version of FF4 as well.

If Japanese-exclusive items are excluded from treasure chests (see below), chest contents match the US version of Final Fantasy IV instead.

Shuffled treasures

Under Tshuffle, chests overall contain the same contents as in Tvanilla, but they are shuffled so they appear in different locations.

Untrapped chests are shuffled separately from trapped chests. Untrapped chest contents from the overworld tend to remain in the overworld, and likewise for non-overworld chests. Specifically:

  • Overworld chest contents are placed in pool 1, and underworld/moon chest contents are placed in pool 2.
  • 50% of each pool is extracted and combined into pool 3.
  • The pool 3 items are randomly redistributed back into pools 1 and 2, to restore them to their original sizes.
  • Pool 1 treasures are randomly assigned to overworld chests, and pool 2 treasures are randomly assigned to underworld and moon chests.

Trapped chest rewards are shuffled amongst themselves without regards to location.

Randomized treasures

Tstandard, Tpro, Twild and Twildish select random contents to populate each chest, with varying distributions.

Tstandard and Twild are unweighted distributions. That is, the location of the chest does not affect the probability of its contents.

  • Under Tstandard, each chest contains a random item from tiers 1-5.
  • Under Twild, each chest contains a random item from tiers 1-7.
  • Under both, trapped chests contain a random item from tiers 5-7.

Tpro and Twildish are weighted distributions; chests in different locations have different probabilities of containing strong vs. weak items. Trapped chests also have their own distributions. For full probability information, see Treasure probability curves.

Empty treasures

Players seeking a challenge can use the Tempty flag to remove all treasures from untrapped chests. Trapped chests are treated the same as in Tpro.

For a similar, less extensive effect, the other randomization levels may be combined with a Tsparse: flag, which removes all but a specified percentage of untrapped chests.

To reduce busywork, chests rendered empty by Tempty or Tsparse begin the game already opened, so you can tell at a glance whether they need to be checked.

Forced treasures

If other flags force items into treasure chests (for example, a Dark Matter Hunt), those choices are made after the randomization is applied, and overwrite the previous chest contents.

Other treasure flags

Setting Tno:j will exclude Japanese-version exclusive items from appearing in chests.

Normally, tier 1 items in chests are replaced with an equivalent amount of GP, to prevent cluttering up the inventory with weak items. Enable the Tjunk flag to keep tier 1 items as they are.

Trapped chest relocation

Trapped chests are randomly relocated within their respective dungeons. For example, Eblan Castle contains three trapped chests with the same fights as usual, just in different locations.

Note that for technical reasons, the trapped chest in Upper Bab-il will always be positioned somewhere before the drop to the underworld.

Setting the -vanilla:traps flag will force trapped chests to remain in their original positions.

treasure_randomization.txt · Last modified: 2020/01/02 05:29 by b0ardface