diff options
author | Philipp Sehmisch <mana@crushnet.org> | 2011-02-08 18:15:08 +0100 |
---|---|---|
committer | Philipp Sehmisch <mana@crushnet.org> | 2011-02-08 18:15:08 +0100 |
commit | a36fd4479a22281ea6e9d03e434d5dc6768f6c5a (patch) | |
tree | cd0a0d19703f155f372283e11bd99366097aacd0 /scripts/lua/npclib.lua | |
parent | 19d140fb6989ada459b0a71ec3bf5647ff93bec2 (diff) | |
download | manaserv-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