From 857b72827cddd28a1daaaf64da7dd899606a42a5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Aug 2016 19:21:12 +0300 Subject: hercules: add comment about collision type monster wall (6) --- hercules/code/clienttoserver/maps.py | 11 +++++++++++ 1 file changed, 11 insertions(+) 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; -- cgit v1.2.3-70-g09d2