summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-07 19:21:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-07 19:21:12 +0300
commit857b72827cddd28a1daaaf64da7dd899606a42a5 (patch)
tree9e5f03dc4e04cd2ec9cb29ffe856c2845e19538d
parent3557e693d25d1eacd1f8342b9b3b94d43e37cd7c (diff)
downloadevol-tools-evolrelease2016-08-07.tar.gz
evol-tools-evolrelease2016-08-07.tar.bz2
evol-tools-evolrelease2016-08-07.tar.xz
evol-tools-evolrelease2016-08-07.zip
hercules: add comment about collision type monster wall (6)evolrelease2016-08-07
-rw-r--r--hercules/code/clienttoserver/maps.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/hercules/code/clienttoserver/maps.py b/hercules/code/clienttoserver/maps.py
index a24899a..ee98ed1 100644
--- a/hercules/code/clienttoserver/maps.py
+++ b/hercules/code/clienttoserver/maps.py
@@ -34,12 +34,23 @@ def findFirstGid(tilesets, tile):
break
return found
+# client
+# 0 - walkable ground
+# 1 - non walkable wall
+# 2 - air allowed shootable too
+# 3 - water allowed water, shootable too
+# 4 - sit, walkable ground
+# 5 - player walk not allowed
+# 6 - monster walk not allowed
+
+# server
# 0 - walkable ground
# 1 - non walkable wall
# 2 - air allowed shootable too
# 3 - water allowed water, shootable too
# 4 - sit, walkable ground
# 5 - none
+# 6 - monster walk not allowed
def convertTileType(tile):
if tile == 5:
tile = 0;