Allowed names of items and monsters in scripts - part 1.
authorErik Schilling <ablu.erikschilling@googlemail.com>
Thu, 4 Aug 2011 11:03:30 +0000 (13:03 +0200)
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>
Thu, 4 Aug 2011 18:13:14 +0000 (20:13 +0200)
commitebf0672a47c1d5c649bd6f6040d9112e1ba26382
treea2a442e9ba061db2107578177633388f8285f29a
parentd11e7d49edb8374767d69859fe9ed542722013fe
Allowed names of items and monsters in scripts - part 1.

You can now use either the name or the id of the item in the LUA
functions chr_inv_change, monster_create, item_drop.

Part of: Mana-Mantis #318.

Reviewed-by: Bertram.
example/serverdata/scripts/maps/desert.lua
src/scripting/lua.cpp