Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.3 / NPC / Roles / _Core / BlankTemplate.json

BlankTemplate

Server/NPC/Roles/_Core/BlankTemplate.json, 775 B

Fields

FieldType
$Commentstring
Typestring
Parametersobject
MotionControllerListarray[1]
Appearancestring
MaxHealthobject
StartStatestring
Instructionsarray[1]
NameTranslationKeyobject

Source

{
  "$Comment": "DisplayState",
  "Type": "Abstract",
  "Parameters": {
    "MaxHealth": {
      "Value": 100,
      "Description": "Max health for the NPC"
    },
    "NameTranslationKey": {
      "Value": "server.npcRoles.BlankTemplate.name",
      "Description": "Translation key for NPC name display"
    }
  },
  "MotionControllerList": [
    {
      "Type": "Walk",
      "MaxWalkSpeed": 3,
      "Gravity": 10,
      "MaxFallSpeed": 8,
      "Acceleration": 10
    }
  ],
  "Appearance": "Sheep",
  "MaxHealth": { "Compute": "MaxHealth" },
  "StartState": "start",
  "Instructions": [
    {
      "Sensor": {
        "Type": "Any"
      },
      "BodyMotion": {
        "Type": "Nothing"
      }
    }
  ],
  "NameTranslationKey": { "Compute": "NameTranslationKey" }
}