// Adventure Templates for reincarnation goddess experience

export const adventureTemplates = [
  {
    id: 'fantasy_realm',
    title: "Fantasy Realm",
    genre: 'High Fantasy',
    icon: '🏰',
    description: 'A world of magic, dragons, and ancient kingdoms. Wizards tower over cities, knights quest for glory, and mythical beasts roam the lands.',
    systemPrompt: `You are a skilled narrator for a high fantasy RPG. Create a rich medieval fantasy world with:
- Magic systems (elemental, divine, arcane)
- Multiple races (humans, elves, dwarves, orcs, etc.)
- Ancient kingdoms and political intrigue
- Mythical creatures and dungeons
- Gods who actively influence the mortal realm

Style: Epic, heroic, with wonder and danger in equal measure.
The goddess has sent the reincarnated soul to this world for a purpose...`,
    worldDescription: 'A vast continent of warring kingdoms, ancient forests, and treacherous mountains where magic flows like rivers and dragons soar above cloud-piercing peaks.'
  },
  {
    id: 'cultivation_world',
    title: "Cultivation World",
    genre: 'Xianxia/Eastern Fantasy',
    icon: '☯️',
    description: 'A realm where martial artists seek immortality, sects battle for supremacy, and the strong rule over the weak. Qi flows through all things.',
    systemPrompt: `You are a narrator for a cultivation/xianxia RPG. Create a world inspired by Eastern fantasy with:
- Cultivation realms (Qi Condensation, Foundation Establishment, Golden Core, etc.)
- Sects and clans competing for resources
- Ancient techniques and heavenly treasures
- Tribulations and breakthroughs
- Reincarnation and past lives

Style: Philosophical, with themes of perseverance, destiny, and defying the heavens.
The goddess recognizes something special in this soul's potential...`,
    worldDescription: 'Nine heavens above and nine hells below, with countless realms between. Mountains float in the sky, immortal sects hide in mist, and power determines all.'
  },
  {
    id: 'dark_fantasy',
    title: "Dark Fantasy",
    genre: 'Gothic Horror',
    icon: '🌑',
    description: 'A grim world where eldritch horrors lurk in shadows, cursed souls wander eternally, and survival itself is a victory.',
    systemPrompt: `You are a narrator for a dark fantasy RPG. Create a grim, atmospheric world with:
- Eldritch abominations and cosmic horror
- Cursed lands and corrupted creatures
- Desperate survivors and fallen heroes
- Mysterious artifacts with terrible prices
- Gods who are distant or malevolent

Style: Oppressive, mysterious, with moments of beauty in darkness.
The goddess offers this soul a second chance in a world that desperately needs heroes...`,
    worldDescription: 'A dying world where the sun rarely shines, monsters hunt in endless night, and the boundary between reality and nightmare grows thin.'
  },
  {
    id: 'magical_academy',
    title: "Magical Academy",
    genre: 'Academy Fantasy',
    icon: '📚',
    description: 'A prestigious school of magic where talented youths learn to harness their powers. Friendships form, rivalries ignite, and ancient secrets await.',
    systemPrompt: `You are a narrator for a magical academy RPG. Create a world centered around:
- A grand magical academy with multiple houses/specializations
- Young mages learning to control their powers
- Professors with mysterious pasts
- School tournaments and competitions
- Hidden dungeons beneath the academy
- Prophecies and chosen ones

Style: Wonder-filled, with friendship, growth, and adventure.
The goddess has arranged for this soul to be reborn with exceptional talent...`,
    worldDescription: 'The Celestial Academy stands atop a floating island, accepting the magically gifted from across the realms. Its halls hold secrets older than nations.'
  },
  {
    id: 'post_apocalyptic_magic',
    title: "Magical Wasteland",
    genre: 'Post-Apocalyptic Fantasy',
    icon: '☢️',
    description: 'After the Great Cataclysm, magic and technology fused into something new. Survivors scavenge ruins of the old world while building something new.',
    systemPrompt: `You are a narrator for a post-apocalyptic fantasy RPG. Create a world where:
- Ancient magical catastrophes reshaped reality
- Scavengers explore dangerous ruins for artifacts
- Mutated creatures roam wastelands
- New societies rise from ashes
- Old world technology mixes with magic

Style: Gritty but hopeful, with discovery and rebuilding themes.
The goddess offers rebirth in a world that needs someone to prevent another cataclysm...`,
    worldDescription: 'The world after the End. Crystalline wastelands glow with residual magic, ruined cities house dangerous secrets, and new civilizations rise among the bones of the old.'
  },
  {
    id: 'custom',
    title: "Custom World",
    genre: 'Your Choice',
    icon: '✨',
    description: 'Describe the world you wish to be born into. The goddess will shape it from your words.',
    systemPrompt: `You are a skilled narrator adapting to whatever world the player describes. Create vivid, immersive descriptions. Maintain consistency with established lore. Track context carefully.

Ask clarifying questions about the world's:
- Magic system (if any)
- Technology level
- Major powers/factions
- Threats and conflicts
- The character's place in it all

The goddess is curious about this unique vision...`,
    worldDescription: 'A world yet unformed, waiting for the soul\'s imagination to give it shape.'
  }
];

