Hytale Asset ReferenceUnofficial
Versions / 0.5.5 / Item / Interactions / Block / Break_Treasure_Container.json

Break_Treasure_Container

Server/Item/Interactions/Block/Break_Treasure_Container.json, 713 B

Fields

FieldType
Typestring
Nextobject

Source

{
  "Type": "DestroyTreasureCondition",
  "Next": {
    "Type": "Parallel",
    "$Comment": "Make sure this parallel interaction is needed and can't be optimized away",
    "Interactions": [
      {
        "Interactions": [
          {
            "Type": "Simple",
            "RunTime": 0.1,
            "Effects": {
              "ItemAnimationId": "AttackLeft"
            }
          }
        ]
      },
      {
        "Interactions": [
          {
            "Type": "Simple",
            "RunTime": 0.1,
            "Effects": {
              "ItemAnimationId": "SwingLeft"
            },
            "Next": {
              "Type": "BreakBlock"
            }
          }
        ]
      }
    ]
  }
}