====================
Templates

* Can Use Any Bombs:
      All of the following:
          # Possible to lay any kind of bombs
          Morph Ball
          Bombs or Power Bombs

* Can Use Bombs:
      # Able to lay normal bombs
      Bombs and Morph Ball

* Can Use Power Bombs:
      # Able to lay Power Bombs
      Morph Ball and Power Bombs

* Can Use Spring Ball:
      # Able to use spring ball
      Morph Ball and Spring Ball

* Can Use Spider Ball:
      # Able to use spider ball
      Morph Ball and Spider Ball

* Power Grip Wall:
      Any of the following:
          # Able to get over a mid-sized wall
          Hi-Jump Boots or Power Grip or Space Jump or Can Use Spider Ball
          # WJ Beginner
          Walljump (Beginner) and Can Walljump
          # IBJ Beginner
          Infinite Bomb Jumping (Beginner) and Can IBJ and Can Use Bombs
          # CBJ beginner
          Charged Bomb Jump (Beginner) and Can Use Charged Bomb Jump

* Hijump Wall:
      Any of the following:
          # Able to get over a high sized wall
          Hi-Jump Boots or Space Jump or Can Use Spider Ball
          # IBJ Intermediate
          Infinite Bomb Jumping (Intermediate) and Can IBJ and Can Use Bombs
          # WJ Intermediate
          Walljump (Intermediate) and Can Walljump
          # CBJ intermediate
          Charged Bomb Jump (Intermediate) and Can Use Charged Bomb Jump

* Hijump With Power Grip Wall:
      Any of the following:
          # Able to get over a high sized wall that requires powergrip
          Space Jump or Can Use Spider Ball
          All of the following:
              # HJ with either Power Grip or a small WJ
              Hi-Jump Boots
              Any of the following:
                  Power Grip
                  Walljump (Beginner) and Can Walljump
          # WJ
          Walljump (Intermediate) and Can Walljump
          # IBJ
          Infinite Bomb Jumping (Intermediate) and Can IBJ and Can Use Bombs
          All of the following:
              # CBJ with power grip/WJ
              Charged Bomb Jump (Intermediate) and Can Use Charged Bomb Jump
              Any of the following:
                  Power Grip
                  Walljump (Beginner) and Can Walljump

* Space Jump Wall:
      Any of the following:
          Space Jump or Can Use Spider Ball
          # WJ
          Walljump (Advanced) and Can Walljump
          # IBJ
          Infinite Bomb Jumping (Advanced) and Can IBJ and Can Use Bombs
          # HJ + WJ
          Hi-Jump Boots and Walljump (Intermediate) and Can Walljump

* Underwater Power Grip Wall:
      Any of the following:
          Power Grip
          # WJ
          Walljump (Beginner) and Can Walljump
          # Gravity
          Gravity Suit and Power Grip Wall
          # IBJ
          Infinite Bomb Jumping (Intermediate) and Can IBJ and Can Use Bombs
          # CBJ
          Charged Bomb Jump (Beginner) and Can Use Charged Bomb Jump

* Tunnel Climb:
      All of the following:
          Morph Ball
          # A way to get into hole
          Bombs or Power Grip or Spider Ball or Spring Ball

* Low Mid-Air Morph Tunnel Climb:
      All of the following:
          Morph Ball
          Any of the following:
              # A way to get into hole
              Bombs or Power Grip or Spider Ball or Spring Ball
              Morph Ball and Mid-Air Morph (Advanced)

* High Mid-Air Morph Tunnel Climb:
      All of the following:
          Morph Ball
          Any of the following:
              # A way to get into hole
              Power Grip or Spider Ball or Mid-Air Morph (Intermediate)
              # High Sprinball
              Hi-Jump Boots and Spring Ball
              # IBJ
              Infinite Bomb Jumping (Beginner) and Can IBJ and Can Use Bombs
              # Bomb Springball
              Spring Ball and Can Use Bombs
              # Walljump and Morph
              Mid-Air Morph (Intermediate) and Walljump (Intermediate) and Can Walljump
              # CBJ
              Charged Bomb Jump (Beginner) and Can Use Charged Bomb Jump

* Power Grip Climb:
      All of the following:
          Morph Ball
          Any of the following:
              # A way to get into the hole
              Power Grip or Can Use Spider Ball
              All of the following:
                  # midair morph combo
                  Mid-Air Morph (Intermediate)
                  Any of the following:
                      Hi-Jump Boots or Space Jump
                      Walljump (Intermediate) and Can Walljump
              Can Use Bombs and Can Use Spring Ball
              # IBJ
              Infinite Bomb Jumping (Beginner) and Can IBJ and Can Use Bombs
              # CBJ
              Charged Bomb Jump (Beginner) and Can Use Charged Bomb Jump

