summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-03-04 18:19:22 +0100
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-03-05 20:25:48 +0100
commit0f913b8c947403557bef8533a2e5779e6ca2bc7b (patch)
tree70696cb22003720e3f3283af45284d0fde679acb /scripts
parentd4f9a3370ed27cdae23da6f8c94c68619431cd48 (diff)
downloadmanaserv-0f913b8c947403557bef8533a2e5779e6ca2bc7b.tar.gz
manaserv-0f913b8c947403557bef8533a2e5779e6ca2bc7b.tar.xz
manaserv-0f913b8c947403557bef8533a2e5779e6ca2bc7b.zip
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lua/libmana-constants.lua4
1 files changed, 4 insertions, 0 deletions
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