summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-28 21:55:57 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-28 21:55:57 -0300
commit64229aead46f8f1f02eca387d26a10a572259932 (patch)
tree95e940fe7d24ce1c26914311952a0b511a482d62 /hercules
parent1d788bda4cb5a81beec8f16daffbc33239b6c9c4 (diff)
downloadtools-64229aead46f8f1f02eca387d26a10a572259932.tar.gz
tools-64229aead46f8f1f02eca387d26a10a572259932.tar.bz2
tools-64229aead46f8f1f02eca387d26a10a572259932.tar.xz
tools-64229aead46f8f1f02eca387d26a10a572259932.zip
Deprecate save point object
Diffstat (limited to 'hercules')
-rwxr-xr-xhercules/tmx_converter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/hercules/tmx_converter.py b/hercules/tmx_converter.py
index 3e8dc16..8a34a06 100755
--- a/hercules/tmx_converter.py
+++ b/hercules/tmx_converter.py
@@ -423,6 +423,7 @@ class ContentHandler(xml.sax.ContentHandler):
)
self.mob_cnt = True
elif isinstance(obj, Save):
+ """
obj_name = "%s_%s_%s" % (self.base, obj.x, obj.y)
self.confs.write(
SEPARATOR.join([
@@ -432,6 +433,8 @@ class ContentHandler(xml.sax.ContentHandler):
])
)
self.save_cnt = True
+ """
+ print("[WARNING] Object type \"Save\" is deprecated!")
elif isinstance(obj, Warp):
if (obj.npc_id == u'WARP'):
obj_name = "#%s_%s_%s" % (self.base, obj.x, obj.y)