{
  "reviewed_on": "2026-10-06",
  "source_revision": "9efddf962ffee075d0db2059d3914c36b0acbdf3",
  "source_working_tree": true,
  "documentation": "NPCModule.md",
  "sections": [
    {
      "title": "NPCModule(NPC)",
      "anchor": "npcmodule"
    },
    {
      "title": "Imported modules",
      "anchor": "imported-modules"
    },
    {
      "title": "Bloodskull(NPC)",
      "anchor": "bloodskull"
    },
    {
      "title": "Orc clan appearance helpers",
      "anchor": "orc-clan-appearance-helpers"
    },
    {
      "title": "OrcArmorCommon(NPC)",
      "anchor": "orcarmorcommon"
    },
    {
      "title": "Combined spawn example",
      "anchor": "combined-spawn-example"
    },
    {
      "title": "Related engine functions and evidence",
      "anchor": "related-engine-functions-and-evidence"
    }
  ],
  "source_files": {
    "server/SpawnScripts/Generic/NPCModule.lua": {
      "sha256": "0ceb0afdecf8866cc0fc5a176576021fb064c3a596eecc0221c950fa85faf0af",
      "bytes": 20944
    },
    "server/SpawnScripts/Generic/NPCRaces.lua": {
      "sha256": "cbfb350a1a66f69c38c5c65eddb39d9a1cddd4f21b2c7c743147409d8abd0c08",
      "bytes": 8767
    },
    "server/SpawnScripts/Generic/EquipmentModule.lua": {
      "sha256": "bbc901649febd88477e8c3981fb49df71c45a776e6cf953bc980236f92c7a227",
      "bytes": 11315
    },
    "server/SpawnScripts/Generic/IdleAnimations.lua": {
      "sha256": "67dccce16a09bec4e8a4ce3e79ca473f6286eb6ab15c2418cf26436459e2c1b7",
      "bytes": 7681
    },
    "server/SpawnScripts/Generic/OrcModule.lua": {
      "sha256": "57132fdeaf599acb217e990d6f6cfc238539f1f01be7baabdefdf9f49bb2d101",
      "bytes": 8235
    },
    "server/SpawnScripts/Commonlands/OgofRunner.lua": {
      "sha256": "8294a2dca4b159159547966fa6a6bc5719436834482f00d4008d031d4496cf6f",
      "bytes": 1076
    },
    "server/SpawnScripts/TheRuins_Classic/aBrokentuskpawn.lua": {
      "sha256": "e72919c902d798e11872532a1ffaa25e7f6ef708337c366f1161146567938666",
      "bytes": 545
    },
    "server/SpawnScripts/TheRuins_Classic/aLonetuskpawn.lua": {
      "sha256": "113e4c21ed2dfc78cf913b0e42aad9cefe60e1bc9e4c142532daf0822f7b9a5b",
      "bytes": 539
    },
    "server/SpawnScripts/WailingCaves/aReerecruit.lua": {
      "sha256": "12c4749b999913b24b36ccd4bbcb8f8f34f6f6e9d62298d0e248a1f0497dbe9f",
      "bytes": 442
    },
    "WorldServer/Lua/LuaFunctions.cpp": {
      "sha256": "ac138b235e4e7d44e83aa008bf1672d2cbd303e768c4dc5a9fa913db188ea94a",
      "bytes": 514577
    },
    "WorldServer/Lua/LuaInterface.cpp": {
      "sha256": "f9240d7f686691d53dcb4ee896de96e628f133b74cfda153ea3a4083033289cc",
      "bytes": 133551
    },
    "WorldServer/Zone/zoneserver.cpp": {
      "sha256": "3f22460e3ee4e63e1aa6f6a0bd7c3688c9fb978d2cc0b88f4524b58403c2fa54",
      "bytes": 576957
    }
  },
  "files": {
    "NPCModule.md": {
      "sha256": "fc6d32e0af910db33838d9df36e552a6b8bcc59c35ed1148653457cbf2a51e76",
      "bytes": 11367
    }
  },
  "usage_evidence": {
    "spawn_callback": {
      "name": "spawn",
      "arguments": [
        "NPC"
      ],
      "source": "WorldServer/Zone/zoneserver.cpp",
      "lines": [
        6031,
        6034
      ]
    },
    "initializer_call": "NPCModule(NPC)",
    "unused_second_parameters_omitted": true
  }
}
