summaryrefslogtreecommitdiffstats
path: root/data/scripts/libtmw.lua
Commit message (Collapse)AuthorAgeFilesLines
* move all scripts to scripts directory for content conversionRoderic Morris2008-10-211-358/+0
|
* deleting death handler functions after death to avoid memory leak ↵Philipp Sehmisch2008-07-071-0/+1
| | | | undetectable by garbage collector.
* changed function naming to be consistent with the rest of the script API and ↵Philipp Sehmisch2008-07-071-3/+7
| | | | improved commenting.
* Implemented death listener for scripting engine.Philipp Sehmisch2008-07-071-0/+19
|
* Removed the unused "npc" argument from the get_quest_var function.Philipp Sehmisch2008-06-021-1/+1
|
* Replaced some magic numbers in script files with variables for better code ↵Philipp Sehmisch2008-06-021-0/+4
| | | | readability.
* Scripted a scheduler which can execute script functions at regular intervals ↵Philipp Sehmisch2008-05-311-0/+59
| | | | or in a given number of seconds. This will be very useful for any quest or effect script where timing is important.
* (no commit message)Philipp Sehmisch2008-05-221-0/+16
|
* Implemented NPC names. Implemented the theoretical possibility to have named ↵Philipp Sehmisch2008-05-191-4/+4
| | | | monsters along the way. Note that the syntax of the LUA functions for creating NPCs has changed.
* Added headers to LUA files mentioning the purpose of the files and their ↵Philipp Sehmisch2008-05-021-3/+16
| | | | license.
* Added pathblocking rules to NPCs, added script bindings to query being ↵Philipp Sehmisch2008-03-151-6/+10
| | | | positions and created script infrastructure for regularily called script functions. This allows NPCs which wander around automatically.
* Added do_wait helper function.Guillaume Melquiond2007-11-151-0/+5
|
* Fixed race condition between quest_reply and npc_next.Guillaume Melquiond2007-08-291-2/+10
|
* Implemented quest variables.Guillaume Melquiond2007-08-281-35/+75
|
* Removed useless function prefixes. Commented Lua internal variables.Guillaume Melquiond2007-08-201-3/+16
|
* Defined two helper functions to abstract away money being available underBjørn Lindeijer2007-08-201-0/+10
| | | | | inventory index 0.
* Improved NPC state machine, so that the engine avoids waiting, once the last ↵Guillaume Melquiond2007-08-161-17/+68
| | | | message has been sent.
* Marked internal variables of Lua scripts as local.Guillaume Melquiond2007-08-151-5/+5
|
* Added helper functions for loading files and NPCs as scripts. Put Lua ↵Guillaume Melquiond2007-08-151-0/+111
helpers into a separate library automatically loaded into new contexts.