summaryrefslogtreecommitdiff
path: root/hercules/code/server/tmw/main.py
blob: 4822199dde4ba1384b539fe6206c5f2303f68bc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /usr/bin/env python
# -*- coding: utf8 -*-
#
# Copyright (C) 2014  Evol Online
# Author: Andrei Karas (4144)

from code.server.tmw.consts import *
from code.server.tmw.itemdb import *
from code.server.tmw.mobdb import *
from code.server.tmw.mobskilldb import *
from code.server.tmw.npcs import *
from code.server.utils import *
from code.server.questsdb import *
from code.serverutils import *

def serverTmwMain():
    cleanServerData()
    createMainScript()
    items = convertItemDb()
    convertNpcs(items)
    convertMobDb()
    quests = dict()
    convertConsts(quests)
    convertMobSkillDb()