{
  "format_version": "1.8.0",
  "animations": {
    "animation.turtle.general": {
      "loop": true,
      "bones": {
        "body": {
          "position": [ 0.0, "query.is_pregnant ? 1.0 : 0.0", 0.0 ],
          "rotation": [ "-this", 0.0, 0.0 ]
        },
        "eggbelly": {
          "position": [ 0.0, -0.08, 0.0 ],
          "rotation": [ "-this", 0.0, 0.0 ],
          "scale": "query.is_pregnant ? 1.0 : 0.0"
        }
      }
    },
    "animation.turtle.ground_move": {
      "anim_time_update": "query.modified_distance_moved",
      "loop": true,
      "bones": {
        "leg0": {
          "rotation": [ "-this", "math.clamp(math.cos(query.anim_time * variable.timemultiplier * variable.legspeedmultiplier * 57.3 + 180) * variable.backlegmultiplier * query.modified_move_speed * 57.3, -90.0, 90.0) - this", "-this" ]
        },
        "leg1": {
          "rotation": [ "-this", "math.clamp(math.cos(query.anim_time * variable.timemultiplier * variable.legspeedmultiplier * 57.3) * variable.backlegmultiplier * query.modified_move_speed * 57.3, -90.0, 90.0) - this", "-this" ]
        },
        "leg2": {
          "rotation": [ "-this", "query.is_laying_egg ? math.cos(query.life_time * 1146.0 + 180) * 90.0 : math.clamp(math.cos(query.anim_time * variable.timemultiplier * variable.legspeedmultiplier * 57.3 + 180) * variable.frontlegmultiplier * query.modified_move_speed * 57.3, -90.0, 90.0) - this", "-this" ]
        },
        "leg3": {
          "rotation": [ "-this", "query.is_laying_egg ? math.cos(query.life_time * 1146.0) * 90.0 : math.clamp(math.cos(query.anim_time * variable.timemultiplier * variable.legspeedmultiplier * 57.3) * variable.frontlegmultiplier * query.modified_move_speed * 57.3, -90.0, 90.0) - this", "-this" ]
        }
      }
    },
    "animation.turtle.move": {
      "anim_time_update": "query.modified_distance_moved",
      "loop": true,
      "bones": {
        "leg0": {
          "rotation": [ "math.clamp(math.cos(query.anim_time * 22.92) * query.modified_move_speed * 28.65, -90.0, 90.0) - this", "-this", "-this" ]
        },
        "leg1": {
          "rotation": [ "math.clamp(math.cos(query.anim_time * 22.92 + 180) * query.modified_move_speed * 28.65, -90.0, 90.0) - this", "-this", "-this" ]
        },
        "leg2": {
          "rotation": [ "-this", "-this", "math.clamp(math.cos(query.anim_time * 22.92 + 180) * query.modified_move_speed * 28.65, -90.0, 90.0) - this" ]
        },
        "leg3": {
          "rotation": [ "-this", "-this", "math.clamp(math.cos(query.anim_time * 22.92) * query.modified_move_speed * 28.65, -90.0, 90.0) - this" ]
        }
      }
    },
    "animation.turtle.baby_move": {
      "anim_time_update": "query.modified_distance_moved",
      "loop": true,
      "bones": {
        "leg0": {
          "rotation": [ 0.0, 0.0, "math.clamp(math.cos(query.anim_time * 30 + 180) * query.modified_move_speed * 60, -90.0, 90.0)" ]
        },
        "leg1": {
          "rotation": [ 0.0, 0.0, "math.clamp(math.cos(query.anim_time * 30) * query.modified_move_speed * 60, -90.0, 90.0)" ]
        },
        "leg2": {
          "rotation": [ 0.0, "math.clamp(math.cos(query.anim_time * variable.timemultiplier * variable.legspeedmultiplier * 5 + 180) * variable.backlegmultiplier * query.modified_move_speed * 45, -90.0, 90.0)", 0.0 ]
        },
        "leg3": {
          "rotation": [ 0.0, "math.clamp(math.cos(query.anim_time * variable.timemultiplier * variable.legspeedmultiplier * 5) * variable.backlegmultiplier * query.modified_move_speed * 45, -90.0, 90.0)", 0.0 ]
        }
      }
    }
  }
}
