diff options
-rwxr-xr-x | client/make-updates | 1 | ||||
-rwxr-xr-x | tmx_converter.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/client/make-updates b/client/make-updates index 0cd7a03..96925d8 100755 --- a/client/make-updates +++ b/client/make-updates @@ -26,6 +26,7 @@ function apply_function() $1 maps maps/ $1 monsters monsters/ $1 npcs npcs/ + $1 quests quests/ $1 sfx sfx/ $1 tilesets tilesets/ } diff --git a/tmx_converter.py b/tmx_converter.py index 121264e..676a2fe 100755 --- a/tmx_converter.py +++ b/tmx_converter.py @@ -296,7 +296,7 @@ class ContentHandler(xml.sax.ContentHandler): self.state = State.FINAL def endDocument(self): - self.mobs.write('\n\n%s,0,0,0|script|Mob%s|-1\n{\n end;\n' % (self.base, self.base)) + self.mobs.write('\n\n%s,0,0,0|script|Mob%s|32767\n{\n end;\n' % (self.base, self.base)) for mob_id in sorted(self.mob_ids): self.mobs.write('\nOn%d:\n set @mobID, %d;\n callfunc "MobPoints";\n end;\n' % (mob_id, mob_id)) self.mobs.write('}\n') |