Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.3 / Item / Interactions / Consumables / Consume_Charge_Food / Consume_Charge_Food_T3_Inner.json

Consume_Charge_Food_T3_Inner

Server/Item/Interactions/Consumables/Consume_Charge_Food/Consume_Charge_Food_T3_Inner.json, 1.0 KB

Fields

FieldType
Typestring
FailOnDamageboolean
Effectsobject
HorizontalSpeedMultipliernumber
Nextobject
Failedobject

Source

{
  "Type": "Charging",
  "FailOnDamage": true,
  "Effects": {
    "ItemAnimationId": "Consume",
    "ClearAnimationOnFinish": true,
    "ClearSoundEventOnFinish": true
  },
  "HorizontalSpeedMultiplier": 0.4,
  "Next": {
    "3.0": {
      "Type": "ModifyInventory",
      "AdjustHeldItemQuantity": -1,
      "Next": {
        "Type": "Serial",
        "Interactions": [
          {
            "Type": "Replace",
            "Var": "ConsumedSFX",
            "DefaultOk": true,
            "DefaultValue": {
              "Interactions": [
                "Consumed_SFX"
              ]
            }
          },
          {
            "Type": "Replace",
            "DefaultValue": {
              "Interactions": [
                "Effect"
              ]
            },
            "Var": "Effect"
          },
          {
            "Type": "Simple",
            "RunTime": 0.2,
            "$Comment": "Delay before next consume cycle can start to prevent sound overlap"
          }
        ]
      }
    }
  },
  "Failed": {
    "Type": "Simple"
  }
}