{
  "name": {
    "text": "Recal Ability"
  },
  "icon": "omni_evo:textures/gui/icon/omnitrix_recaltion.png",
  "persistent_data": true,
  "hidden": true,
  "background": "alienevo:textures/gui/power_screen/power_screen.png",
  "primary_color": "#56b60c",
  "secondary_color": "#3a3333",
  "ability_bar_texture": "alienevo:textures/gui/ability_bar/interface.png",
  "abilities": {
    "recalibrate_unlock": {
      "type": "palladium:dummy",
      "hidden": true,
      "icon": "omni_evo:textures/icon/omnitrix_recaltion.png",
      "description": "Recalibrate the Omnitrix's settings to match your body.",
      "title": "Recalibrate Omnitrix",
      "gui_position": [
        2,
        4
      ],
      "list_index": 2,
      "conditions": {
        "unlocking": [
          {
            "type": "palladium:ability_unlocked",
            "power": "alienevo:prototype_omnitrix",
            "ability": "decouple_unlock"
          },
          {
            "type": "palladium:has_power",
            "power": "alienevo:prototype_omnitrix"
          },
          {
            "type": "palladium:objective_score",
            "objective": "AlienEvo.PrototypeSkillP",
            "min_score": 2,
            "max_score": 2147483647
          }
        ]
      }
    },
    "recalibrate_omnitrix_tag": {
      "type": "palladium:command",
      "hidden": true,
      "icon": "omni_evo:textures/gui/icon/omnitrix_recaltion.png",
      "title": "Recalibrate Omnitrix",
      "bar_color": "black",
      "list_index": -1,
      "commands": [
        "tag @s add recal_unlocked"
      ],
      "conditions": {
        "enabling": [
          {
            "type": "palladium:ability_unlocked",
            "ability": "recalibrate_unlock"
          }
        ]
      }
    },
    "fake_omni": {
      "type": "palladium:render_layer",
      "render_layer": "omni_evo:prototype_omnitrix_recalibrate",
      "conditions": {
        "enabling": [
          {
            "type": "palladium:objective_score",
            "objective": "Recaling.Timer",
            "min_score": 1,
            "max_score": 5500
          }
        ]
      }
    },
   "fake_omni_timer": {
    "type": "palladium:animation_timer",
    "icon": "minecraft:blaze_rod",
    "title": "null",
    "bar_color": "light_gray",
    "hidden": true,
    "hidden_in_bar": true,
    "list_index": -1,
    "gui_position": "null",
    "description": "null",
    "start_value": 0,
    "max_value": 4,
      "conditions": {
        "enabling": [
          {
            "type": "palladium:objective_score",
            "objective": "Recaling.Timer_Extra_Extra",
            "min_score": 1,
            "max_score": 80
          }
        ]
      }
    },
           "fake_omni_timer_render": {
    "type": "palladium:animation_timer",
    "icon": "minecraft:blaze_rod",
    "title": "null",
    "bar_color": "light_gray",
    "hidden": true,
    "hidden_in_bar": true,
    "list_index": -1,
    "gui_position": "null",
    "description": "null",
    "start_value": 0,
    "max_value": 4,
      "conditions": {
        "enabling": [
          {
            "type": "palladium:objective_score",
            "objective": "Recaling.Timer_Extra",
            "min_score": 1,
            "max_score": 54
          }
        ]
      }
    },
       "fake_omni_timer2": {
    "type": "palladium:animation_timer",
    "icon": "minecraft:blaze_rod",
    "title": "null",
    "bar_color": "light_gray",
    "hidden": true,
    "hidden_in_bar": true,
    "list_index": -1,
    "gui_position": "null",
    "description": "null",
    "start_value": 0,
    "max_value": 4,
      "conditions": {
        "enabling": [
          {
            "type": "palladium:objective_score",
            "objective": "Recaling.Timer_Extra",
            "min_score": 55,
            "max_score": 5500
          }
        ]
      }
    },
           "check_fake_omni": {
    "type": "palladium:animation_timer",
      "icon": "omni_evo:textures/gui/icon/omnitrix_recaltion.png",
    "title": "null",
    "bar_color": "light_gray",
    "hidden": true,
    "hidden_in_bar": false,
    "list_index": 10,
    "gui_position": "null",
    "description": "null",
    "start_value": 0,
    "max_value": 10,
      "conditions": {
        "enabling": [
          {
    "type": "palladium:toggle",
    "cooldown": 0,
    "key_type": "key_bind",
    "needs_empty_hand": false,
    "allow_scrolling_when_crouching": true
}
        ],
        "unlocking":[
                    {
            "type": "palladium:objective_score",
            "objective": "Recaling.Timer_Extra",
            "min_score": 55,
            "max_score": 5500
          }
        ]
      }
    },
     "check_fake_omni_show_both_arms":   {
    "type": "palladium:show_both_arms",
    "icon": "minecraft:blaze_rod",
    "title": "Check Watch",
    "bar_color": "light_gray",
    "hidden": true,
    "hidden_in_bar": false,
    "list_index": -1,
    "gui_position": "null",
    "description": "null",
      "conditions": {
        "enabling": [
  {
    "type": "palladium:ability_enabled",
    "power": "omni_evo:recal_ability",
    "ability": "check_fake_omni"
}
        ]
      }
    },
  "recalibrate_animation":  {
    "type": "geckolib:render_layer_animation",
    "icon": "minecraft:blaze_rod",
    "title": "null",
    "bar_color": "light_gray",
    "hidden": true,
    "hidden_in_bar": true,
    "list_index": -1,
    "gui_position": "null",
    "description": "null",
    "render_layer": "omni_evo:prototype_omnitrix_recalibrate",
    "controller": "spin",
    "animation_trigger": "recalibrate",
      "conditions": {
        "enabling": [
          {
            "type": "palladium:objective_score",
            "objective": "Recaling.Timer_Extra",
            "min_score": 1,
            "max_score": 53
          }
        ]
      }
    },
   "sound": {
    "type": "palladium:command",
    "icon": "minecraft:command_block",
    "title": "null",
    "bar_color": "light_gray",
    "hidden": false,
    "hidden_in_bar": false,
    "list_index": -1,
    "gui_position": "null",
    "description": "null",
    "first_tick_commands": ["playsound alienevo:first_recal player @s ~ ~ ~ 2"],
    "last_tick_commands": [],
    "commands": [
    ],
      "conditions": {
        "enabling": [
{
    "type": "palladium:ability_enabled",
    "power": "null",
    "ability": "recalibrate_animation"
}
        ]
      }
    },
 "show_both_arms":   {
    "type": "palladium:show_both_arms",
    "icon": "minecraft:blaze_rod",
    "title": "null",
    "bar_color": "light_gray",
    "hidden": true,
    "hidden_in_bar": false,
    "list_index": -1,
    "gui_position": "null",
    "description": "null",
      "conditions": {
        "enabling": [
          {
            "type": "palladium:objective_score",
            "objective": "Recaling.Timer_Extra_Extra",
            "min_score": 1,
            "max_score": 80
          }
        ]
      }
    },
    "recalibrate_omnitrix": {
      "type": "palladium:command",
      "hidden": true,
      "icon": "omni_evo:textures/gui/icon/omnitrix_recaltion.png",
      "title": "Recalibrate Omnitrix",
      "bar_color": "black",
      "list_index": -1,
      "last_tick_commands": [],
      "commands": [
        "superpower remove alienevo:prototype_omnitrix",
        "superpower remove alienevo:quick_change",
        "superpower remove selfdestruct:prototype_omnitrix_sdm",
        "tag @s add AlienEvo.Unworthy",
        "scoreboard players set @s Recaling.Timer 5322",
        "scoreboard players set @s Recaling.Timer_Extra 5325",
        "scoreboard players set @s Recaling.Timer_Extra_Extra 5345",
        "scoreboard players set @s[tag=recalibrated_once] Recaling.Timer 55",
        "scoreboard players set @s[tag=recalibrated_once] Recaling.Timer_Extra 60",
        "scoreboard players set @s[tag=recalibrated_once] Recaling.Timer_Extra_Extra 81",
        "playsound alienevo:first_recal player @s ~ ~ ~ 2 0.95",
        "stopsound @s[tag=recalibrated_once] * alienevo:first_recal",
        "tag @s add AlienEvo.Recal.Upgrade"
      ],
      "conditions": {
        "enabling": [
          {
            "type": "palladium:action",
            "cooldown": 0,
            "key_type": "key_bind",
            "needs_empty_hand": false
          }
        ],
        "unlocking": [
          {
            "type": "palladium:or",
            "conditions": [
              {
                "type": "palladium:ability_unlocked",
                "ability": "recalibrate_unlock"
              },
              {
                "type": "palladium:has_tag",
                "tag": "recal_unlocked"
              }
            ]
          },
          {
            "type": "palladium:has_power",
            "power": "alienevo:prototype_omnitrix"
          },
          {
            "type": "palladium:ability_integer_property",
            "power": "alienevo:prototype_omnitrix",
            "ability": "settings_menu",
            "property": "value",
            "min": 10,
            "max": 10
          },
          {
            "type": "palladium:not",
            "conditions": [
              {
                "type": "palladium:or",
                "conditions": [
                  {
                    "type": "palladium:has_power",
                    "power": "selfdestruct:prototype_omnitrix_sdm"
                  },
                  {
                    "type": "palladium:has_tag",
                    "tag": "AlienEvo.RemovedCore"
                  },
                  {
                    "type": "palladium:objective_score",
                    "objective": "AlienEvo.Timer",
                    "min_score": 1,
                    "max_score": 200
                  },
                  {
                    "type": "palladium:objective_score",
                    "objective": "AlienEvo.10kPhase",
                    "min_score": 1,
                    "max_score": 1
                  }
                ]
              }
            ]
          },
          {
            "type": "palladium:not",
            "conditions": [
              {
                "type": "palladium:has_tag",
                "tag": "AlienEvo.MasterControlAnim"
              }
            ]
          }
        ]
      }
    },
    "jacket_render_layer": {
      "type": "palladium:render_layer_by_accessory_slot",
      "icon": "minecraft:blaze_rod",
      "bar_color": "light_gray",
      "hidden": true,
      "hidden_in_bar": true,
      "list_index": -1,
      "gui_position": "null",
      "description": "null",
      "default_layer": "omni_evo:ben_af_jacket",
      "accessory_slot": "omni_evo:jackets",
      "conditions": {
        "enabling": [
          {
            "type": "palladium:not",
            "conditions": [
              {
                "type": "palladium:has_tag",
                "tag": "alienevo.ultimate"
              }
            ]
          }
        ]
      }
    },
    "hide_body_parts": {
      "type": "palladium:hide_body_part",
      "icon": "minecraft:blaze_rod",
      "title": "null",
      "bar_color": "light_gray",
      "hidden": true,
      "hidden_in_bar": true,
      "list_index": -1,
      "gui_position": "null",
      "description": "null",
      "body_parts": [
        "chest_overlay",
        "right_arm_overlay",
        "left_arm_overlay"
      ],
      "affects_first_person": true,
      "conditions": {
        "enabling": [
          {
            "type": "palladium:or",
            "conditions": [
              {
                "type": "palladium:accessory_selected",
                "accessory_slot": "omni_evo:jackets",
                "accessory": "omni_evo:ben_af_jacket"
              }
            ]
          }
        ]
      }
    }
  }
}