{
  "code": "bow",
  "class": "CombatOverhaul:Bow",
  "tags": ["weapon", "weapon-ranged", "bow"],
  "variantgroups": [{"code": "type", "states": ["crude", "simple", "long", "recurve"]}],
  "creativeinventory": {"general": ["*"], "items": ["*"], "tools": ["*"], "combatoverhaul": ["*"]},
  "maxstacksize": 1,
  "durabilityByType": {"*-crude": 180, "*-simple": 240, "*-long": 750, "*-recurve": 600},
  "tool": "bow",
  "behaviors": [
    {"name": "CombatOverhaul:AnimatableAttachable", "properties": {"animated-shape": "combatoverhaul:weapons/bows/{type}"}},
    {
      "name": "GroundStorable",
      "properties": {
        "layout": "WallHalves",
        "wallOffY": 2,
        "sprintKey": true,
        "selectionBox": {"x1": 0, "y1": 0, "z1": 0, "x2": 1, "y2": 0.1, "z2": 1},
        "collisionBox": {"x1": 0, "y1": 0, "z1": 0, "x2": 0, "y2": 0, "z2": 0}
      }
    }
  ],
  "attributes": {
    "toolrackTransformByType": {
      "*-crude": {"translation": {"x": -0.2, "y": 1.3, "z": 0.5}, "rotation": {"x": 90, "y": -5, "z": 0}, "origin": {"x": 0, "y": 0, "z": 0}, "scale": 1.4},
      "*-simple": {"translation": {"x": -0.2, "y": 1.3, "z": 0.5}, "rotation": {"x": 90, "y": -5, "z": 0}, "origin": {"x": 0, "y": 0, "z": 0}, "scale": 1.4},
      "*-long": {"translation": {"x": -0.2, "y": 1.3, "z": 0.5}, "rotation": {"x": 90, "y": -5, "z": 0}, "origin": {"x": 0, "y": 0, "z": 0}, "scale": 1.4},
      "*-recurve": {"translation": {"x": -0.2, "y": 1.3, "z": 0.5}, "rotation": {"x": 90, "y": -5, "z": 0}, "origin": {"x": 0, "y": 0, "z": 0}, "scale": 1.4}
    },
    "groundStorageTransformByType": {
      "*-crude": {"translation": {"x": 0.5, "y": 0.05, "z": 0.35}, "rotation": {"x": 9, "y": 180, "z": 88}, "origin": {"x": 0, "y": 0, "z": 0.5}},
      "*-simple": {"translation": {"x": 0.5, "y": 0.35, "z": 0.35}, "rotation": {"x": 9, "y": 180, "z": 88}, "origin": {"x": 0, "y": 0, "z": 0.5}},
      "*-long": {"translation": {"x": 0.5, "y": 0.6, "z": 0.3}, "rotation": {"x": 9, "y": 180, "z": 88}, "origin": {"x": 0, "y": 0, "z": 0.5}},
      "*-recurve": {"translation": {"x": 0.5, "y": 0.35, "z": 0.3}, "rotation": {"x": 9, "y": 180, "z": 88}, "origin": {"x": 0, "y": 0, "z": 0.5}}
    },
    "ArrowWildcard": "*arrow-*",
    "ArrowTransform": {"translation": {"x": -3, "y": 0.3, "z": 0}, "rotation": {"x": 0, "y": 0, "z": 1}, "scale": 0.75},
    "ArrowDamageMultiplierByType": {"*-crude": 0.8, "*-simple": 1, "*-long": 1.8, "*-recurve": 1.3},
    "ArrowDamageTierByType": {"*-crude": 1, "*-simple": 2, "*-long": 4, "*-recurve": 4},
    "ArrowVelocityByType": {"*-crude": 1.2, "*-simple": 1.5, "*-long": 2.4, "*-recurve": 1.95},
    "ProficiencyStat": "bowsProficiency",
    "ReadyAnimation": "combatoverhaul:bow-ready",
    "IdleAnimation": "combatoverhaul:bow-idle",
    "WalkAnimation": "combatoverhaul:bow-walk",
    "RunAnimation": "combatoverhaul:bow-run",
    "SwimAnimation": "combatoverhaul:bow-swim",
    "SwimIdleAnimation": "combatoverhaul:bow-swimidle",
    "LoadAnimation": "combatoverhaul:bow-load-{type}",
    "DrawAnimation": "combatoverhaul:bow-draw-{type}",
    "DrawAfterLoadAnimation": "combatoverhaul:bow-draw-short-{type}",
    "ReleaseAnimation": "combatoverhaul:bow-release-{type}",
    "TpAimAnimationByType": {"*-crude": "bowaimcrude", "*-simple": "bowaim", "*-long": "bowaimlong", "*-recurve": "bowaimrecurve"},
    "ZeroingByType": {"*-crude": 1, "*-simple": 1, "*-long": 0.5, "*-recurve": 0.5},
    "ScreenShakeStrengthByType": {"*-crude": 0, "*-simple": 0.1, "*-long": 0.25, "*-recurve": 0.15},
    "TwoHanded": true,
    "AimingByType": {
      "*-crude": {
        "AimDifficulty": 1,
        "CursorType": "Moving",
        "AccuracyOvertimeSec": 12,
        "CursorTextureReady": "combatoverhaul:gui/aiming/arrow-full.png",
        "CursorTextureNotReady": "combatoverhaul:gui/aiming/arrow-part.png",
        "AllowSprint": false,
        "MoveSpeedPenalty": 0.4,
        "AimDrift": 130,
        "AimTwitch": 32,
        "AnimationFollowX": 7.5,
        "AnimationFollowY": 7,
        "VerticalLimit": 0.25,
        "VerticalOffset": -0.05
      },
      "*-simple": {
        "AimDifficulty": 1,
        "CursorType": "Moving",
        "AccuracyOvertimeSec": 8,
        "CursorTextureReady": "combatoverhaul:gui/aiming/arrow-full.png",
        "CursorTextureNotReady": "combatoverhaul:gui/aiming/arrow-part.png",
        "AllowSprint": false,
        "MoveSpeedPenalty": 0.4,
        "AimDrift": 130,
        "AimTwitch": 32,
        "AnimationFollowX": 6.3,
        "AnimationFollowY": 6.2,
        "VerticalLimit": 0.25,
        "VerticalOffset": -0.05
      },
      "*-long": {
        "AimDifficulty": 1,
        "CursorType": "Moving",
        "AccuracyOvertimeSec": 6,
        "CursorTextureReady": "combatoverhaul:gui/aiming/arrow-full.png",
        "CursorTextureNotReady": "combatoverhaul:gui/aiming/arrow-part.png",
        "AllowSprint": false,
        "MoveSpeedPenalty": 0.7,
        "AimDrift": 150,
        "AimTwitch": 45,
        "AnimationFollowX": 5.5,
        "AnimationFollowY": 5.4,
        "VerticalLimit": 0.25,
        "VerticalOffset": -0.05
      },
      "*-recurve": {
        "AimDifficulty": 1,
        "CursorType": "Moving",
        "AccuracyOvertimeSec": 8,
        "CursorTextureReady": "combatoverhaul:gui/aiming/arrow-full.png",
        "CursorTextureNotReady": "combatoverhaul:gui/aiming/arrow-part.png",
        "AllowSprint": false,
        "MoveSpeedPenalty": 0,
        "AimDrift": 180,
        "AimTwitch": 35,
        "AnimationFollowX": 6.5,
        "AnimationFollowY": 6.1,
        "VerticalLimit": 0.25,
        "VerticalOffset": -0.05
      }
    }
  },
  "shape": {"base": "combatoverhaul:weapons/bows/{type}"},
  "guiTransformByType": {
    "*-crude": {"translation": {"x": 0, "y": 0, "z": 0}, "rotation": {"x": -95, "y": 45, "z": 37}, "origin": {"x": 0.47, "y": 0, "z": 0.55}, "scale": 2},
    "*-simple": {"translation": {"x": 0, "y": 0, "z": 0}, "rotation": {"x": -129, "y": 25, "z": 41}, "origin": {"x": 0.47, "y": 0, "z": 0.55}, "scale": 1.26},
    "*-long": {"translation": {"x": 0, "y": 0, "z": 0}, "rotation": {"x": -135, "y": 25, "z": 41}, "origin": {"x": 0.47, "y": 0, "z": 0.59}, "scale": 0.92},
    "*-recurve": {"translation": {"x": 0, "y": 0, "z": 0}, "rotation": {"x": -129, "y": 25, "z": 41}, "origin": {"x": 0.47, "y": 0, "z": 0.55}, "scale": 1.19}
  },
  "groundTransform": {"translation": {"x": 0, "y": 0, "z": 0}, "rotation": {"x": 0, "y": 0, "z": 0}, "origin": {"x": 0.5, "y": 0, "z": 0.5}, "scale": 4},
  "tpHandTransformByType": {
    "*-recurve": {"translation": {"x": -0.58, "y": 0.03, "z": -0.5}, "rotation": {"x": 90, "y": 0, "z": 0}, "origin": {"x": 0.5, "y": 0, "z": 0.5}, "scale": 1},
    "*-long": {"translation": {"x": -0.58, "y": 0.03, "z": -0.5}, "rotation": {"x": 90, "y": 0, "z": 0}, "origin": {"x": 0.5, "y": 0, "z": 0.5}, "scale": 1},
    "*-simple": {"translation": {"x": -0.58, "y": 0.03, "z": -0.5}, "rotation": {"x": 90, "y": 0, "z": 0}, "origin": {"x": 0.5, "y": 0, "z": 0.5}, "scale": 1},
    "*-crude": {"translation": {"x": -0.58, "y": 0.03, "z": -0.5}, "rotation": {"x": 90, "y": 0, "z": 0}, "origin": {"x": 0.5, "y": 0, "z": 0.5}, "scale": 1}
  }
}