You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Lua Parser is a quest parser for EQEmu that uses the Lua embedded programming language.
We use Lua 5.1 so the Lua 5.1 Manual applies. Section 2 is a bit of a dense read but may be of particular interest to those just getting started with Lua.
NPC Scripts are quest scripts that are attached to NPCs (most quests follow this format).
NPCs will load a script on the first event that triggers them (almost always the spawn event) and they will load one and only one from the following location. Which ever it finds first in the following order:
./quests/zone/npcid.lua
./quests/zone/npcname.lua
./quests/global/npcid.lua
./quests/global/npcname.lua
./quests/zone/default.lua
./quests/global/default.lua
NPCs will also attempt to load a global NPC script that is attached to all NPCs from the following location: