Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.2 / NPC / Roles / Creature / Livestock / Tamed / Tamed_Bison.json

Tamed_Bison

Server/NPC/Roles/Creature/Livestock/Tamed/Tamed_Bison.json, 3.4 KB

Fields

FieldType
Typestring
Referencestring
Modifyobject
Parametersobject

Source

{
  "Type": "Variant",
  "Reference": "Template_Livestock",
  "Modify": {
    "Appearance": "Bison",
    "AttitudeGroup": "PreyBig",
    "FlockArray": [
      "Bison",
      "Bison_Calf"
    ],
    "AttractiveItemSet": [
      "Tool_Feedbag",
      "Plant_Crop_Cauliflower_Item"
    ],
    "FollowItemDistance": [ 2, 3.5 ],
    "DropList": "Drop_Bison",
    "MaxHealth": 126,
    "ViewRange": 20,
    "ViewSector": 340,
    "HearingRange": 14,
    "AlertedRange": 24,
    "AlertedActionRange": 8,
    "AbsoluteDetectionRange": 3,
    "AttackWhenStartled": true,
    "Attack": "Root_NPC_Attack_Melee",
    "ProduceItem": "Ingredient_Poop",
    "IsMemory": true,
    "MemoriesNameOverride": "Bison",
    "_InteractionVars": {
      "Melee_Start": {
        "Interactions": [
          {
            "Parent": "NPC_Attack_Melee_Simple",
            "$Comment": "Sets animations and delay before hit",
            "Effects": {
              "ItemPlayerAnimationsId": "Cow_Default",
              "ItemAnimationId": "Kick"
            },
            "RunTime": 0.167
          }
        ]
      },
      "Melee_Selector": {
        "Interactions": [
          {
            "Parent": "NPC_Attack_Selector_Left",
            "$Comment": "Sets Hit shape and padding to allow effect to play and wait till animation is over",
            "RunTime": 0.083,
            "Selector": {
              "Id": "Stab",
              "TestLineOfSight": true,
              "ExtendTop": 0,
              "ExtendBottom": 1,
              "ExtendLeft": 0.5,
              "ExtendRight": 0.5,
              "StartDistance": 0.25,
              "EndDistance": 2.5,
              "YawOffset": 180
            },
            "Next": {
              "Type": "Simple",
              "$Comment": "Pad the interaction length",
              "RunTime": 0.167
            }
          }
        ]
      },
      "Melee_Damage": {
        "Interactions": [
          {
            "$Comment": "When NPC overrides the InteractionVars, this info in Template not applicable anymore",
            "Parent": "NPC_Livestock_Kick_Damage",
            "DamageCalculator": {
              "Type": "Absolute",
              "BaseDamage": {
                "Physical": 45
              },
              "RandomPercentageModifier": 0.1
            },
            "DamageEffects": {
              "Knockback": {
                "Type": "Force",
                "VelocityConfig": {
                  "AirResistance": 0.97,
                  "AirResistanceMax": 0.96,
                  "GroundResistance": 0.94,
                  "GroundResistanceMax": 0.3,
                  "Threshold": 3,
                  "Style": "Exp"
                },
                "Direction": {
                  "X": 0,
                  "Y": 1,
                  "Z": 2
                },
                "Force": 20,
                "VelocityType": "Set"
              },
              "WorldSoundEventId": "SFX_Unarmed_Impact",
              "LocalSoundEventId": "SFX_Unarmed_Impact",
              "WorldParticles": [
                {
                  "SystemId": "Impact_Sword_Basic"
                }
              ]
            }
          }
        ]
      }
    },
    "NameTranslationKey": {
      "Compute": "NameTranslationKey"
    }
  },
  "Parameters": {
    "NameTranslationKey": {
      "Value": "server.npcRoles.Bison.name",
      "Description": "Translation key for NPC name display"
    }
  }
}