Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.5 / Item / Items / Glider / Template_Glider.json

Template_Glider

Server/Item/Items/Glider/Template_Glider.json, 2.4 KB

Fields

FieldType
TranslationPropertiesobject
Iconstring
Modelstring
Texturestring
DroppedItemAnimationstring
Qualitystring
ItemLevelnumber
MaxStacknumber
Categoriesarray[1]
Gliderobject
Interactionsobject
ItemAppearanceConditionsobject
IconPropertiesobject
Tagsobject

Source

{
  "TranslationProperties": {
    "Name": "server.items.Template_Glider.name"
  },
  "Icon": "Icons/ItemsGenerated/Template_Glider.png",
  "Model": "Items/Glider/Glider_Inhand.blockymodel",
  "Texture": "Items/Glider/Feran_Glider_Texture.png",
  "DroppedItemAnimation": "Items/Animations/Dropped/Dropped_Diagonal_Left.blockyanim",
  "Quality": "Template",
  "ItemLevel": 40,
  "MaxStack": 1,
  "Categories": [
    "Items.Tools"
  ],
  "Glider": {
    "FallSpeedMultiplier": 50,
    "HorizontalSpeedMultiplier": 0.6,
    "TerminalVelocity": -4,
    "Speed": 10
  },
  "Interactions": {
    "Primary": {
      "RequireNewClick": true,
      "Interactions": [
        {
          "Type": "StatsCondition",
          "Costs": {
            "Stamina": 0.01
          },
          "Next": {
            "Type": "EffectCondition",
            "EntityEffectIds": [
              "Stamina_Broken"
            ],
            "Match": "None",
            "Next": {
              "Type": "ToggleGlider"
            }
          }
        }
      ]
    },
    "Secondary": {
      "Interactions": [
        {
          "Type": "StatsCondition",
          "Costs": {
            "GlidingActive": 1
          },
          "Next": {
            "Type": "ApplyForce",
            "Direction": {
              "X": 0,
              "Y": 0,
              "Z": -1
            },
            "AdjustVertical": false,
            "WaitForGround": false,
            "Force": 15,
            "Next": {
              "Type": "ChangeStat",
              "StatModifiers": {
                "Stamina": -1
              }
            }
          }
        }
      ]
    },
    "SwapFrom": {
      "Interactions": [
        {
          "Type": "StatsCondition",
          "Costs": {
            "GlidingActive": 1
          },
          "Next": {
            "Type": "ToggleGlider"
          }
        },
        {
          "Type": "ChangeActiveSlot"
        }
      ]
    }
  },
  "ItemAppearanceConditions": {
    "GlidingActive": [
      {
        "Condition": [
          1,
          1
        ],
        "Model": "Items/Glider/Glider.blockymodel",
        "Texture": "Items/Glider/Feran_Glider_Texture.png"
      }
    ]
  },
  "IconProperties": {
    "Scale": 0.25,
    "Rotation": [
      212.0,
      326.0,
      229.0
    ],
    "Translation": [
      -11.0,
      -39.0
    ]
  },
  "Tags": {
    "Type": [
      "Glider"
    ]
  }
}