Hytale Asset ReferenceUnofficial
Versions / 0.5.3 / Item / Interactions / SpawnNPC / SpawnNPC_Default.json

SpawnNPC_Default

Server/Item/Interactions/SpawnNPC/SpawnNPC_Default.json, 450 B

Fields

FieldType
$Commentstring
Typestring
Nextobject

Source

{
  "$Comment": "Default SpawnNPC interaction chain. Items should provide InteractionVars to customize the NPC spawned.",
  "Type": "Condition",
  "Next": {
    "Type": "Replace",
    "$Comment": "Block condition check - can be overridden to require specific blocks (e.g. water)",
    "Var": "SpawnNPC_BlockCondition",
    "DefaultOk": true,
    "DefaultValue": {
      "Interactions": [
        "SpawnNPC_BlockCondition_Default"
      ]
    }
  }
}