summaryrefslogtreecommitdiff
path: root/data/scripts
AgeCommit message (Collapse)AuthorFilesLines
2008-10-23Added example of using tmw.being_get_name and tmw.being_get_attribute to ↵David Athay1-0/+8
test.lua
2008-10-21return npc ids when creating new ones (by Kage_Jittai)Roderic Morris1-3/+4
2008-10-21move all scripts to scripts directory for content conversionRoderic Morris3-94/+277
2008-07-07deleting death handler functions after death to avoid memory leak ↵Philipp Sehmisch1-0/+1
undetectable by garbage collector.
2008-07-07changed function naming to be consistent with the rest of the script API and ↵Philipp Sehmisch1-3/+7
improved commenting.
2008-07-07Implemented death listener for scripting engine.Philipp Sehmisch1-0/+19
2008-06-02Removed the unused "npc" argument from the get_quest_var function.Philipp Sehmisch1-1/+1
2008-06-02Replaced some magic numbers in script files with variables for better code ↵Philipp Sehmisch1-0/+4
readability.
2008-05-31Scripted a scheduler which can execute script functions at regular intervals ↵Philipp Sehmisch1-0/+59
or in a given number of seconds. This will be very useful for any quest or effect script where timing is important.
2008-05-22(no commit message)Philipp Sehmisch1-0/+16
2008-05-19Implemented NPC names. Implemented the theoretical possibility to have named ↵Philipp Sehmisch1-4/+4
monsters along the way. Note that the syntax of the LUA functions for creating NPCs has changed.
2008-05-02Added headers to LUA files mentioning the purpose of the files and their ↵Philipp Sehmisch2-9/+33
license.
2008-03-25Added a Lua library with walk around functions for NPCs.Philipp Sehmisch1-0/+84
2008-03-15Added pathblocking rules to NPCs, added script bindings to query being ↵Philipp Sehmisch1-6/+10
positions and created script infrastructure for regularily called script functions. This allows NPCs which wander around automatically.
2007-11-15Added do_wait helper function.Guillaume Melquiond1-0/+5
2007-08-29Fixed race condition between quest_reply and npc_next.Guillaume Melquiond1-2/+10
2007-08-28Implemented quest variables.Guillaume Melquiond1-35/+75
2007-08-20Removed useless function prefixes. Commented Lua internal variables.Guillaume Melquiond1-3/+16
2007-08-20Defined two helper functions to abstract away money being available underBjørn Lindeijer1-0/+10
inventory index 0.
2007-08-16Improved NPC state machine, so that the engine avoids waiting, once the last ↵Guillaume Melquiond1-17/+68
message has been sent.
2007-08-15Marked internal variables of Lua scripts as local.Guillaume Melquiond1-5/+5
2007-08-15Added helper functions for loading files and NPCs as scripts. Put Lua ↵Guillaume Melquiond1-0/+111
helpers into a separate library automatically loaded into new contexts.