{ "world": { "name": "aethelgard", "description": "A world of myth." }, "ai": { "system": "This is aethelgard, a world of myth.", "prompt": "Generate stories based on Norse mythology.", "lore": { "leveling": "Player can level up by doing something brave." } }, "variables": { "hp": { "type": "numeric", "description": "Player's health, value 0 will result in a game over.", "value": 100, "min_value": 0, "max_value": 100 }, "level": { "type": "numeric", "description": "Player's level, describes the player's strength.", "value": 1 } }, "items": { "Potion1": { "name": "Heal Potion", "description": "Potion to heal.", "attributes": { "hp": 20 } } }, "scenario": { "init": { "text": "You awaken in the shadowed halls of Valhalla's outskirts in Aethelgard, a realm woven from Norse myths. The air hums with the whispers of Valkyries, and the distant clash of swords echoes from Ragnarok's edge. A spectral figure, perhaps a draugr, beckons you forward. What do you do?", "choices": [ { "text": "1. Approach the spectral figure cautiously" }, { "text": "2. Chant an ancient rune to reveal its true nature", "actions": [ { "variable_name": "level", "value": "1" } ] }, { "text": "3. Flee into the misty woods", "actions": [ { "variable_name": "hp", "value": "-10" } ] }, { "text": "4. Search the ground for a forgotten relic", "actions": [ { "item_name": "Potion1", "quantity": 1 } ] } ] } } }