Hytale Asset ReferenceUnofficial
Versions / 0.5.0-pre.8 / Item / Items / MISC / Bandage_Potion_Test.json

Bandage_Potion_Test

Server/Item/Items/MISC/Bandage_Potion_Test.json, 3.0 KB

Fields

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

Source

{
  "TranslationProperties": {
    "Name": "server.items.Bandage_Potion_Test.name"
  },
  "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/Bandage_Crude.png",
  "IconProperties": {
    "Scale": 0.8,
    "Rotation": [
      27,
      163,
      19
    ],
    "Translation": [
      -6,
      -9
    ]
  },
  "Recipe": {
    "Input": [
      {
        "ItemId": "Ingredient_Fibre",
        "Quantity": 6
      },
      {
        "ItemId": "Ingredient_Tree_Sap",
        "Quantity": 3
      }
    ]
  },
  "Interactions": {
    "Secondary": {
      "RequireNewClick": false,
      "Interactions": [
        {
          "Type": "Condition",
          "RequiredGameMode": "Adventure",
          "Crouching": false,
          "Next": {
            "Type": "Replace",
            "DefaultValue": {
              "Interactions": [
                "Stat_Check"
              ]
            },
            "Var": "Stat_Check"
          },
          "Failed": "Block_Secondary"
        }
      ]
    }
  },
  "InteractionVars": {
    "RemoveEffect": {
      "Interactions": [
        {
          "Type": "Simple"
        }
      ]
    },
    "Effect": {
      "Interactions": [
        {
          "Type": "ApplyEffect",
          "EffectId": {
            "StatModifiers": {
              "Health": 30
            },
            "StatusEffectIcon": "UI/StatusEffects/Health_Potion.png",
            "OverlapBehavior": "Extend"
          }
        }
      ]
    },
    "Stat_Check": {
      "Interactions": [
        {
          "Parent": "Stat_Check",
          "Costs": {
            "Health": 100
          },
          "ValueType": "Percent",
          "LessThan": true
        }
      ]
    }
  },
  "Utility": {
    "Compatible": false
  },
  "BlockType": {
    "BlockParticleSetId": "Dust",
    "CustomModel": "Items/Consumables/FirstAid/Bandage2.blockymodel",
    "CustomModelTexture": [
      {
        "Texture": "Items/Consumables/FirstAid/Bandage2_Texture.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"
    }
  },
  "Quality": "Developer",
  "Consumable": true,
  "MaxDurability": 1,
  "DurabilityLossOnDeath": false,
  "Tags": {
    "Type": [
      "Potion"
    ]
  },
  "Scale": 2,
  "MaxStack": 10
}