Added new LUA functions used to get items and monster names. master
authorErik Schilling <ablu.erikschilling@googlemail.com>
Thu, 4 Aug 2011 11:31:50 +0000 (13:31 +0200)
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>
Thu, 4 Aug 2011 18:24:23 +0000 (20:24 +0200)
commitf57ff09c26cf1cb441e20e5798c78ff4c43c04a2
tree5bddca874d7f4aa0cc2498b774354dd21a4f723b
parentebf0672a47c1d5c649bd6f6040d9112e1ba26382
Added new LUA functions used to get items and monster names.

mana.monster_get_name(id) and mana.item_get_name(id) can be used
to get the name of an item or a monster if only an id is given.

Reviewed-by: Bertram.
src/scripting/lua.cpp