Hytale Asset ReferenceUnofficial
Versions / 0.5.7 / NPC / Roles / Creature / Mammal / Fox.json

Fox

Server/NPC/Roles/Creature/Mammal/Fox.json, 2.2 KB

Fields

FieldType
Typestring
Referencestring
Modifyobject
Parametersobject

Source

{
  "Type": "Variant",
  "Reference": "Template_Predator",
  "Modify": {
    "Appearance": "Fox",
    "DropList": "Drop_Fox",
    "MaxHealth": 38,
    "MaxSpeed": 8,
    "WanderRadius": 10,
    "ViewRange": 12,
    "HearingRange": 8,
    "AbsoluteDetectionRange": 2,
    "AlertedRange": 18,
    "AlertedTime": [
      2,
      3
    ],
    "MaintainDistanceWhileAlerted": false,
    "ThreatenDelayRange": [
      2,
      2
    ],
    "ThreatenAnimation": "Threaten",
    "FleeIfNotThreatened": true,
    "FleeRange": 15,
    "HardLeashDistance": 60,
    "LeashDistance": 30,
    "LeashMinPlayerDistance": 7,
    "LeashTimer": [
      4,
      5
    ],
    "Attack": "Root_NPC_Fox_Attack",
    "AttackDistance": 2.5,
    "CombatBehaviorDistance": 6,
    "CombatDirectWeight": 0,
    "CombatStrafeWeight": 10,
    "CombatBackOffAfterAttack": false,
    "ChaseRelativeSpeed": 1,
    "CombatMovingRelativeSpeed": 0.6,
    "AlwaysSleepAtNight": false,
    "NightFlavorAnimation": "Howl",
    "DayTimeNapWeight": 6,
    "DayTimeNapTimeRange": [
      10,
      12
    ],
    "TimidDuringDay": true,
    "IsMemory": true,
    "MemoriesCategory": "Predator",
    "_InteractionVars": {
      "Melee_Start": {
        "Interactions": [
          {
            "Parent": "Fox_Bite",
            "$Comment": "Sets animations and delay before hit",
            "Effects": {
              "ItemPlayerAnimationsId": "Fox_Default",
              "ItemAnimationId": "Bite"
            },
            "RunTime": 0.167
          }
        ]
      },
      "Bite_Damage": {
        "Interactions": [
          {
            "Parent": "Fox_Bite_Damage",
            "DamageCalculator": {
              "Type": "Absolute",
              "BaseDamage": {
                "Physical": 17
              },
              "RandomPercentageModifier": 0.1
            },
            "DamageEffects": {
              "Knockback": {
                "Force": 0.5
              }
            }
          }
        ]
      }
    },
    "NameTranslationKey": {
      "Compute": "NameTranslationKey"
    }
  },
  "Parameters": {
    "NameTranslationKey": {
      "Value": "server.npcRoles.Fox.name",
      "Description": "Translation key for NPC name display"
    }
  }
}