summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-07 19:21:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-08 16:50:18 +0300
commitbdab01199cde8be5b1a5bd9d5aee2f0a3c78ffee (patch)
tree4876c6b1a8874a9cb265630350b7b09a902c380b /hercules
parent4076c2163bed5bf303a8c599ffef9bd4d27a9ae3 (diff)
downloadtools-bdab01199cde8be5b1a5bd9d5aee2f0a3c78ffee.tar.gz
tools-bdab01199cde8be5b1a5bd9d5aee2f0a3c78ffee.tar.bz2
tools-bdab01199cde8be5b1a5bd9d5aee2f0a3c78ffee.tar.xz
tools-bdab01199cde8be5b1a5bd9d5aee2f0a3c78ffee.zip
hercules: add comment about collision type monster wall (6)
Diffstat (limited to 'hercules')
-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;