diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-03-03 20:44:01 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-03-03 21:24:45 +0100 |
commit | 72881e2a713a29fc7eaaa1d7159129e0e4f9867f (patch) | |
tree | 215bd8fe753cc59ba39383d9d03509b4a1768245 /scripts/lua/libmana-constants.lua | |
parent | b2fde0cf32348355f7725c6a7b0a523e0958c1a4 (diff) | |
download | manaserv-72881e2a713a29fc7eaaa1d7159129e0e4f9867f.tar.gz manaserv-72881e2a713a29fc7eaaa1d7159129e0e4f9867f.tar.bz2 manaserv-72881e2a713a29fc7eaaa1d7159129e0e4f9867f.tar.xz manaserv-72881e2a713a29fc7eaaa1d7159129e0e4f9867f.zip |
Improved handling of item and monster class parameters
Item and monster classes could already be identified by either their id or
their name. Now the explicit values returned by 'get_item_class' and
'get_monster_class' can also be used as parameter.
In addition the above two getters learned to understand all three types of
parameter as well, rather than only supporting a name.
Reviewed-by: Erik Schilling
Diffstat (limited to 'scripts/lua/libmana-constants.lua')
0 files changed, 0 insertions, 0 deletions