From 0f913b8c947403557bef8533a2e5779e6ca2bc7b Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Sun, 4 Mar 2012 18:19:22 +0100 Subject: Added lua function for getting pvp status of map mana.map_get_pvp() now returns one of the constants in libmana-constants.lua Reviewed-by: Bertram. --- scripts/lua/libmana-constants.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/lua/libmana-constants.lua b/scripts/lua/libmana-constants.lua index 08d26c5..9638588 100644 --- a/scripts/lua/libmana-constants.lua +++ b/scripts/lua/libmana-constants.lua @@ -121,3 +121,7 @@ LOG_ERROR = 1 LOG_WARN = 2 LOG_INFO = 3 LOG_DEBUG = 4 + +-- PvP +PVP_NONE = 0 +PVP_FREE = 1 -- cgit