diff --git a/.gitignore b/.gitignore index cec742b..2d2768d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,4 @@ __pycache__/ *.log -Map/*.json **/*pkl* diff --git a/Map/The Beginning.json b/Map/The Beginning.json new file mode 100644 index 0000000..27418f5 --- /dev/null +++ b/Map/The Beginning.json @@ -0,0 +1,42 @@ +{ + "World": [ + { + "name": "Your Home", + "story": "As you wake up, you find yourself in a dimly lit bedroom. The air is still and musty, and you can feel the weight of exhaustion on your limbs.\n\nAs your eyes adjust to the darkness, you begin to make out the details of the room. There is a bed against the far wall, a computer desk near the door, and a chest at the foot of the bed. But what catches your eye is the broken portal on the opposite wall. Its twisted metal frame and shattered glass suggest it was destroyed in a violent event.\n\nYou feel a nagging sense of unease as you realize that you have no memory of how you got here or what happened to the portal. It's up to you to uncover the truth and find a way out of this strange and mysterious place.", + "moves": [ + {"name": "Outside", "story_move": "The Outer World"} + ] + }, + { + "name": "The Outer World", + "story": "", + "moves": [ + {"name": "Back Home", "place": "home"}, + {"name": "To the Left", "place": ""}, + {"name": "To the Right", "place": ""}, + {"name": "Down to the River", "place": "river"}, + {"name": "To a Old Farm", "place": "old_farm"} + ] + } + ], + "Places": { + "home": { + "story": "" + }, + "river": { + "story": "" + }, + "old_farm": { + "story": "" + } + }, + "NPCs": [ + + ], + "Monster": [ + + ], + "Items": [ + + ] +} \ No newline at end of file diff --git a/config.json b/config.json new file mode 100644 index 0000000..5620afb --- /dev/null +++ b/config.json @@ -0,0 +1,85 @@ +{ + "map_file": { + "path": "./GameData", + "filename": "map.pkl.lzma.encrypted", + "encryption_key": "" + }, + "save_file": { + "path": "./GameData/Save", + "filename": "The-Adventure-AutoSaveGame.pkl.lzma.encrypted", + "encryption_key": "" + }, + + "logging": { + "enabled": false, + "file": { + "path": "./GameData/log", + "name": "debug.log" + } + }, + + "player": { + "species": { + "Human": { + "hp": 100, + "strength": 5, + "speed": 7, + "defense": 3, + "inventory_size": 3, + "fixed_type": false + }, + "Dragon": { + "hp": 100, + "strength": 15, + "speed": 15, + "defense": 10, + "inventory_size": 5, + "fixed_type": "Magician" + }, + "Gnoll": { + "hp": 100, + "strength": 10, + "speed": 5, + "defense": 6, + "inventory_size": 10, + "fixed_type": "Warrior" + }, + "Elf": { + "hp": 100, + "strength": 3, + "defense": 3, + "speed": 8, + "inventory_size": 3, + "fixed_type": false + }, + "Wolf": { + "hp": 100, + "strength": 7, + "speed": 6, + "defense": 6, + "inventory_size": 4, + "fixed_type": false + }, + "Fox": { + "hp": 100, + "strength": 6, + "speed": 7, + "defense": 6, + "inventory_size": 4, + "fixed_type": false + } + }, + "types": [ + { + "name": "Magician" + }, + { + "name": "Warrior" + }, + { + "name": "Archer" + } + ] + }, + "create_character_message": "Dear Traveler,\n\nWelcome to our world! We're excited to have you join us on your journey, and we can't wait to see what adventures you'll have here.\n\nBefore you set out, we'll need you to create a character to guide you through this world. You'll get to choose your character's appearance, abilities, and personality traits. Will you be a brave warrior, a wise wizard, or a skilled archer? The choice is yours!\n\nOnce you've created your character, you'll be ready to embark on your quest. Explore the world, meet new friends, and take on challenges to grow stronger and more skilled. We can't wait to see where your journey will take you.\n\nSo what are you waiting for? Let's get started!\n\n" +} \ No newline at end of file