Hytale Asset ReferenceUnofficial
Versions / 0.5.4 / NPC / Roles / Intelligent / Aggressive / Trork / Templates / Template_Trork_Mage.json

Template_Trork_Mage

Server/NPC/Roles/Intelligent/Aggressive/Trork/Templates/Template_Trork_Mage.json, 30.9 KB

Fields

FieldType
Typestring
StartStatestring
DefaultNPCAttitudestring
DefaultPlayerAttitudestring
BusyStatesarray[3]
AttitudeGroupobject
Parametersobject
IsMemoryobject
MemoriesCategoryobject
MemoriesNameOverrideobject
Appearanceobject
DropListobject
DisableDamageGroupsobject
HotbarItemsobject
HotbarSizenumber
KnockbackScalenumber
MotionControllerListarray[1]
MaxHealthobject
Instructionsarray[3]
NameTranslationKeyobject

Source

{
  "Type": "Abstract",
  "StartState": "Idle",
  "DefaultNPCAttitude": "Ignore",
  "DefaultPlayerAttitude": "Hostile",
  "BusyStates": [ "Combat", "Search", "ReturnHome" ],
  "AttitudeGroup": { "Compute": "AttitudeGroup" },
  "Parameters": {
    "Appearance": {
      "Value": "Trork_Shaman",
      "Description": "Model to be used"
    },
    "IdleMotionComponent": {
      "Value": "Component_Trork_Instruction_Idle_Motion_Wander",
      "Description": "The component that controls how the NPC moves during idle state"
    },
    "ViewRange": {
      "Value": 15,
      "Description": "View range"
    },
    "ViewSector": {
      "Value": 180,
      "Description": "View sector"
    },
    "HearingRange": {
      "Value": 8,
      "Description": "Hearing range"
    },
    "AlertedRange": {
      "Value": 50,
      "Description": "A range within which the player can be seen/sensed when the NPC is alerted to their presence"
    },
    "TooCloseDistance": {
      "Value": 5,
      "Description": "The distance before the NPC flees from the target"
    },
    "CloseRange": {
      "Value": 10,
      "Description": "The distance the NPC considers to be close to the target"
    },
    "CloseRangeSequence": {
      "Value": "Component_Instruction_Flee_Trork_Shaman",
      "Description": "The sequence to run when the target is in close range"
    },
    "LeashDistance": {
      "Value": 30,
      "Description": "The range after which an NPC will start to want to return to their spawn point"
    },
    "LeashMinPlayerDistance": {
      "Value": 16,
      "Description": "The minimum distance from the player before the NPC will be willing to give up on the chase"
    },
    "LeashTimer": {
      "Value": [ 8, 8 ],
      "Description": "How long the NPC must be more than the minimum distance form the player and too far from leash before giving up"
    },
    "DropList": {
      "Value": "Empty",
      "Description": "Drop Items"
    },
    "MaxSpeed": {
      "Value": 8,
      "Description": "Maximum walking speed"
    },
    "Weapons": {
      "Value": [ "Weapon_Staff_Crystal_Fire_Trork", "Weapon_Staff_Crystal_Fire_Trork" ],
      "Description": "NPC Weapon"
    },
    "RangedAttack": {
      "Value": "NPC_Rubble_Throw",
      "Description": "Ranged attack"
    },
    "RangedAttackSequence": {
      "Value": "Component_Instruction_Attack_Sequence_Temp_Ranged",
      "Description": "The ranged attack sequence to use"
    },
    "DesiredRangedAttackDistanceRange": {
      "Value": [ 10, 15 ],
      "Description": "Desired ranged attack distance range"
    },
    "VisitFrequency": {
      "Value": [ 150, 150 ],
      "Description": "The frequency with which the NPC will visit other NPCs in the area"
    },
    "TargetGroups": {
      "Value": [ "Trork" ],
      "Description": "Beacon target groups"
    },
    "ChestBlockSet": {
      "Value": "Trork_Chest",
      "Description": "The block set designating chests for this NPC"
    },
    "BedBlockSet": {
      "Value": "Trork_Bedroll",
      "Description": "The block set designating bedrolls for this NPC"
    },
    "CampfireBlockSet": {
      "Value": "Trork_Campfire",
      "Description": "The block set designating campfires for this NPC"
    },
    "UnderlingGroups": {
      "Value": [ "Trork_Underlings" ],
      "Description": "A list of groups to exclude from reputation sensors"
    },
    "DisableDamageGroups": {
      "Value": [ "Self", "Trork" ],
      "Description": "Groups not to take damage from"
    },
    "SummonKind": {
      "Value": "Wolf_Trork_Shaman",
      "Description": "The NPC to summon"
    },
    "AttitudeGroup": {
      "Value": "Trork",
      "Description": "Attitude group"
    },
    "CombatRelativeTurnSpeed": {
      "Value": 1.5,
      "Description": "Modifier that decides turn speed difference in combat"
    },
    "MaxHealth": {
      "Value": 100,
      "Description": "Max health for the NPC"
    },
    "IsMemory": {
      "Value": false,
      "Description": "Defines if the NPC is a memory"
    },
    "MemoriesCategory": {
      "Value": "Other",
      "Description": "Defines the category of the memory"
    },
    "MemoriesNameOverride": {
      "Value": "",
      "Description": "Overrides the memory name if set"
    },
    "NameTranslationKey": {
      "Value": "server.npcRoles.Template.name",
      "Description": "Translation key for NPC name display"
    }
  },
  "IsMemory": { "Compute": "IsMemory" },
  "MemoriesCategory": { "Compute": "MemoriesCategory" },
  "MemoriesNameOverride": { "Compute": "MemoriesNameOverride" },
  "Appearance": { "Compute": "Appearance" },
  "DropList": { "Compute": "DropList" },
  "DisableDamageGroups": { "Compute": "DisableDamageGroups" },
  "HotbarItems": { "Compute": "Weapons" },
  "HotbarSize": 5,
  "KnockbackScale": 0.5,
  "MotionControllerList": [
    {
      "Type": "Walk",
      "MaxWalkSpeed": { "Compute": "MaxSpeed" },
      "Gravity": 10,
      "RunThreshold": 0.3,
      "MaxFallSpeed": 15,
      "MaxRotationSpeed": 360,
      "Acceleration": 10,
      "MinJumpHeight": 0.8
    }
  ],
  "MaxHealth": { "Compute": "MaxHealth" },
  "Instructions": [
    {
      "Continue": true,
      "Instructions": [
        {
          "Continue": true,
          "Sensor": {
            "Type": "Any",
            "Once": true
          },
          "Actions": [
            {
              "Type": "Inventory",
              "Operation": "EquipHotbar",
              "Slot": 0,
              "UseTarget": false
            }
          ]
        }
      ]
    },
    {
      "Continue": true,
      "Instructions": [
        {
          "Sensor": {
            "Type": "And",
            "Sensors": [
              {
                "Type": "Beacon",
                "Message": "TrorkEnemySighted",
                "TargetSlot": "LockedTarget"
              },
              {
                "Type": "Not",
                "Sensor": {
                  "Type": "Or",
                  "Sensors": [
                    {
                      "Type": "State",
                      "State": "Converge"
                    },
                    {
                      "Type": "State",
                      "State": "Combat"
                    }
                  ]
                }
              }
            ]
          },
          "Actions": [
            {
              "Type": "State",
              "State": "Converge"
            }
          ]
        }
      ]
    },
    {
      "Instructions": [
        {
          "Sensor": {
            "Type": "State",
            "State": "Idle"
          },
          "Instructions": [
            {
              "Sensor": {
                "Type": "State",
                "State": ".Visit"
              },
              "Instructions": [
                {
                  "Sensor": {
                    "Once": true,
                    "Type": "Animation",
                    "Slot": "Status",
                    "Animation": "Sleep"
                  },
                  "Actions": [
                    {
                      "Type": "State",
                      "State": ".Wake"
                    }
                  ]
                },
                {
                  "Reference": "Component_Instruction_Clear_Status_Animation",
                  "Modify": { }
                },
                {
                  "Reference": "Component_Trork_Instruction_Pre_Checks",
                  "Modify": {
                    "_ExportStates": [
                      "Alerted",
                      "Combat",
                      "Search",
                      "Warn",
                      "NeutralPlayer",
                      "FriendlyPlayer",
                      "Revered",
                      "DroppedMeat"
                    ],
                    "ViewRange": { "Compute": "ViewRange" },
                    "ViewSector": { "Compute": "ViewSector" },
                    "HearingRange": { "Compute": "HearingRange" },
                    "AlertedRange": { "Compute": "AlertedRange" },
                    "ExcludeGroups": { "Compute": "UnderlingGroups" },
                    "ChestBlockSet": { "Compute": "ChestBlockSet" }
                  }
                },
                {
                  "Continue": true,
                  "Sensor": {
                    "Type": "Any"
                  },
                  "Actions": [
                    {
                      "Type": "Timeout",
                      "Delay": [ 10, 10 ],
                      "Action": {
                        "Type": "State",
                        "State": ".Default"
                      }
                    }
                  ]
                },
                {
                  "Sensor": {
                    "Type": "Target",
                    "Range": 5
                  },
                  "Actions": [
                    {
                      "Type": "ReleaseTarget"
                    },
                    {
                      "Type": "OverrideAttitude",
                      "Attitude": "Ignore",
                      "Duration": 300
                    },
                    {
                      "Type": "TimerStart",
                      "Name": "VisitTimer",
                      "StartValueRange": { "Compute": "VisitFrequency" },
                      "RestartValueRange": { "Compute": "VisitFrequency" }
                    },
                    {
                      "Type": "TimerRestart",
                      "Name": "VisitTimer"
                    },
                    {
                      "Type": "State",
                      "State": ".Default"
                    }
                  ]
                },
                {
                  "Sensor": {
                    "Type": "Target",
                    "Range": { "Compute": "AlertedRange" }
                  },
                  "BodyMotion": {
                    "Type": "Seek",
                    "SlowDownDistance": 5,
                    "StopDistance": 4,
                    "RelativeSpeed": 0.35
                  }
                },
                {
                  "Sensor": {
                    "Type": "Any"
                  },
                  "Actions": [
                    {
                      "Type": "ReleaseTarget"
                    },
                    {
                      "Type": "State",
                      "State": ".Default"
                    }
                  ]
                }
              ]
            },
            {
              "Sensor": {
                "Type": "State",
                "State": ".Wake"
              },
              "Instructions": [
                {
                  "$Comment": "Animations",
                  "Continue": true,
                  "Sensor": {
                    "Type": "Any",
                    "Once": true
                  },
                  "Actions": [
                    {
                      "Type": "PlayAnimation",
                      "Slot": "Status",
                      "Animation": "Wake"
                    }
                  ]
                },
                {
                  "Sensor": {
                    "Type": "Any"
                  },
                  "Actions": [
                    {
                      "Type": "Timeout",
                      "Delay": [ 3, 4 ],
                      "Action": {
                        "Type": "State",
                        "State": ".Visit"
                      }
                    }
                  ]
                }
              ]
            },
            {
              "Sensor": {
                "Type": "And",
                "Sensors": [
                  {
                    "Type": "Timer",
                    "Name": "VisitTimer",
                    "State": "Stopped"
                  },
                  {
                    "Type": "Mob",
                    "LockOnTarget": true,
                    "Range": { "Compute": "AlertedRange" },
                    "GetNPCs": true,
                    "Filters": [
                      {
                        "Type": "NPCGroup",
                        "IncludeGroups": { "Compute": "TargetGroups" }
                      }
                    ],
                    "Prioritiser": {
                      "Type": "Attitude",
                      "AttitudesByPriority": [ "Revered", "Friendly" ]
                    },
                    "GetPlayers": true
                  }
                ]
              },
              "Actions": [
                {
                  "Type": "State",
                  "State": ".Visit"
                }
              ]
            },
            {
              "Sensor": {
                "Type": "Any"
              },
              "Instructions": [
                {
                  "Reference": "Component_Trork_Instruction_Idle",
                  "Modify": {
                    "_ExportStates": [
                      "Idle",
                      "Alerted",
                      "Combat",
                      "Search",
                      "Spar",
                      "NeutralPlayer",
                      "FriendlyPlayer",
                      "Revered",
                      "Warn",
                      "DroppedMeat"
                    ],
                    "MotionComponent": { "Compute": "IdleMotionComponent" },
                    "ViewRange": { "Compute": "ViewRange" },
                    "ViewSector": { "Compute": "ViewSector" },
                    "HearingRange": { "Compute": "HearingRange" },
                    "AlertedRange": { "Compute": "AlertedRange" },
                    "BedBlockSet": { "Compute": "BedBlockSet" },
                    "CampfireBlockSet": { "Compute": "CampfireBlockSet" },
                    "ExcludeGroups": { "Compute": "UnderlingGroups" },
                    "ChestBlockSet": { "Compute": "ChestBlockSet" }
                  }
                }
              ]
            }
          ]
        },
        {
          "Sensor": {
            "Type": "State",
            "State": "NeutralPlayer"
          },
          "Instructions": [
            {
              "Reference": "Component_Trork_Instruction_Greeting",
              "Modify": {
                "_ExportStates": [ "Idle", "Combat", "Search", "Warn" ],
                "ViewRange": { "Compute": "ViewRange" },
                "ViewSector": { "Compute": "ViewSector" },
                "HearingRange": { "Compute": "HearingRange" },
                "AlertedRange": { "Compute": "AlertedRange" },
                "ChestBlockSet": { "Compute": "ChestBlockSet" }
              }
            }
          ]
        },
        {
          "Sensor": {
            "Type": "State",
            "State": "FriendlyPlayer"
          },
          "Instructions": [
            {
              "Reference": "Component_Trork_Instruction_Greeting",
              "Modify": {
                "_ExportStates": [ "Idle", "Combat", "Search", "Warn" ],
                "ViewRange": { "Compute": "ViewRange" },
                "ViewSector": { "Compute": "ViewSector" },
                "HearingRange": { "Compute": "HearingRange" },
                "AlertedRange": { "Compute": "AlertedRange" },
                "Greet": true,
                "ChestBlockSet": { "Compute": "ChestBlockSet" }
              }
            }
          ]
        },
        {
          "Sensor": {
            "Type": "State",
            "State": "Revered"
          },
          "Instructions": [
            {
              "Reference": "Component_Trork_Instruction_Greeting",
              "$TODO": "Change greeting",
              "Modify": {
                "_ExportStates": [ "Idle", "Combat", "Search", "Warn" ],
                "ViewRange": { "Compute": "ViewRange" },
                "ViewSector": { "Compute": "ViewSector" },
                "HearingRange": { "Compute": "HearingRange" },
                "AlertedRange": { "Compute": "AlertedRange" },
                "Greet": true,
                "Greeting": "Kneel",
                "NotifyTarget": true,
                "NotifyMessage": "ShamanGreeting",
                "Approach": true,
                "ChestBlockSet": { "Compute": "ChestBlockSet" }
              }
            }
          ]
        },
        {
          "Sensor": {
            "Type": "State",
            "State": "Alerted"
          },
          "Instructions": [
            {
              "Reference": "Component_Trork_Instruction_Alerted",
              "Modify": {
                "_ExportStates": [ "Idle", "Combat", "Search" ],
                "ViewRange": { "Compute": "ViewRange" },
                "ViewSector": { "Compute": "ViewSector" },
                "HearingRange": { "Compute": "HearingRange" },
                "AlertedRange": { "Compute": "AlertedRange" }
              }
            }
          ]
        },
        {
          "Sensor": {
            "Type": "State",
            "State": "Combat"
          },
          "Instructions": [
            {
              "Sensor": {
                "Type": "State",
                "State": ".Default"
              },
              "Instructions": [
                {
                  "Reference": "Component_Trork_Instruction_Offensive_Default",
                  "Modify": {
                    "_ExportStates": [ "Idle", "Combat.Summon", "Search" ],
                    "ViewRange": { "Compute": "ViewRange" },
                    "AlertedRange": { "Compute": "AlertedRange" }
                  }
                }
              ]
            },
            {
              "Sensor": {
                "Type": "State",
                "State": ".Flee"
              },
              "Instructions": [
                {
                  "Sensor": {
                    "Type": "Eval",
                    "Expression": "blocked"
                  },
                  "BodyMotion": {
                    "Type": "Wander",
                    "MaxHeadingChange": 45,
                    "RelativeSpeed": 1
                  }
                },
                {
                  "Sensor": {
                    "Type": "Mob",
                    "Range": 1,
                    "ExcludeOwnType": false,
                    "LockOnTarget": false,
                    "Filters": [
                      {
                        "Type": "NPCGroup",
                        "IncludeGroups": [ "Self" ]
                      }
                    ]
                  },
                  "BodyMotion": {
                    "Type": "Wander",
                    "MaxHeadingChange": 45,
                    "RelativeSpeed": 1
                  }
                },
                {
                  "Reference": { "Compute": "CloseRangeSequence" },
                  "Interfaces": [ "Hytale.Instruction.AttackSequence", "Hytale.Instruction.TrorkShaman.FleeSequence" ],
                  "Modify": {
                    "_InterfaceParameters": {
                      "Hytale.Instruction.AttackSequence": {
                        "AttackDistance": { "Compute": "CloseRange" },
                        "CombatRelativeTurnSpeed": { "Compute": "CombatRelativeTurnSpeed" }
                      },
                      "Hytale.Instruction.TrorkShaman.FleeSequence": {
                        "CloseRange": { "Compute": "CloseRange" }
                      }
                    }
                  }
                },
                {
                  "Sensor": {
                    "Type": "Any"
                  },
                  "Actions": [
                    {
                      "Type": "State",
                      "State": ".Attack"
                    }
                  ]
                }
              ]
            },
            {
              "Sensor": {
                "Type": "State",
                "State": ".Summon"
              },
              "Instructions": [
                {
                  "Sensor": {
                    "Type": "And",
                    "Sensors": [
                      {
                        "Type": "FlockLeader"
                      },
                      {
                        "Type": "Self",
                        "Filters": [
                          {
                            "Type": "Flock",
                            "FlockStatus": "Leader"
                          }
                        ]
                      }
                    ]
                  },
                  "Actions": [
                    {
                      "Type": "State",
                      "State": ".Attack"
                    }
                  ]
                },
                {
                  "$Comment": "Animations",
                  "Continue": true,
                  "Sensor": {
                    "Type": "Any",
                    "Once": true
                  },
                  "Actions": [
                    {
                      "Type": "PlayAnimation",
                      "Slot": "Status",
                      "Animation": "Rally"
                    }
                  ]
                },
                {
                  "$TODO": "Maybe a temp interrupted state where they're confused?",
                  "Sensor": {
                    "Type": "Damage",
                    "Combat": true
                  },
                  "Actions": [
                    {
                      "Type": "State",
                      "State": ".Attack"
                    }
                  ]
                },
                {
                  "Sensor": {
                    "Type": "Target",
                    "Range": { "Compute": "AlertedRange" }
                  },
                  "Actions": [
                    {
                      "Type": "Timeout",
                      "Delay": [ 2, 2 ],
                      "Action": {
                        "Type": "Sequence",
                        "Actions": [
                          {
                            "Type": "Spawn",
                            "Kind": { "Compute": "SummonKind" },
                            "JoinFlock": true,
                            "CountRange": [ 2, 2 ],
                            "DistanceRange": [ 2, 4 ],
                            "DelayRange": [ 0, 0 ]
                          },
                          {
                            "Type": "FlockBeacon",
                            "Message": "CompanionAttack",
                            "SendToSelf": false,
                            "SendTargetSlot": "LockedTarget"
                          },
                          {
                            "Type": "State",
                            "State": ".CastingEnd"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "Sensor": {
                    "Type": "Any"
                  },
                  "Actions": [
                    {
                      "Type": "State",
                      "State": "Idle"
                    }
                  ]
                }
              ]
            },
            {
              "Sensor": {
                "Type": "State",
                "State": ".CastingEnd"
              },
              "Actions": [
                {
                  "Type": "Sequence",
                  "Blocking": true,
                  "Actions": [
                    {
                      "Type": "Timeout",
                      "Delay": [ 1, 1 ]
                    },
                    {
                      "$TODO": "Maybe play a complete casting anim or point?",
                      "Type": "State",
                      "State": ".Attack"
                    }
                  ]
                }
              ]
            },
            {
              "Sensor": {
                "Type": "State",
                "State": ".Attack"
              },
              "Instructions": [
                {
                  "Continue": true,
                  "Sensor": {
                    "Type": "Any",
                    "Once": true
                  },
                  "Actions": [
                    {
                      "Type": "Beacon",
                      "Range": 30,
                      "Message": "TrorkEnemySighted",
                      "TargetGroups": { "Compute": "TargetGroups" },
                      "SendTargetSlot": "LockedTarget"
                    },
                    {
                      "Type": "FlockBeacon",
                      "Message": "CompanionAttack",
                      "SendToSelf": false,
                      "SendTargetSlot": "LockedTarget"
                    }
                  ]
                },
                {
                  "Reference": "Component_Instruction_Clear_Status_Animation",
                  "Modify": { }
                },
                {
                  "$TODO": "This should be a teleport/blink instead",
                  "Sensor": {
                    "Type": "Target",
                    "Range": { "Compute": "TooCloseDistance" }
                  },
                  "Actions": [
                    {
                      "Type": "State",
                      "State": ".Flee"
                    }
                  ]
                },
                {
                  "Reference": "Component_Instruction_Target_Adjusted_Attack",
                  "Modify": {
                    "TargetSwitchTimer": [ 5, 5 ],
                    "AttackSequence": { "Compute": "RangedAttackSequence" },
                    "AttackDistance": { "Compute": "ViewRange" },
                    "TargetRange": 5,
                    "CombatRelativeTurnSpeed": { "Compute": "CombatRelativeTurnSpeed" },
                    "DesiredDistanceRange": { "Compute": "DesiredRangedAttackDistanceRange" },
                    "RelativeForwardsSpeed": 1,
                    "RelativeBackwardsSpeed": 0.4,
                    "MaintainDistanceRange": { "Compute": "ViewRange" }
                  }
                },
                {
                  "Reference": "Component_Instruction_Soft_Leash",
                  "Modify": {
                    "_ExportStates": [ "ReturnHome" ],
                    "LeashDistance": { "Compute": "LeashDistance" },
                    "LeashMinPlayerDistance": { "Compute": "LeashMinPlayerDistance" },
                    "LeashTimer": { "Compute": "LeashTimer" }
                  }
                },
                {
                  "Reference": "Component_Instruction_Intelligent_Chase",
                  "Modify": {
                    "_ExportStates": [ "Search", "ReturnHome", "ReturnHome" ],
                    "ViewRange": { "Compute": "AlertedRange" },
                    "HearingRange": { "Compute": "HearingRange" }
                  }
                }
              ]
            }
          ]
        },
        {
          "Sensor": {
            "Type": "State",
            "State": "ReturnHome"
          },
          "Instructions": [
            {
              "Reference": "Component_Trork_Instruction_Return_Home",
              "Modify": {
                "_ExportStates": [ "Idle", "Alerted", "Combat", "Search", "Warn" ],
                "ViewRange": { "Compute": "ViewRange" },
                "ViewSector": { "Compute": "ViewSector" },
                "HearingRange": { "Compute": "HearingRange" },
                "AlertedRange": { "Compute": "AlertedRange" },
                "LeashDistance": { "Compute": "LeashDistance" },
                "ChestBlockSet": { "Compute": "ChestBlockSet" }
              }
            }
          ]
        },
        {
          "Sensor": {
            "Type": "State",
            "State": "Converge"
          },
          "Instructions": [
            {
              "Reference": "Component_Trork_Instruction_Converge",
              "Modify": {
                "_ExportStates": [ "Combat", "Search" ],
                "ViewRange": { "Compute": "ViewRange" },
                "HearingRange": { "Compute": "HearingRange" },
                "AlertedRange": { "Compute": "AlertedRange" }
              }
            }
          ]
        },
        {
          "Sensor": {
            "Type": "State",
            "State": "Spar"
          },
          "Instructions": [
            {
              "Sensor": {
                "Type": "Any"
              },
              "Actions": [
                {
                  "Type": "State",
                  "State": "Idle"
                }
              ]
            }
          ]
        },
        {
          "Sensor": {
            "Type": "State",
            "State": "Search"
          },
          "Instructions": [
            {
              "Reference": "Component_Trork_Instruction_Search",
              "Modify": {
                "_ExportStates": [ "ReturnHome", "Combat", "Alerted", "FleeTimed" ],
                "ViewRange": { "Compute": "ViewRange" },
                "ViewSector": { "Compute": "ViewSector" },
                "HearingRange": { "Compute": "HearingRange" },
                "AlertedRange": { "Compute": "AlertedRange" }
              }
            }
          ]
        },
        {
          "Sensor": {
            "Type": "State",
            "State": "FleeTimed"
          },
          "Instructions": [
            {
              "Reference": "Component_Trork_Instruction_Panic",
              "Modify": {
                "_ExportStates": [ "Idle", "Alerted", "Search" ],
                "ViewRange": { "Compute": "ViewRange" },
                "ViewSector": { "Compute": "ViewSector" },
                "HearingRange": { "Compute": "HearingRange" },
                "AlertedRange": { "Compute": "AlertedRange" }
              }
            }
          ]
        },
        {
          "Sensor": {
            "Type": "State",
            "State": "Warn"
          },
          "Instructions": [
            {
              "Reference": "Component_Trork_Instruction_Warning_Shot",
              "Modify": {
                "_ExportStates": [ "Idle", "Combat", "Search" ],
                "ViewRange": { "Compute": "ViewRange" },
                "AlertedRange": { "Compute": "AlertedRange" },
                "RangedAttack": { "Compute": "RangedAttack" }
              }
            }
          ]
        },
        {
          "Sensor": {
            "Type": "State",
            "State": "DroppedMeat"
          },
          "Instructions": [
            {
              "Reference": "Component_Trork_Instruction_Dropped_Meat",
              "Modify": {
                "_ExportStates": [
                  "Idle",
                  "Alerted",
                  "Combat",
                  "Search",
                  "Warn",
                  "NeutralPlayer",
                  "NeutralPlayer",
                  "Revered",
                  "DroppedMeat"
                ],
                "ViewRange": { "Compute": "ViewRange" },
                "ViewSector": { "Compute": "ViewSector" },
                "HearingRange": { "Compute": "HearingRange" },
                "AlertedRange": { "Compute": "AlertedRange" },
                "TargetGroups": { "Compute": "TargetGroups" },
                "UnderlingGroups": { "Compute": "UnderlingGroups" },
                "ChestBlockSet": { "Compute": "ChestBlockSet" }
              }
            }
          ]
        }
      ]
    }
  ],
  "NameTranslationKey": { "Compute": "NameTranslationKey" }
}