Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.7 / Item / Items / Potion / Potion_Template.json

Potion_Template

Server/Item/Items/Potion/Potion_Template.json, 3.0 KB

Fields

FieldType
TranslationPropertiesobject
Qualitystring
PlayerAnimationsIdobject
Categoriesarray[1]
Iconstring
IconPropertiesobject
Interactionsobject
InteractionVarsobject
Utilityobject
BlockTypeobject
Consumableboolean
Tagsobject
Scalenumber
MaxStacknumber

Source

{
  "TranslationProperties": {
    "Name": "server.items.Potion_Template.name"
  },
  "Quality": "Template",
  "PlayerAnimationsId": {
    "Parent": "Item",
    "Animations": {
      "Consume": {
        "FirstPerson": "Characters/Animations/Items/Main_Handed/Item/Attacks/Drink/Drink_FPS.blockyanim",
        "ThirdPerson": "Characters/Animations/Items/Main_Handed/Item/Attacks/Drink/Drink.blockyanim",
        "Speed": 1,
        "Looping": true
      }
    }
  },
  "Categories": [
    "Items.Potions"
  ],
  "Icon": "Icons/ItemsGenerated/Potion_Template.png",
  "IconProperties": {
    "Scale": 0.9,
    "Rotation": [
      22.5,
      45,
      22.5
    ],
    "Translation": [
      0,
      -9
    ]
  },
  "Interactions": {
    "Secondary": "Root_Secondary_Consume_Potion"
  },
  "InteractionVars": {
    "RemoveEffect": {
      "Interactions": [
        {
          "Type": "Simple"
        }
      ]
    },
    "Effect": {
      "Interactions": [
        {
          "Type": "EffectCondition",
          "EntityEffectIds": [
            "Potion_Health_Regen_Greater"
          ],
          "Match": "None",
          "Next": {
            "Type": "Serial",
            "Interactions": [
              {
                "Type": "ApplyEffect",
                "EffectId": "Potion_Health_Instant_Lesser"
              },
              {
                "Type": "ApplyEffect",
                "EffectId": "Potion_Health_Regen_Lesser"
              }
            ]
          },
          "Failed": {
            "Type": "Simple"
          }
        }
      ]
    },
    "ConsumeSFX": {
      "Interactions": [
        {
          "Parent": "Consume_SFX",
          "Effects": {
            "LocalSoundEventId": "SFX_Health_Potion_Low_Drink"
          }
        }
      ]
    },
    "ConsumedSFX": {
      "Interactions": [
        {
          "Parent": "Consumed_SFX",
          "Effects": {
            "LocalSoundEventId": "SFX_Potion_Drink_Success"
          }
        }
      ]
    }
  },
  "Utility": {
    "Compatible": false
  },
  "BlockType": {
    "InteractionHint": "server.interactionHints.pickup",
    "BlockParticleSetId": "GlassMagic",
    "BlockSoundSetId": "Glass",
    "PhysicalMaterialId": "Glass",
    "CustomModel": "Items/Consumables/Potions/Potion.blockymodel",
    "CustomModelTexture": [
      {
        "Texture": "Items/Consumables/Potions/Potion_Textures/Red.png",
        "Weight": 1
      }
    ],
    "CustomModelScale": 0.5,
    "DrawType": "Model",
    "Flags": {
      "IsUsable": true
    },
    "Gathering": {
      "Harvest": {},
      "Soft": {}
    },
    "HitboxType": "Potion",
    "Material": "Empty",
    "RandomRotation": "YawStep1",
    "Opacity": "Transparent",
    "Support": {
      "Down": [
        {
          "FaceType": "Full"
        }
      ]
    },
    "ParticleColor": "#ff3730",
    "Light": {
      "Color": "#522"
    },
    "TextureComputedColor": "#A7A6A4"
  },
  "Consumable": true,
  "Tags": {
    "Type": [
      "Potion"
    ]
  },
  "Scale": 2,
  "MaxStack": 10
}