# Path: omnitool/database.py
# def get_custom_db(txt):
# def parse():
# 
# Path: omnitool/binarysplit.py
# def join(name, delete=False, path=None):
#     with open(name, "wb") as f:
#         for x in range(6):
#             if path:
#                 n = os.path.join(path, str(x) + ".part")
#             else:
#                 n = str(x) + ".part"
#             with open(n, "rb") as d:
#                 f.write(d.read())
#             if delete:
#                 try:
#                     os.remove(n)
#                 except:
#                     pass
# 
# def cleanup():
#     for x in range(6):
#         try:
#             os.remove(str(x) + ".part")
#         except:
#             pass
# 
# Path: plugins/arena_lib/arenaitems.py



import sys
    import os
import pygame
            import os
            import time
            import time
from collections import defaultdict
from pgu import gui
from math import sqrt, cos, sin, pi
from random import *
from os.path import join as osjoin
from omnitool.database import version, tiles, names
from omnitool.tlib import *
from omnitool.tinterface import *
from omnitool.binarysplit import join, cleanup
from .arena_lib.arenaitems import items as arenaitems
        from omnitool.shared import lang, theme, exit_prog, __version__
        from omnitool.pgu_override import Quitbutton
# ref ID: 7
config = {
    "name": "Dungeon Arena",  #plugin name
    "type": "generator",  #plugin type
    "description": ["Dungeon Arena"]  #description
}


if __name__ == "__main__":
    sys.path.extend(["."])

    os.chdir("..")
    del (os)




# Path: omnitool/database.py
# def get_custom_db(txt):
# def parse():
# 
# Path: omnitool/binarysplit.py
# def join(name, delete=False, path=None):
#     with open(name, "wb") as f:
#         for x in range(6):
#             if path:
#                 n = os.path.join(path, str(x) + ".part")
#             else:
#                 n = str(x) + ".part"
#             with open(n, "rb") as d:
#                 f.write(d.read())
#             if delete:
#                 try:
#                     os.remove(n)
#                 except:
#                     pass
# 
# def cleanup():
#     for x in range(6):
#         try:
#             os.remove(str(x) + ".part")
#         except:
#             pass
# 
# Path: plugins/arena_lib/arenaitems.py



# Path: plugins/arena.py
import sys
    import os
import pygame
            import os
            import time
            import time
from collections import defaultdict
from pgu import gui
from math import sqrt, cos, sin, pi
from random import *
from os.path import join as osjoin
from omnitool.database import version, tiles, names
from omnitool.tlib import *
from omnitool.tinterface import *
from omnitool.binarysplit import join, cleanup
from .arena_lib.arenaitems import items as arenaitems
        from omnitool.shared import lang, theme, exit_prog, __version__
        from omnitool.pgu_override import Quitbutton

# ref ID: 7
config = {
    "name": "Dungeon Arena",  #plugin name
    "type": "generator",  #plugin type
    "description": ["Dungeon Arena"]  #description
}


if __name__ == "__main__":
    sys.path.extend(["."])

    os.chdir("..")
    del (os)




from .arena_lib.arenaitems import items as arenaitems