mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
Updated Lua Parser (markdown)
@@ -55,6 +55,8 @@ Item Scripts are quest scripts attached to Items.
|
|||||||
Items will load a script on the first event that triggers them and will load one and only one from the following location. Which ever it finds first in the following order:
|
Items will load a script on the first event that triggers them and will load one and only one from the following location. Which ever it finds first in the following order:
|
||||||
* ./quests/zone/items/item_script.lua
|
* ./quests/zone/items/item_script.lua
|
||||||
* ./quests/items/item_script.lua
|
* ./quests/items/item_script.lua
|
||||||
|
* ./quests/zone/items/default.lua
|
||||||
|
* ./quests/items/default.lua
|
||||||
|
|
||||||
The format of the item_script is as follows:
|
The format of the item_script is as follows:
|
||||||
```
|
```
|
||||||
@@ -72,6 +74,8 @@ Spell Scripts are quest scripts attached to Spells.
|
|||||||
Spells will load a script on the first event that triggers them and will load one and only one from the following location. Which ever it finds first in the following order:
|
Spells will load a script on the first event that triggers them and will load one and only one from the following location. Which ever it finds first in the following order:
|
||||||
* ./quests/zone/spells/spell_id.lua
|
* ./quests/zone/spells/spell_id.lua
|
||||||
* ./quests/spells/spell_id.lua
|
* ./quests/spells/spell_id.lua
|
||||||
|
* ./quests/zone/spells/default.lua
|
||||||
|
* ./quests/spells/default.lua
|
||||||
|
|
||||||
<a name="wiki-encounter-scripts"></a>
|
<a name="wiki-encounter-scripts"></a>
|
||||||
### Encounter Scripts
|
### Encounter Scripts
|
||||||
|
|||||||
Reference in New Issue
Block a user