* Hijump Tunnel Climb:
      All of the following:
          Morph Ball
          Any of the following:
              # A way to get into the hole
              Can Use Spider Ball
              # IBJ
              Infinite Bomb Jumping (Intermediate) and Can IBJ and Can Use Bombs
              Hi-Jump Boots and Power Grip
              All of the following:
                  # midair morph combo
                  Power Grip or Mid-Air Morph (Intermediate)
                  Any of the following:
                      Space Jump
                      Walljump (Intermediate) and Can Walljump
                      # CBJ
                      Charged Bomb Jump (Intermediate) and Can Use Charged Bomb Jump

* Space Jump Tunnel Climb:
      All of the following:
          Morph Ball
          Any of the following:
              # A way to get into the hole
              Can Use Spider Ball
              # IBJ
              Infinite Bomb Jumping (Advanced) and Can IBJ and Can Use Bombs
              All of the following:
                  # midair morph combo
                  Power Grip or Mid-Air Morph (Intermediate)
                  Any of the following:
                      Space Jump
                      Walljump (Advanced) and Can Walljump

* Defeat non-dodging Alpha:
      All of the following:
          Alpha Metroid Lure and Can Shoot
          Any of the following:
              # Item requirements
              Missiles ≥ 7 or Super Missiles ≥ 2
              All of the following:
                  # Charge-Only
                  Charge Beam
                  Any of the following:
                      Missile-Less Metroid Fights (Intermediate)
                      Long Beam and Missile-Less Metroid Fights (Beginner)
          # Damage requirements
          Combat (Intermediate) or Normal Damage ≥ 65

* Defeat dodging Alpha:
      All of the following:
          Alpha Metroid Lure and Can Shoot
          Any of the following:
              # Item requirements
              Missiles ≥ 7 or Super Missiles ≥ 2
              All of the following:
                  # Charge-Only
                  Charge Beam
                  Any of the following:
                      Missile-Less Metroid Fights (Advanced)
                      Long Beam and Missile-Less Metroid Fights (Intermediate)
          # Damage requirements
          Combat (Advanced) or Normal Damage ≥ 130

* Defeat Dual Alphas:
      All of the following:
          Alpha Metroid Lure and Can Shoot
          Any of the following:
              # Item requirements
              Missiles ≥ 15 or Super Missiles ≥ 5
              All of the following:
                  # Charge-Only
                  Charge Beam
                  Any of the following:
                      Missile-Less Metroid Fights (Ludicrous)
                      Long Beam and Missile-Less Metroid Fights (Expert)
          # Damage requirements
          Combat (Expert) or Normal Damage ≥ 199

* Defeat Alpha Squad:
      All of the following:
          Alpha Metroid Lure and Can Shoot
          Any of the following:
              Missiles ≥ 35 or Super Missiles ≥ 10
              # Charge-Only
              Charge Beam and Long Beam and Morph Ball and Missile-Less Metroid Fights (Ludicrous)
              All of the following:
                  # low% strat using refills
                  Morph Ball and Speed Booster and Combat (Ludicrous)
                  Any of the following:
                      Super Missiles ≥ 2
                      Missiles ≥ 10 and Super Missiles
          # Damage requirements
          Combat (Expert) or Normal Damage ≥ 250

* Defeat dodging Gamma:
      All of the following:
          Gamma Metroid Lure and Can Shoot
          Any of the following:
              # Item requirements
              Missiles ≥ 15 or Super Missiles ≥ 3
              All of the following:
                  # Charge-Only
                  Charge Beam
                  Any of the following:
                      Missile-Less Metroid Fights (Expert)
                      Long Beam and Missile-Less Metroid Fights (Advanced)
          # Energy requirements
          Combat (Expert) or Normal Damage ≥ 199

* Defeat Dual Gammas:
      All of the following:
          Gamma Metroid Lure and Can Shoot
          Any of the following:
              # Ammo Requirements
              Missiles ≥ 30 or Super Missiles ≥ 6
              All of the following:
                  # Missile-Less Requirements
                  Charge Beam and Underwater Power Grip Wall
                  Any of the following:
                      All of the following:
                          # With Gravity
                          Gravity Suit
                          Any of the following:
                              Missile-Less Metroid Fights (Expert)
                              Long Beam and Missile-Less Metroid Fights (Advanced)
                      Any of the following:
                          # Without Gravity
                          Missile-Less Metroid Fights (Ludicrous)
                          Long Beam and Missile-Less Metroid Fights (Expert)
          All of the following:
              # Energy Requirements
              Gravity Suit or Combat (Intermediate)
              Any of the following:
                  Combat (Expert) or Normal Damage ≥ 320
                  Combat (Beginner) and Normal Damage ≥ 250
                  Combat (Intermediate) and Normal Damage ≥ 170
                  Combat (Advanced) and Normal Damage ≥ 100