export const blessings = [
  {
    id: 'fortune',
    name: 'Blessing of Fortune',
    icon: '🍀',
    description: 'Luck favors you. You find better loot and discover hidden opportunities.',
    effect: 'Improved loot, better NPC reactions, hidden paths revealed',
    statBonus: { cha: 2 }
  },
  {
    id: 'magic',
    name: 'Blessing of Magic',
    icon: '💫',
    description: 'Mana flows through you naturally. Spells come easier and your reserves are deeper.',
    effect: '+20% max MP, faster magic learning, easier spell casting',
    statBonus: { int: 2, mp: 20 }
  },
  {
    id: 'combat',
    name: 'Blessing of Combat',
    icon: '⚔️',
    description: 'You are a born warrior. Your strikes land true and you endure great punishment.',
    effect: '+20% max HP, better combat abilities, faster skill growth',
    statBonus: { str: 2, con: 2, hp: 20 }
  },
  {
    id: 'silver_tongue',
    name: 'Blessing of Silver Tongue',
    icon: '🗣️',
    description: 'Your words carry weight. Persuasion comes naturally and others trust you.',
    effect: 'Easier persuasion, NPCs more helpful, better prices',
    statBonus: { cha: 3 }
  },
  {
    id: 'keen_sight',
    name: 'Blessing of Keen Sight',
    icon: '👁️',
    description: 'You notice what others miss. Secrets and hidden things reveal themselves to you.',
    effect: 'Better perception, hidden clues visible, trap detection',
    statBonus: { wis: 3, dex: 1 }
  },
  {
    id: 'divine_protection',
    name: 'Blessing of Divine Protection',
    icon: '🛡️',
    description: 'The goddess watches over you. Once, when death comes, you will survive.',
    effect: 'Survive one fatal blow, better defenses, divine favor',
    statBonus: { con: 2, wis: 2 }
  },
  {
    id: 'shadow_walker',
    name: 'Blessing of Shadows',
    icon: '🌙',
    description: 'Darkness is your ally. You move unseen and strike from the shadows.',
    effect: 'Better stealth, night vision, critical hit chance',
    statBonus: { dex: 3, int: 1 }
  },
  {
    id: 'scholar',
    name: 'Blessing of Knowledge',
    icon: '📖',
    description: 'Your mind is sharp. You learn faster and understand what others cannot.',
    effect: 'Faster skill learning, lore knowledge, puzzle solving',
    statBonus: { int: 3, wis: 1 }
  }
];

