Hytale Asset ReferenceUnofficial
Versions / 0.4.1 / NPC / Roles / _Core / Tests / Test_Hover_Parrot.json

Test_Hover_Parrot

Server/NPC/Roles/_Core/Tests/Test_Hover_Parrot.json, 1.1 KB

Fields

FieldType
Typestring
$Commentstring
Appearancestring
MotionControllerListarray[1]
TestTypestring
MaxHealthobject
Parametersobject
Instructionsarray[2]
NameTranslationKeystring

Source

{
  "Type": "Generic",
  "$Comment": "DoubleTestCheck",
  "Appearance": "Parrot",
  "MotionControllerList": [
    {
      "Type": "Walk",
      "MaxWalkSpeed": 2,
      "Gravity": 10,
      "MaxFallSpeed": 8,
      "Acceleration": 10,
      "MinHover": 0.1,
      "MinHoverDrop": 0.1,
      "MinHoverClimb": 0.1,
      "MaxHover": 1.5,
      "HoverFreq": 0.2
    }
  ],
  "TestType": "Normal",
  "MaxHealth": { "Compute": "MaxHealth" },
  "Parameters": {
    "MaxHealth": {
      "Value": 100,
      "Description": "Max health for the NPC"
    }
  },
  "Instructions": [
    {
      "Continue": true,
      "Instructions": [
        {
          "Sensor": {
            "Type": "Any"
          },
          "BodyMotion": {
            "Type": "Wander",
            "RelativeSpeed": 1,
            "MinWalkTime": 0.5
          }
        }
      ]
    },
    {
      "Instructions": [
        {
          "Sensor": {
            "Type": "Any"
          },
          "Actions": [
            {
              "Type": "Nothing"
            }
          ]
        }
      ]
    }
  ],
  "NameTranslationKey": "server.npcRoles.Test_Hover_Parrot.name"
}