summaryrefslogtreecommitdiff
path: root/scripts/lua/libmana-constants.lua
AgeCommit message (Collapse)AuthorFilesLines
2012-03-05Added lua function for getting pvp status of mapErik Schilling1-0/+4
mana.map_get_pvp() now returns one of the constants in libmana-constants.lua Reviewed-by: Bertram.
2011-10-22Officially added the being gender to the protocol.Yohann Ferreira1-0/+1
Reviewed-by: o11c.
2011-06-27Added Lua function for logging.Ablu1-0/+7
You can now call mana.log(loglevel, message) to log messages with scripts. For loglevel you can use the new constants defined in libmana-constants.lua Resolves: Mana-Mantis #359
2011-02-11Synced the libmana-constants.lua file with the current protocol.Yohann Ferreira1-59/+68
Trivial.
2011-02-08Implemented LUA binding to get the gender of a characterPhilipp Sehmisch1-0/+3
The function is named mana.chr_get_gender. It returns 0 for male and 1 for female. libmana-constants.lua defines the variables GENDER_MALE and GENDER_FEMALE with these values. Also made the banker NPC refer to the gender of the player character. Reviewed-by: Jaxad0127
2010-05-30Copied basic Lua libs back from tmwserv-data and added dummy dataThorbjørn Lindeijer1-0/+103
The dummy data is currently mostly empty data though, so still nothing to see as far as the example content is concerned. Reviewed-by: Bertram