Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.9.1 / Item / Items / Weapon / Shortbow / Weapon_Shortbow_Test_Zoom.json

Weapon_Shortbow_Test_Zoom

Server/Item/Items/Weapon/Shortbow/Weapon_Shortbow_Test_Zoom.json, 2.7 KB

Fields

FieldType
$Commentstring
TranslationPropertiesobject
Parentstring
Qualitystring
Iconstring
Modelstring
Texturestring
ItemLevelnumber
Interactionsobject
ItemAppearanceConditionsobject
MaxDurabilitynumber
DurabilityLossOnHitnumber

Source

{
  "$Comment": "Test item: a shortbow that zooms while aiming/shooting (see Root_Test_Zoom_Bow_Primary_Shoot). Only the Primary (shoot) interaction differs from a normal shortbow - it runs a dedicated shoot chain whose draw step carries a persistent zoom.",
  "TranslationProperties": {
    "Name": "server.items.Weapon_Shortbow_Test_Zoom.name",
    "Description": "server.items.Weapon_Shortbow_Test_Zoom.description"
  },
  "Parent": "Template_Weapon_Shortbow",
  "Quality": "Developer",
  "Icon": "Icons/ItemsGenerated/Weapon_Bow_Frost.png",
  "Model": "Items/Weapons/Bow/Frost.blockymodel",
  "Texture": "Items/Weapons/Bow/Frost_Texture.png",
  "ItemLevel": 9,
  "Interactions": {
    "Primary": "Root_Test_Zoom_Bow_Primary_Shoot",
    "Secondary": "Root_Weapon_Shortbow_Secondary_Guard",
    "Ability1": "Root_Weapon_Shortbow_Signature_Volley",
    "SwapFrom": {
      "Interactions": [
        {
          "Type": "StatsCondition",
          "Costs": {
            "Ammo": 1
          },
          "Next": {
            "Type": "ModifyInventory",
            "RequiredGameMode": "Adventure",
            "ItemToAdd": {
              "Id": "Weapon_Arrow_Crude",
              "Quantity": 1
            }
          }
        },
        {
          "Type": "ChangeActiveSlot"
        }
      ]
    }
  },
  "ItemAppearanceConditions": {
    "SignatureCharges": [
      {
        "Condition": [
          1,
          100
        ],
        "ConditionValueType": "Percent",
        "Model": "Items/Weapons/Bow/Frost_Triple.blockymodel",
        "Texture": "Items/Weapons/Bow/Frost_Texture.png",
        "LocalSoundEventId": "SFX_Bow_T2_Signature_Loop_Local",
        "WorldSoundEventId": "SFX_Bow_T2_Signature_Loop",
        "Particles": [
          {
            "SystemId": "Bow_Signature_Charge",
            "TargetNodeName": "ARROW-PLACEHOLDER",
            "PositionOffset": {
              "X": 0.5,
              "Y": 0.25,
              "Z": 0
            },
            "Scale": 0.5,
            "TargetEntityPart": "PrimaryItem"
          },
          {
            "SystemId": "Bow_Signature_Charge",
            "TargetNodeName": "ARROW-PLACEHOLDER",
            "PositionOffset": {
              "X": 0.5,
              "Y": 0,
              "Z": 0
            },
            "Scale": 0.5,
            "TargetEntityPart": "PrimaryItem"
          },
          {
            "SystemId": "Bow_Signature_Charge",
            "TargetNodeName": "ARROW-PLACEHOLDER",
            "PositionOffset": {
              "X": 0.5,
              "Y": -0.25,
              "Z": 0
            },
            "Scale": 0.5,
            "TargetEntityPart": "PrimaryItem"
          }
        ],
        "ModelVFXId": "Bow_Signature_Status"
      }
    ]
  },
  "MaxDurability": 80,
  "DurabilityLossOnHit": 0.58
}