Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.9 / Item / Items / Trap / Survival_Trap_Spike_Iron.json

Survival_Trap_Spike_Iron

Server/Item/Items/Trap/Survival_Trap_Spike_Iron.json, 2.0 KB

Fields

FieldType
TranslationPropertiesobject
Iconstring
Categoriesarray[1]
Recipeobject
BlockTypeobject
PlayerAnimationsIdstring
Tagsobject

Source

{
  "TranslationProperties": {
    "Name": "server.items.Survival_Trap_Spike_Iron.name"
  },
  "Icon": "Icons/ItemsGenerated/Trap_Spikes_Metal.png",
  "Categories": [
    "Blocks.Deco"
  ],
  "Recipe": {
    "TimeSeconds": 1,
    "Input": [
      {
        "ItemId": "Ingredient_Bar_Iron",
        "Quantity": 1
      }
    ],
    "BenchRequirement": [
      {
        "Id": "Workbench",
        "Type": "Crafting",
        "Categories": [
          "Workbench_Tinkering"
        ]
      }
    ]
  },
  "BlockType": {
    "DrawType": "Model",
    "Opacity": "Transparent",
    "CustomModel": "Blocks/Tinkering/Traps/Spikes.blockymodel",
    "CustomModelTexture": [
      {
        "Texture": "Blocks/Tinkering/Traps/Spikes_Iron.png",
        "Weight": 1
      }
    ],
    "Flags": {},
    "RandomRotation": "YawStep90",
    "HitboxType": "Block_Three_Quarter",
    "Gathering": {
      "Breaking": {
        "GatherType": "SoftBlocks"
      }
    },
    "BlockParticleSetId": "Metal",
    "BlockSoundSetId": "Metal",
    "PhysicalMaterialId": "Metal",
    "Support": {
      "Down": [
        {
          "FaceType": "Full"
        }
      ]
    },
    "Interactions": {
      "Collision": {
        "Cooldown": {
          "Id": "SlowEffect",
          "Cooldown": 1
        },
        "Interactions": [
          {
            "Type": "Condition",
            "RequiredGameMode": "Adventure",
            "Next": {
              "Type": "ApplyEffect",
              "EffectId": {
                "Locale": "spikes",
                "Duration": 0.1,
                "OverlapBehavior": "Overwrite",
                "DamageCalculator": {
                  "BaseDamage": {
                    "Physical": 25
                  }
                }
              }
            }
          }
        ]
      }
    },
    "ParticleColor": "#acacac",
    "VariantRotation": "DoublePipe",
    "TextureComputedColor": "#9E9E9E"
  },
  "PlayerAnimationsId": "Block",
  "Tags": {
    "Type": [
      "Trap"
    ]
  }
}