summaryrefslogtreecommitdiff
path: root/example/serverdata/scripts/npcs/banker.lua
AgeCommit message (Collapse)AuthorFilesLines
2012-02-25Merged the example client and server dataThorbjørn Lindeijer1-79/+0
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
2012-01-02Made all beings capable of having a genderErik Schilling1-2/+2
Reviewed-by: o11c, bjorn, Bertram.
2012-01-02Made do_npc_close to be called by default after the end of the talk functionErik Schilling1-1/+0
Reviewed-by: Bertram.
2011-02-08Implemented LUA binding to get the gender of a characterPhilipp Sehmisch1-1/+7
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-12-30Added new example files needed to start a more complete feature-showing map.Yohann Ferreira1-0/+74
I also replaced certain files with newer version, just as the items.xml file. And I started to split test npcs from the tmwserv repository into reusable pieces. Big but trivial. Part of the Mana-Mantis issue: #231.