* Defeat Zeta:
      All of the following:
          Zeta Metroid Lure and Can Shoot
          Any of the following:
              # Item requirements
              Super Missiles ≥ 6
              Missiles ≥ 30 and Combat (Intermediate)
              All of the following:
                  # Charge-Only
                  Charge Beam
                  Any of the following:
                      Missile-Less Metroid Fights (Expert)
                      Long Beam and Missile-Less Metroid Fights (Advanced)
          Any of the following:
              # Energy Requirements
              Combat (Expert) or Normal Damage ≥ 299
              Combat (Advanced) and Normal Damage ≥ 199
          Any of the following:
              # Dodging Requirements
              Space Jump
              All of the following:
                  Combat (Advanced)
                  Any of the following:
                      Hi-Jump Boots or Morph Ball
                      Walljump (Advanced) and Can Walljump

* Defeat Omega:
      All of the following:
          Omega Metroid Lure and Can Shoot
          Any of the following:
              # Item requirements
              Super Missiles ≥ 7
              Missiles ≥ 32 and Combat (Intermediate)
              All of the following:
                  # Charge-Only
                  Charge Beam
                  Any of the following:
                      Missile-Less Metroid Fights (Expert)
                      Long Beam and Missile-Less Metroid Fights (Advanced)
              All of the following:
                  # Backshots
                  Combat (Advanced)
                  Missiles ≥ 11 or Super Missiles ≥ 3
          All of the following:
              Any of the following:
                  # Energy Requirements
                  Combat (Expert) or Normal Damage ≥ 399
                  Combat (Intermediate) and Normal Damage ≥ 299
                  Combat (Advanced) and Normal Damage ≥ 199
              Any of the following:
                  # Dodging Requirements
                  Space Jump
                  All of the following:
                      Combat (Advanced)
                      Any of the following:
                          Hi-Jump Boots or Morph Ball
                          Walljump (Advanced) and Can Walljump

* Go Through Vines:
      Gravity Suit or Damage Boost (Beginner)

* Destroy Turbine:
      Any of the following:
          Can Use Any Bombs
          All of the following:
              Can Shoot
              Missiles ≥ 3 or Super Missiles

* Destroy Ice Barrier:
      All of the following:
          Can Shoot Ice Beam
          Missiles or Super Missiles

* Zip From Destroyable Object:
      Any of the following:
          # Via Bombs
          Zip Trick (Advanced) and Can Use Bombs and Can Walljump
          # Via PBs
          Zip Trick (Ludicrous) and Can Use Power Bombs and Can Walljump
          # Via Missiles
          Missiles and Zip Trick (Expert) and Can Shoot and Can Walljump

* Can Use Charged Bomb Jump:
      Charge Beam and Can Shoot and Can Use Bombs

* Defeat Larva:
      All of the following:
          Can Shoot Ice Beam
          # Kill them while frozen
          Missiles ≥ 5 or Super Missiles
          # Get rid of them if they're draining you
          Combat (Intermediate) or Can Use Bombs

* All Artifacts:
      Metroid DNA 1 and Metroid DNA 10 and Metroid DNA 11 and Metroid DNA 12 and Metroid DNA 13 and Metroid DNA 14 and Metroid DNA 15 and Metroid DNA 16 and Metroid DNA 17 and Metroid DNA 18 and Metroid DNA 19 and Metroid DNA 2 and Metroid DNA 20 and Metroid DNA 21 and Metroid DNA 22 and Metroid DNA 23 and Metroid DNA 24 and Metroid DNA 25 and Metroid DNA 26 and Metroid DNA 27 and Metroid DNA 28 and Metroid DNA 29 and Metroid DNA 3 and Metroid DNA 30 and Metroid DNA 31 and Metroid DNA 32 and Metroid DNA 33 and Metroid DNA 34 and Metroid DNA 35 and Metroid DNA 36 and Metroid DNA 37 and Metroid DNA 38 and Metroid DNA 39 and Metroid DNA 4 and Metroid DNA 40 and Metroid DNA 41 and Metroid DNA 42 and Metroid DNA 43 and Metroid DNA 44 and Metroid DNA 45 and Metroid DNA 46 and Metroid DNA 5 and Metroid DNA 6 and Metroid DNA 7 and Metroid DNA 8 and Metroid DNA 9