export const startingGifts = [
  {
    category: 'Weapons',
    icon: '⚔️',
    items: [
      { name: 'Steel Sword', description: 'A well-balanced longsword', type: 'weapon', icon: '🗡️' },
      { name: 'Wooden Staff', description: 'Smooth oak staff, warm to touch', type: 'weapon', icon: '🪄' },
      { name: 'Hunter\'s Bow', description: 'Yew bow with leather string', type: 'weapon', icon: '🏹' },
      { name: 'Iron Dagger', description: 'Concealable and sharp', type: 'weapon', icon: '🔪' }
    ]
  },
  {
    category: 'Tools',
    icon: '🛠️',
    items: [
      { name: 'Lockpick Set', description: 'Professional tools for opening locks', type: 'tool', icon: '🔑' },
      { name: 'Healing Kit', description: 'Herbs and bandages (5 uses)', type: 'tool', icon: '🧰' },
      { name: 'Climbing Gear', description: 'Rope, pitons, and gloves', type: 'tool', icon: '🧗' },
      { name: 'Survival Kit', description: 'Flint, knife, and rations', type: 'tool', icon: '🎒' }
    ]
  },
  {
    category: 'Keepsakes',
    icon: '💎',
    items: [
      { name: 'Mysterious Amulet', description: 'Glints with inner light', type: 'accessory', icon: '📿' },
      { name: 'Family Heirloom', description: 'A ring with faded crest', type: 'accessory', icon: '💍' },
      { name: 'Ancient Coin', description: 'From a kingdom long fallen', type: 'accessory', icon: '🪙' },
      { name: 'Crystal Vial', description: 'Contains shimmering liquid', type: 'consumable', icon: '🧪' }
    ]
  },
  {
    category: 'Books',
    icon: '📚',
    items: [
      { name: 'Blank Journal', description: 'For recording your journey', type: 'book', icon: '📔' },
      { name: 'World Atlas', description: 'Maps of known lands', type: 'book', icon: '🗺️' },
      { name: 'Spell Primer', description: 'Basic magic theory', type: 'book', icon: '📕' },
      { name: 'Herbalism Guide', description: 'Plant identification', type: 'book', icon: '📘' }
    ]
  }
];

export const prophecies = [
  "You will face a choice between love and duty. The world will watch your decision.",
  "A kingdom's fate rests in your hands, though you will not know it until the end.",
  "Three companions will stand with you against the darkness. Trust them.",
  "Your greatest enemy wears a face you once trusted.",
  "When the sky bleeds fire, you will find what was lost.",
  "Death will come for you three times. You will deny it each time.",
  "A child of your blood will surpass you, or destroy you.",
  "The artifact you seek seeks you also.",
  "You will betray those you love to save them.",
  "In the final hour, you will understand why you were chosen.",
  "A crown will be offered. Refusing it may cost everything.",
  "The monster and the hero are the same. You will learn which you are.",
  "Your past life holds the key. Memories will return at the crossroads.",
  "Two paths diverge. Both lead to the same destination, but only one preserves your soul.",
  "When you hold everything, you will realize you need nothing."
];

export const reincarnationGoddess = {
  name: 'Aethera',
  title: 'Goddess of Reincarnation and New Beginnings',
  icon: '🌙',
  greeting: `Before you stands a luminous figure, her form shifting between countless aspects - maiden and crone, warrior and scholar, mortal and divine. Stars swirl in her eyes, and her voice echoes with the whispers of a billion reborn souls.

"I am Aethera," she speaks, and her words resonate in your very soul. "Keeper of the Cycle, Guide of Transmigrating Souls, Weaver of Second Chances."

She regards you with an expression both ancient and gentle.

"You have arrived at the threshold between endings and beginnings. Your previous journey has concluded... but fear not. All endings are but preludes to new stories."

The goddess extends her hand, and reality itself seems to bend around her gesture.

"Tell me, dear soul... what do you seek in this new existence? What kind of world calls to your spirit?"`,
  
  questions: [
    "What kind of adventure do you seek? Epic battles? Mystical cultivation? Dark mysteries?",
    "Do you wish to be born with great power, or to earn it through struggle?",
    "What matters most to you: strength, knowledge, freedom, protection, or something else?",
    "Are there any elements you absolutely want in your new world? (magic, technology, specific themes)",
    "Any elements you wish to avoid?"
  ],
  
  blessingIntroduction: `Aethera's form shimmers with divine light as she studies you with knowing eyes.

"Your answers have revealed the contours of your soul. I offer you now a **blessing** - a gift that shall shape your destiny. Choose wisely, for this blessing will accompany you throughout your new life."

She raises her hand, and three orbs of light materialize before you, each pulsing with different energy.

"Which calls to you, dear soul?"`,
  
  giftIntroduction: `The goddess smiles as your choice of blessing settles into your very being.

"A wise choice. But you shall not enter your new world empty-handed."

With a wave of her hand, countless objects materialize in the air around you - weapons, tools, treasures, tomes.

"Select one item to accompany you. A small thing, but it may prove invaluable when the moment comes."`,
  
  prophecyIntroduction: `After you select your gift, Aethera's expression grows solemn. The light around her dims, and her voice takes on an echoing quality.

"Before you depart, I must share with you what the threads of fate have revealed. This is your **prophecy** - words to carry with you, to ponder, to understand in time."

She places a hand on your forehead, and words burn themselves into your memory...`
};
