Spyro: AHT 1.2 ‐ List of auto_corrections Fixes - PhoenixAki/PhoenixAP GitHub Wiki

Automatic YAML Fixes

AHT AP offers the auto_corrections option, which has 3 settings.

  1. halt: generation will be halted if your YAML choices have incompatibilities in any way.
  2. chaos: generation will continue, even if a problem is identified. In nearly all problematic cases, this guarantees generation will fail. But because some issues that get auto-fixed don't always fail to generate, this option was introduced so that people can spam generate until a successful one, in such situations, if they want.
  3. fix_minor: minor YAML issues will be fixed. "Minor" is subjective, but in this context refers to fixes that can be reasonably deduced, or otherwise don't have a major impact on the seed.
  4. fix_major: All known YAML issues will be fixed, even if it results in a major impact on the seed.

These options work in a hierarchy. In other words, if you have fix_minor selected, only fixes labelled as minor will happen. If you select fix_major, fixes labelled as minor will still happen, but major ones will as well. If a specific scenario has multiple fixes available, it will choose the one that matches your setting.

Fixes Per-Option

boss_goals

If none of your goal options are enabled:

  • major: Mecha-Red will be added to boss_goals and become your only goal. This saves the seed from failure because there has to be some goal.

If you enter all 4 bosses as well as "Random"

  • minor: "Random" will be removed from the list, as all 4 bosses are chosen already.

light_gems_goal

If light_gems_goal > 85 and exclude_chest_items has light gems excluded

  • minor: light_gems_goal will be lowered by 15 to represent the 15 light gems checks that are now excluded.

dragon_eggs_goal

If dragon_eggs_goal > 64 and exclude_chest_items has dragon eggs excluded

  • minor: dragon_eggs_goal will be lowered by 16 to represent the 16 dragon egg checks that are now excluded.

fireworks_goal

If you enable fireworks_goal but have firework_checks disabled:

  • minor: firework_checks will be enabled.

shop_items_goal

If shop_items_goal > shop_item_count:

  • minor: shop_items_goal will be lowered to match shop_item_count.

If shop_items_goal > 0 but shop_randomization is disabled:

  • minor: shop_items_goal will be disabled, to minimize impact on the seed.
  • major shop_randomization will be enabled, having a large impact on the seed because this results in all other shop_randomization-related options becoming active as well.

elders_goal

If you enter all 4 elder NPCs as well as "Random"

  • minor: "Random" will be removed from the list, as all 4 elders are chosen already.

minigames_goal

If "0", "1", etc. up to "8" are entered instead of 0, 1, etc. (strings instead of ints)

  • minor: The string number will be converted to an int. "0" -> 0, "3" -> 3, etc.

If something besides 0-8, "random-off", or "random-on" is entered for a minigame type

  • minor: That minigame will default to being off (entry will be replaced with 0).

filler_items

If trap_percentage is < 100 but filler_items is empty:

  • minor: Shinies will be added to the filler list as your only filler item.

trap_items

If trap_percentage is > 0 but trap_items is empty:

  • minor: Spam Call will be added to the trap list as your only trap item.

starting_breaths

If the list contains both "None" and at least one breath:

  • minor: The "None" will be discarded.

starting_realms

If you start with only Icy Wilderness access and have shop_randomization disabled and no movement abilities randomized:

  • major: Your starting realm will be changed to Dragon Kingdom. This saves the seed from high likelihood of failure due to restrictive starts with these settings.

boss_lair_door_cost_min, boss_lair_door_cost_max, light_gem_door_cost_min, light_gem_door_cost_max, gadget_cost_min, and gadget_cost_max

If the value of each pair's min is > than the max:

  • minor: The min and max values will be swapped.

auto_hinting

If something other than "on", "off", or "random" was entered for any of the settings:

  • minor: The setting will default to "off".

time_savers

If something other than "on", "off", or "random" was entered for any of the settings:

  • minor: The setting will default to "off".

If Teleport Across Realms is "off" while using any form of open_world_mode:

  • minor: Teleport Across Realms will be enabled as a preventative measure for potential softlocks from using open world mode without guaranteeing the ability to teleport to shops unlocked in other realms directly.