diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-31 19:34:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-31 19:34:22 +0300 |
commit | be6e852a52610e5715a6cb87d606647e39a6b487 (patch) | |
tree | 9c4751dfe64fe655903832d68570f244cc79d9c9 /hercules/convert_server.py | |
parent | 746192af34a65504cb86a4eca068a8f0fbb361f5 (diff) | |
download | evol-tools-be6e852a52610e5715a6cb87d606647e39a6b487.tar.gz evol-tools-be6e852a52610e5715a6cb87d606647e39a6b487.tar.bz2 evol-tools-be6e852a52610e5715a6cb87d606647e39a6b487.tar.xz evol-tools-be6e852a52610e5715a6cb87d606647e39a6b487.zip |
hercules: add basic support for converting npc scripts from evol to hercules.
Can convert script line in npc scripts.
Can create map_index.txt and map.conf based on npc dir.
Diffstat (limited to 'hercules/convert_server.py')
-rwxr-xr-x | hercules/convert_server.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hercules/convert_server.py b/hercules/convert_server.py new file mode 100755 index 0000000..2902015 --- /dev/null +++ b/hercules/convert_server.py @@ -0,0 +1,11 @@ +#! /usr/bin/env python +# -*- coding: utf8 -*- +# +# Copyright (C) 2014 Evol Online +# Author: Andrei Karas (4144) + +from code.server.npcs import * +from code.server.utils import * + +cleanServerData() +convertNpcs(); |