Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.1.1 / NPC / Roles / Creature / Mammal / Moose_Bull.json

Moose_Bull

Server/NPC/Roles/Creature/Mammal/Moose_Bull.json, 3.2 KB

Fields

FieldType
Typestring
Referencestring
Modifyobject
Parametersobject

Source

{
  "Type": "Variant",
  "Reference": "Template_Animal_Neutral",
  "Modify": {
    "Appearance": "Moose_Bull",
    "AttitudeGroup": "PreyBig",
    "FlockArray": [
      "Moose_Bull",
      "Moose_Cow"
    ],
    "DropList": "Drop_Moose_Bull",
    "MaxHealth": 124,
    "ViewRange": 15,
    "RunThreshold": 0.6,
    "AttackWhenStartled": true,
    "Attack": "Root_NPC_Attack_Melee",
    "ProduceItem": "Ingredient_Poop",
    "IsMemory": true,
    "MemoriesCategory": "Livestock",
    "_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": 50
              },
              "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": 18,
                "VelocityType": "Set"
              },
              "WorldSoundEventId": "SFX_Unarmed_Impact",
              "LocalSoundEventId": "SFX_Unarmed_Impact",
              "WorldParticles": [
                {
                  "SystemId": "Impact_Sword_Basic"
                }
              ]
            }
          }
        ]
      }
    },
    "NameTranslationKey": {
      "Compute": "NameTranslationKey"
    }
  },
  "Parameters": {
    "NameTranslationKey": {
      "Value": "server.npcRoles.Moose_Bull.name",
      "Description": "Translation key for NPC name display"
    }
  }
}