* Alpha Squad Defeated:
      After Metroids Area 5 - Squad Right Bottom Alpha and After Metroids Area 5 - Squad Right Top Alpha and After Metroids Area 5 - Squad Left Bottom Alpha and After Metroids Area 5 - Squad Left Middle Alpha and After Metroids Area 5 - Squad Left Top Alpha

* Can Walljump:
      Walljump Boots

* Can IBJ:
      # TODO: remove "can use bombs" from all places where this template is used to avoid redudancy
      Infinite Bomb Propulsion and Can Use Bombs

* Can Shoot:
      Arm Cannon

* Can Shoot Ice Beam:
      Ice Beam and Can Shoot

* Can Shoot Wave Beam:
      Wave Beam and Can Shoot

* Can Shoot Charge Beam:
      Charge Beam and Can Shoot

* Can Shoot Spazer Beam:
      Spazer Beam and Can Shoot

* Can Shoot Plasma Beam:
      Plasma Beam and Can Shoot

* Can Shoot Super Missile:
      Super Missiles and Can Shoot

* Can Shoot Missile:
      Missiles and Can Shoot

* Can Destroy Shot Block:
      Can Shoot or Can Use Any Bombs

====================
Dock Weaknesses

> Door
  * Open Transition
      Extra - is_dock: True
      Open:
          Trivial
      No lock


  * Normal Door
      Open:
          Can Destroy Shot Block
      No lock


  * Normal Door (Forced)
      Extra - door_name: Normal Door
      Open:
          Can Destroy Shot Block
      No lock


  * Missile Door
      Open:
          Trivial
      Lock type: FRONT_BLAST_BACK_FREE_UNLOCK
          Any of the following:
              Can Shoot Missile
              Enabled Supers On Missile Doors and Can Shoot Super Missile


  * Super Missile Door
      Open:
          Trivial
      Lock type: FRONT_BLAST_BACK_FREE_UNLOCK
          Can Shoot Super Missile


  * Power Bomb Door
      Open:
          Trivial
      Lock type: FRONT_BLAST_BACK_FREE_UNLOCK
          Can Use Power Bombs


  * Hydro Station Water Turbine
      Open:
          Trivial
      Lock type: FRONT_BLAST_BACK_FREE_UNLOCK
          Destroy Turbine


  * Research Site Open Hatch
      Open:
          Trivial
      No lock


  * Guardian-Locked Door
      Open:
          After Boss - Guardian Defeated and Can Destroy Shot Block
      No lock


  * Arachnus-Locked Door
      Open:
          After Boss - Arachnus Defeated and Can Destroy Shot Block
      No lock


  * Torizo-Locked Door
      Open:
          After Boss - Torizo Defeated and Can Destroy Shot Block
      No lock


  * Tester-Locked Door
      Open:
          After Boss - Tester Defeated and Can Destroy Shot Block
      No lock


  * Serris-Locked Door
      Open:
          After Boss - Serris Defeated and Can Destroy Shot Block
      No lock


  * Genesis-Locked Door
      Open:
          After Boss - Genesis Defeated and Can Destroy Shot Block
      No lock


  * Queen Metroid-Locked Door
      Extra - door_name: Queen-Locked Door
      Open:
          After Boss - Queen Defeated and Can Destroy Shot Block
      No lock


  * Tower Energy Restored Door
      Open:
          After Area 4 - Tower Energy Activated and Can Destroy Shot Block
      No lock


  * Distribution Center Energy Restored Door
      Open:
          After Area 5 - Distribution Center Energy Activated and Can Destroy Shot Block
      No lock


  * Golden Temple EMP Door
      Open:
          After EMP - Golden Temple and Can Destroy Shot Block
      No lock


  * Hydro Station EMP Door
      Open:
          After EMP - Hydro Station and Can Destroy Shot Block
      No lock


  * Industrial Complex EMP Door
      Open:
          After EMP - Industrial Complex and Can Destroy Shot Block
      No lock


  * Distribution Center EMP Ball Introduction EMP Door
      Open:
          After EMP - Area 5 EMP Ball Introduction and Can Destroy Shot Block
      No lock


  * Distribution Center Robot Home EMP Door
      Open:
          After EMP - Area 5 Robot Home and Can Destroy Shot Block
      No lock


  * Distribution Center Energy Distribution Tower East EMP Door
      Open:
          After EMP - Area 5 Energy Distribution Tower East and Can Destroy Shot Block
      No lock


  * Distribution Center Bullet Hell Room Access EMP Door
      Open:
          After EMP - Area 5 Bullet Hell Room Access and Can Destroy Shot Block
      No lock


  * Distribution Center Pipe Hub Access EMP Door
      Open:
          After EMP - Area 5 Pipe Hub Access and Can Destroy Shot Block
      No lock


  * Distribution Center Exterior East Access EMP Door
      Open:
          After EMP - Area 5 Exterior East Access and Can Destroy Shot Block
      No lock


  * Charge Beam Door
      Open:
          Can Shoot Charge Beam
      No lock


  * Wave Beam Door
      Open:
          Can Shoot Wave Beam
      No lock


  * Spazer Beam Door
      Open:
          Can Shoot Spazer Beam
      No lock


  * Plasma Beam Door
      Open:
          Can Shoot Plasma Beam
      No lock


  * Ice Beam Door
      Open:
          Can Shoot Ice Beam
      No lock


  * Bomb Door
      Open:
          Can Use Bombs
      No lock


  * Spider Ball Door
      Open:
          Can Use Spider Ball
      No lock


  * Screw Attack Door
      Open:
          Screw Attack
      No lock


  * Locked Door
      Open:
          Impossible
      Lock type: FRONT_BLAST_BACK_IMPOSSIBLE
          Trivial

  > Dock Rando:
      Unlocked: Research Site Open Hatch
      Locked: Locked Door
      Change from:
          Distribution Center Bullet Hell Room Access EMP Door
          Distribution Center EMP Ball Introduction EMP Door
          Distribution Center Energy Distribution Tower East EMP Door
          Distribution Center Energy Restored Door
          Distribution Center Exterior East Access EMP Door
          Distribution Center Pipe Hub Access EMP Door
          Distribution Center Robot Home EMP Door
          Golden Temple EMP Door
          Hydro Station EMP Door
          Hydro Station Water Turbine
          Industrial Complex EMP Door
          Missile Door
          Normal Door
          Open Transition
          Power Bomb Door
          Research Site Open Hatch
          Super Missile Door
          Tester-Locked Door
          Tower Energy Restored Door
      Change to:
          Arachnus-Locked Door
          Bomb Door
          Charge Beam Door
          Distribution Center Bullet Hell Room Access EMP Door
          Distribution Center EMP Ball Introduction EMP Door
          Distribution Center Energy Distribution Tower East EMP Door
          Distribution Center Energy Restored Door
          Distribution Center Exterior East Access EMP Door
          Distribution Center Pipe Hub Access EMP Door
          Distribution Center Robot Home EMP Door
          Genesis-Locked Door
          Golden Temple EMP Door
          Guardian-Locked Door
          Hydro Station EMP Door
          Hydro Station Water Turbine
          Ice Beam Door
          Industrial Complex EMP Door
          Locked Door
          Missile Door
          Normal Door
          Plasma Beam Door
          Power Bomb Door
          Queen Metroid-Locked Door
          Research Site Open Hatch
          Screw Attack Door
          Serris-Locked Door
          Spazer Beam Door
          Spider Ball Door
          Super Missile Door
          Tester-Locked Door
          Torizo-Locked Door
          Tower Energy Restored Door
          Wave Beam Door


