Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.8.1 / NPC / Roles / _Core / Tests / Test_Throw_NPC.json

Test_Throw_NPC

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

Fields

FieldType
Typestring
Appearancestring
DisplayNamesarray[1]
MotionControllerListarray[1]
TestTypestring
MaxHealthobject
Parametersobject
Instructionsarray[1]
NameTranslationKeystring

Source

{
  "Type": "Generic",
  "Appearance": "Sheep",
  "DisplayNames": [ "Normal Sheep" ],
  "MotionControllerList": [
    {
      "Type": "Walk",
      "MaxWalkSpeed": 3,
      "RunThreshold": 0.7,
      "RunThresholdRange": 0.1,
      "Gravity": 10,
      "MaxFallSpeed": 20,
      "Acceleration": 10
    }
  ],
  "TestType": "Normal",
  "MaxHealth": { "Compute": "MaxHealth" },
  "Parameters": {
    "MaxHealth": {
      "Value": 100,
      "Description": "Max health for the NPC"
    }
  },
  "Instructions": [
    {
      "Instructions": [
        {
          "Sensor": {
            "Type": "Player",
            "Range": 10
          },
          "Actions": [
            {
              "Type": "Timeout",
              "Delay": [ 2, 2 ],
              "Action": {
                "Type": "Spawn",
                "CountRange": [ 1, 1 ],
                "Kind": "Spider",
                "LaunchAtTarget": true,
                "LaunchSpread": 1
              }
            }
          ],
          "HeadMotion": {
            "Type": "Watch"
          }
        }
      ]
    }
  ],
  "NameTranslationKey": "server.npcRoles.Test_Throw_NPC.name"
}