summaryrefslogtreecommitdiff
path: root/example/scripts/npcs/emotemaker.lua
AgeCommit message (Collapse)AuthorFilesLines
2013-04-14Simplified some script function namesThorbjørn Lindeijer1-4/+4
npc_message -> say npc_choice -> ask npc_ask_integer -> ask_number npc_ask_string -> ask_string npc_trade -> trade
2013-04-14Removed NPC and character parameters from NPC functionsThorbjørn Lindeijer1-5/+4
These functions can only be used in the context of a character talking to an NPC, so these parameters can be deduced from that context rather than passing them explicitly all the time. Simplifies NPC scripting.
2012-03-11Register Lua script API functions into the global namespaceThorbjørn Lindeijer1-3/+3
Scripts mostly execute the Mana script API, and it seems like just unnecessary verbosity to refer to the 'mana' table all the time. This table no longer exists now. Reviewed-by: Erik Schilling
2012-03-11Removed deprecated NPC helper functionsThorbjørn Lindeijer1-2/+2
Reviewed-by: Erik Schilling
2012-02-25Merged the example client and server dataThorbjørn Lindeijer1-0/+45
It's easier to just talk about world data and to modify it as a whole. If there is really a need to separate it, a project can still choose to do that (and in whatever suitable way). There is no need to enforce this separation or to do it in our example. Reviewed-by: Erik Schilling