19 lines
392 B
Python
19 lines
392 B
Python
import my_helpers.myPickle as my_pickle
|
|
from my_helpers.Config import Config
|
|
from classes.Map import Map
|
|
|
|
import lzma, os
|
|
|
|
if __name__ == '__main__':
|
|
CONFIG = Config("config.json")
|
|
|
|
game_map = Map("./Map")
|
|
game_map.make_file()
|
|
|
|
game_map.save_to_file({
|
|
"path": f"{CONFIG['map_file']['path']}/{CONFIG['map_file']['filename']}",
|
|
"compression": lzma
|
|
})
|
|
|
|
print(game_map.story)
|