> Horizontal Dock
  * 4-Tiles High Dock
      Open:
          Trivial
      No lock


  * 5-Tiles High Dock
      Open:
          Trivial
      No lock


  * 3-Tiles High Dock
      Open:
          Trivial
      No lock


  * 2-Tiles High Dock
      Open:
          Trivial
      No lock

  > Dock Rando: Disabled


> Vertical Dock
  * 1-Tiles Wide Dock
      Open:
          Trivial
      No lock


  * 2-Tiles Wide Dock
      Open:
          Trivial
      No lock


  * 3-Tiles Wide Dock
      Open:
          Trivial
      No lock


  * 4-Tiles Wide Dock
      Open:
          Trivial
      No lock

  > Dock Rando: Disabled


> Tunnel
  * Morph Ball Tunnel
      Open:
          Morph Ball
      No lock

  > Dock Rando: Disabled


> Pipe
* Extra - is_teleporter: True
  * Teleporter
      Open:
          Morph Ball
      No lock

  > Dock Rando: Disabled


> Area Transition
* Extra - is_area_transition: True
  * Open Passage
      Open:
          Trivial
      No lock

  > Dock Rando: Disabled


> Dock
  * Open Passage
      Open:
          Trivial
      No lock


  * Back Only
      Open:
          Impossible
      No lock


  * Not Determined
      Open:
          Impossible
      No lock

  > Dock Rando: Disabled

