Updated Lua Parser (markdown)

Alex 2013-06-26 13:28:33 -07:00
parent dce75b725c
commit 830113c009

@ -6,6 +6,7 @@ The rest of this guide assumes you know Lua 5.1, if you don't then it wont make
## Table of Contents ## Table of Contents
* [Init Scripts](#init-scripts) * [Init Scripts](#init-scripts)
* [Modules](#modules)
* [NPC Scripts](#npc-scripts) * [NPC Scripts](#npc-scripts)
* [Player Scripts](#player-scripts) * [Player Scripts](#player-scripts)
* [Item Scripts](#item-scripts) * [Item Scripts](#item-scripts)
@ -27,6 +28,12 @@ On Lua Parser reload it will attempt to load two scripts with no function env.
These are useful for setting up modules to load automatically or for loading encounters. These are useful for setting up modules to load automatically or for loading encounters.
<a name="wiki-modules"></a>
### Modules
Modules are bits of code or compiled libraries that lua can load with require("module_name").
They are akin to the perl plugin system and can be loaded from:
* ./lua_modules/module_name.lua
<a name="wiki-npc-scripts"></a> <a name="wiki-npc-scripts"></a>
### NPC Scripts ### NPC Scripts
NPC Scripts are quest scripts that are attached to NPCs (most quests follow this format). NPC Scripts are quest scripts that are attached to NPCs (most quests follow this format).