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

Test_Fail_ItemInHand

Server/NPC/Roles/_Core/Tests/Failing/Test_Fail_ItemInHand.json, 1.1 KB

Fields

FieldType
TestTypestring
FailReasonstring
Typestring
Appearancestring
HotbarItemsarray[1]
MotionControllerListarray[1]
MaxHealthobject
Parametersobject
Instructionsarray[2]
NameTranslationKeystring

Source

{
  "TestType": "Failing",
  "FailReason": "The item or droplist with the name \"Weapon_Mace_Crusde\" does not exist for attribute \"HotbarItems\"",
  "Type": "Generic",
  "Appearance": "PlayerTestModel_V",
  "HotbarItems": [ "Weapon_Mace_Crusde" ],
  "MotionControllerList": [
    {
      "Type": "Walk",
      "MaxWalkSpeed": 3,
      "Gravity": 10,
      "MaxFallSpeed": 20,
      "Acceleration": 10
    }
  ],
  "MaxHealth": { "Compute": "MaxHealth" },
  "Parameters": {
    "MaxHealth": {
      "Value": 100,
      "Description": "Max health for the NPC"
    }
  },
  "Instructions": [
    {
      "Continue": true,
      "Instructions": [
        {
          "Sensor": {
            "Type": "Any"
          },
          "BodyMotion": {
            "Type": "Nothing"
          }
        }
      ]
    },
    {
      "Instructions": [
        {
          "Sensor": {
            "Type": "Any"
          },
          "Actions": [
            {
              "Type": "Nothing"
            }
          ]
        }
      ]
    }
  ],
  "NameTranslationKey": "server.npcRoles.Test_Fail_ItemInHand.name"
}