summaryrefslogtreecommitdiff
path: root/scripts/lua/npclib.lua
diff options
context:
space:
mode:
authorPhilipp Sehmisch <mana@crushnet.org>2011-02-08 18:15:08 +0100
committerPhilipp Sehmisch <mana@crushnet.org>2011-02-08 18:15:08 +0100
commita36fd4479a22281ea6e9d03e434d5dc6768f6c5a (patch)
treecd0a0d19703f155f372283e11bd99366097aacd0 /scripts/lua/npclib.lua
parent19d140fb6989ada459b0a71ec3bf5647ff93bec2 (diff)
downloadmanaserv-a36fd4479a22281ea6e9d03e434d5dc6768f6c5a.tar.gz
manaserv-a36fd4479a22281ea6e9d03e434d5dc6768f6c5a.tar.bz2
manaserv-a36fd4479a22281ea6e9d03e434d5dc6768f6c5a.tar.xz
manaserv-a36fd4479a22281ea6e9d03e434d5dc6768f6c5a.zip
Implemented LUA binding to get the gender of a character
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
Diffstat (limited to 'scripts/lua/npclib.lua')
0 files changed, 0 insertions, 0 deletions