This repository has been archived on 2026-06-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2024-04-03 12:24:17 +02:00
|
|
|
import my_helpers.myPickle as my_pickle
|
2024-04-03 12:42:19 +02:00
|
|
|
from my_helpers.Config import Config
|
2024-04-03 12:24:17 +02:00
|
|
|
from classes.Map import Map
|
|
|
|
|
|
2024-04-03 12:42:19 +02:00
|
|
|
import lzma, os
|
2024-04-03 12:24:17 +02:00
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2024-04-03 12:42:19 +02:00
|
|
|
CONFIG = Config("config.json")
|
2024-04-03 12:24:17 +02:00
|
|
|
|
|
|
|
|
game_map = Map("./Map")
|
|
|
|
|
game_map.make_file()
|
|
|
|
|
|
2024-04-04 03:36:10 +02:00
|
|
|
game_map.save_to_file({
|
|
|
|
|
"path": f"{CONFIG['map_file']['path']}/{CONFIG['map_file']['filename']}",
|
|
|
|
|
"compression": lzma
|
|
|
|
|
})
|
2024-04-03 12:24:17 +02:00
|
|
|
|
|
|
|
|
print(game_map.story)
|