Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.8 / Item / Items / Tool / Tool_Trap_Bait.json

Tool_Trap_Bait

Server/Item/Items/Tool/Tool_Trap_Bait.json, 1.9 KB

Fields

FieldType
TranslationPropertiesobject
Modelstring
Texturestring
Qualitystring
Iconstring
Categoriesarray[1]
Recipeobject
ItemLevelnumber
PlayerAnimationsIdstring
IconPropertiesobject
Scalenumber
Interactionsobject
InteractionVarsobject
Tagsobject
ItemSoundSetIdstring

Source

{
  "TranslationProperties": {
    "Name": "server.items.Tool_Trap_Bait.name",
    "Description": "server.items.Tool_Trap_Bait.description"
  },
  "Model": "Items/Ingredients/Bait_Fruit.blockymodel",
  "Texture": "Items/Ingredients/Bait_Fruit_Texture.png",
  "Quality": "Common",
  "Icon": "Icons/ItemsGenerated/Tool_Trap_Bait.png",
  "Categories": [
    "Items.Tools"
  ],
  "Recipe": {
    "TimeSeconds": 1,
    "Input": [
      {
        "Quantity": 3,
        "ResourceTypeId": "Fruits"
      },
      {
        "ItemId": "Ingredient_Life_Essence",
        "Quantity": 5
      }
    ],
    "BenchRequirement": [
      {
        "Type": "Crafting",
        "Id": "Farmingbench",
        "Categories": [
          "Farming"
        ],
        "RequiredTierLevel": 2
      }
    ],
    "OutputQuantity": 2
  },
  "ItemLevel": 20,
  "PlayerAnimationsId": "Item",
  "IconProperties": {
    "Scale": 1.4,
    "Rotation": [
      49,
      0,
      6
    ],
    "Translation": [
      1,
      0
    ]
  },
  "Scale": 1,
  "Interactions": {
    "Secondary": "Root_ChangeFarmingStage_Set"
  },
  "InteractionVars": {
    "ChangeFarmingStage_Set": {
      "Interactions": [
        {
          "Type": "BlockCondition",
          "$Comment": "Allows bait to change the listed blocks",
          "Matchers": [
            {
              "Block": {
                "Id": "Tool_Fishing_Trap",
                "State": "default"
              }
            }
          ],
          "Next": {
            "Type": "ChangeFarmingStage",
            "Stage": 0,
            "StageSet": "Baited",
            "Effects": {
              "ItemAnimationId": "Till"
            },
            "Next": {
              "Type": "ModifyInventory",
              "AdjustHeldItemQuantity": -1
            },
            "RunTime": 0.15
          }
        }
      ]
    }
  },
  "Tags": {
    "Type": [
      "Tool"
    ],
    "Family": [
      "Bait"
    ]
  },
  "ItemSoundSetId": "ISS_Items_Foliage"
}