mirror of
https://github.com/gregory-jagermeister/Fantasy-Content-Generator.git
synced 2026-07-22 07:30:31 +00:00
19 lines
No EOL
21 KiB
TypeScript
19 lines
No EOL
21 KiB
TypeScript
export function generatePlotHook(): string {
|
|
const antagonist = ["orcish horde", "demonic cult", "goblin mercenaries", "troll raiders", "undead army", "shapeshifting spies", "gargoyle hoard", "draconic cult", "sorcerous league", "vampire coven", "elemental scourge", "psychic assassins", "giant marauders", "fey enchantresses", "ogre raiders", "gnoll mercenaries", "infernal overlords", "undead necromancers", "fey warlords", "aquatic raiders", "vampiric coven", "ancient vampires", "golem warriors", "beholder mind-scouts", "political pressure groups", "demonic horde", "gnome infiltrators", "necromantic cults", "dwarven brigands", "half-fiend warlords", "tiefling spies", "adventurers guild", "dark gods cult", "celestial tyrants", "githyanki invaders", "halfling infiltrators", "shadow organization", "winged marauders", "lycanthrope warriors", "aquatic witches", "cult of the dragon", "ancient evils", "lich court", "political factions", "witch hunters", "elf maidens", "goblin assassins", "black order", "dragon-kings", "goblin hordes", "arcane artificers", "mountain giants", "elemental lords", "hobgoblin brigands", "undead host", "efreeti rulers", "humanoids kingdom", "cult of the wyrm", "elemental sorcerers", "ogre magi", "gnome saboteurs", "deep ones", "drow guilds", "woodland witches", "gargoyle builders", "planar hauntings", "umbral court", "cult of the smith", "earthbinders", "chaotic agents", "eldritch powers", "naga sorcerers", "underdark monsters", "githzerai agents", "assassins league", "harpy warriors", "orcish warlords", "familiars", "astral marauders", "fey lords", "alien overlords", "spider cults", "sorcerous covens", "goblin overlords", "dragonspawn", "mountain witches", "goblin witchdoctors", "ogre warbands", "aboleth sorcerers", "doppelgangers", "demonic horde", "gnoll wizards", "elemental armies", "shadow court", "dwarven bandits", "dark wizards", "necropolis", "cult of the destroyer", "fomorian bastions", "primordial forces", "insectoid slavemasters", "gnome artificers", "dwarven lords", "hive mind", "archfiends", "beast cults", "undead armies", "devilish court", "vampire lords", "arcane cabal", "mystic sorcerors", "hiveminds", "primal beasts", "archdevils", "noxious elementals", "djinni rulers"];
|
|
const location = ["forest", "mountains", "desert", "swamps", "underground", "cave", "plains", "island", "castle", "volcano", "jungle", "tundra", "tower", "river", "sea", "moor", "valley", "glacier", "mines", "ruins", "oasis", "lagoon", "beach", "mountain pass", "cliff", "grotto", "falls", "lakes", "gardens", "meadows", "swamp woods", "canyon", "lighthouse", "outskirts", "islets", "crystal caverns", "fjords", "marsh", "gully", "fen", "grove", "coral reef", "bayou", "heath", "gorge", "pond", "cliffs", "cave system", "abyss", "mountain top", "underwater city", "bog", "iceberg", "mineshaft", "abandoned city", "haunted forest", "treetops", "lava plains", "tunnels", "hidden grotto", "underground lake", "wastelands"];
|
|
|
|
const antagonistsIndex = Math.floor(Math.random() * antagonist.length);
|
|
const locationsIndex = Math.floor(Math.random() * location.length);
|
|
|
|
const promptArray = [
|
|
{ title: `The Lost ${location[locationsIndex]} Treasure`, description: `A valuable artifact has gone missing in the ${location[locationsIndex]}. It is said to be guarded by ${antagonist[antagonistsIndex]}. The artifact must be retrieved before it falls into the wrong hands.` }, { title: `The Cursed ${location[locationsIndex]}`, description: `A mysterious force has taken hold of the ${location[locationsIndex]}, causing strange and dangerous happenings. It is up to the brave adventurers to find out what is causing this and put an end to it.` },
|
|
{ title: `The ${antagonist[antagonistsIndex]} of the ${location[locationsIndex]}`, description: `The ${location[locationsIndex]} is being terrorized by a powerful ${antagonist[antagonistsIndex]}. The people of the ${location[locationsIndex]} are in need of heroes to take on the ${antagonist[antagonistsIndex]} and restore peace to the land.` },
|
|
{ title: `The Mystery of the ${location[locationsIndex]}`, description: `The ${location[locationsIndex]} is full of secrets and mysteries. It is up to the adventurers to explore the ${location[locationsIndex]} and uncover its hidden secrets.` },
|
|
{ title: `The ${antagonist[antagonistsIndex]}'s Lair`, description: `The ${antagonist[antagonistsIndex]} has taken refuge in a hidden lair deep in the ${location[locationsIndex]}. It is up to the adventurers to find the lair and put an end to the ${antagonist[antagonistsIndex]}'s reign of terror.` }, { title: `The ${antagonist[antagonistsIndex]}'s Revenge`, description: `The ${antagonist[antagonistsIndex]} has returned to the ${location[locationsIndex]} seeking revenge. The brave adventurers must face the ${antagonist[antagonistsIndex]} and save the ${location[locationsIndex]} from destruction.` }, { title: `The ${location[locationsIndex]}'s Last Hope`, description: `The ${location[locationsIndex]} is in dire need of help. The brave adventurers must put an end to the ${antagonist[antagonistsIndex]}'s evil plans and save the ${location[locationsIndex]} from destruction.` }, { title: `The Battle for the ${location[locationsIndex]}`, description: `The forces of evil are gathering in the ${location[locationsIndex]}. The brave adventurers must fight to protect the ${location[locationsIndex]} from the ${antagonist[antagonistsIndex]} and his minions.` }, { title: `The Search for the ${location[locationsIndex]}`, description: `The ${location[locationsIndex]} has been lost for centuries. It is up to the adventurers to search the ${location[locationsIndex]} and uncover its secrets.` }, { title: `The ${antagonist[antagonistsIndex]}'s Treasure`, description: `The ${antagonist[antagonistsIndex]} has hidden a great treasure in the ${location[locationsIndex]}. It is up to the adventurers to find the treasure and put an end to the ${antagonist[antagonistsIndex]}'s schemes.` }, { title: `The ${antagonist[antagonistsIndex]}'s Curse`, description: `The ${antagonist[antagonistsIndex]} has cursed the ${location[locationsIndex]}. It is up to the adventurers to break the curse and restore peace to the ${location[locationsIndex]}.` }, { title: `The ${location[locationsIndex]}'s Secret`, description: `The ${location[locationsIndex]} is full of secrets that are waiting to be discovered. It is up to the adventurers to explore the ${location[locationsIndex]} and uncover its secrets.` }, { title: `The Battle for the ${location[locationsIndex]}`, description: `The ${location[locationsIndex]} is under siege by the forces of the ${antagonist[antagonistsIndex]}. The brave adventurers must fight to protect the ${location[locationsIndex]} and put an end to the ${antagonist[antagonistsIndex]}'s reign of terror.` }, { title: `The ${antagonist[antagonistsIndex]}'s Scheme`, description: `The ${antagonist[antagonistsIndex]} is planning something sinister in the ${location[locationsIndex]}. It is up to the adventurers to stop the ${antagonist[antagonistsIndex]} before it is too late.` }, { title: `The ${location[locationsIndex]}'s Secret`, description: `The ${location[locationsIndex]} holds a secret that could change the world. It is up to the adventurers to find the secret and protect it from the ${antagonist[antagonistsIndex]}.` }, { title: `The ${antagonist[antagonistsIndex]}'s Wrath`, description: `The ${antagonist[antagonistsIndex]} is wreaking havoc in the ${location[locationsIndex]}. It is up to the adventurers to put an end to the ${antagonist[antagonistsIndex]}'s evil plans and restore peace to the ${location[locationsIndex]}.` }, { title: `The Return of the ${antagonist[antagonistsIndex]}`, description: `The ${antagonist[antagonistsIndex]} has returned to the ${location[locationsIndex]}. The brave adventurers must face the ${antagonist[antagonistsIndex]} and save the ${location[locationsIndex]} from destruction.` }, { title: `The ${antagonist[antagonistsIndex]}'s Demise`, description: `The ${antagonist[antagonistsIndex]} is threatening the ${location[locationsIndex]}. It is up to the adventurers to put an end to the ${antagonist[antagonistsIndex]} and save the ${location[locationsIndex]} from destruction.` }, { title: `The ${location[locationsIndex]}'s Rescue`, description: `The ${location[locationsIndex]} is in great danger. It is up to the brave adventurers to save the ${location[locationsIndex]} from the clutches of the ${antagonist[antagonistsIndex]}.` }, { title: `The ${location[locationsIndex]}'s Secret`, description: `A powerful secret lies hidden in the ${location[locationsIndex]}. It is up to the adventurers to find the secret and protect it from the ${antagonist[antagonistsIndex]}.` }, { title: `The ${antagonist[antagonistsIndex]}'s Challenge`, description: `The ${antagonist[antagonistsIndex]} has issued a challenge to the adventurers. It is up to the adventurers to face the ${antagonist[antagonistsIndex]} and save the ${location[locationsIndex]} from destruction.` }, { title: `The ${antagonist[antagonistsIndex]}'s Plan`, description: `The ${antagonist[antagonistsIndex]} is plotting something sinister in the ${location[locationsIndex]}. It is up to the adventurers to stop the ${antagonist[antagonistsIndex]} before it is too late.` }, { title: `The ${location[locationsIndex]}'s Rescue`, description: `The ${location[locationsIndex]} is in dire need of help. The brave adventurers must put an end to the ${antagonist[antagonistsIndex]}'s evil plans and save the ${location[locationsIndex]} from destruction.` }, { title: `The ${location[locationsIndex]}'s Treasure`, description: `A valuable treasure lies hidden in the ${location[locationsIndex]}. It is up to the adventurers to find the treasure and put an end to the ${antagonist[antagonistsIndex]}'s schemes.` }, { title: `The Lost ${location[locationsIndex]} Expedition`, description: `A group of adventurers have gone missing in the ${location[locationsIndex]}. It is up to the brave adventurers to find the expedition and discover what happened to them.` }, { title: `The ${location[locationsIndex]}'s Guardian`, description: `A powerful guardian has taken up residence in the ${location[locationsIndex]}. It is up to the adventurers to find the guardian and put an end to the ${antagonist[antagonistsIndex]}'s evil plans.` }, { title: `The ${antagonist[antagonistsIndex]}'s Shadow`, description: `The ${antagonist[antagonistsIndex]} is casting a dark shadow over the ${location[locationsIndex]}. It is up to the adventurers to put an end to the ${antagonist[antagonistsIndex]}'s reign of terror.` }, { title: `The ${location[locationsIndex]}'s Fate`, description: `The fate of the ${location[locationsIndex]} lies in the hands of the adventurers. It is up to them to save the ${location[locationsIndex]} from the clutches of the ${antagonist[antagonistsIndex]}.` }, { title: `The ${antagonist[antagonistsIndex]}'s Threat`, description: `The ${antagonist[antagonistsIndex]} is threatening the ${location[locationsIndex]}. It is up to the adventurers to put an end to the ${antagonist[antagonistsIndex]} and save the ${location[locationsIndex]} from destruction.` }, { title: `The ${antagonist[antagonistsIndex]}'s Ambition`, description: `The ${antagonist[antagonistsIndex]} has set his sights on the ${location[locationsIndex]}. It is up to the adventurers to stop the ${antagonist[antagonistsIndex]} and save the ${location[locationsIndex]} from destruction.` }, { title: `The ${location[locationsIndex]} Mystery`, description: `Rumors of strange occurrences in the ${location[locationsIndex]} have been spreading. People have been disappearing and strange creatures have been seen. You must investigate what is happening and put a stop to it.` }, { title: `The ${location[locationsIndex]} Escort`, description: `You have been hired to escort a VIP to a meeting in the ${location[locationsIndex]}. Along the way, you must protect them from ${antagonist[antagonistsIndex]} who are trying to disrupt the meeting.` }, { title: `The Kidnapped ${location[locationsIndex]} Princess`, description: `The princess of the ${location[locationsIndex]} kingdom has been kidnapped by ${antagonist[antagonistsIndex]}. You must journey to their hideout and rescue her.` }, { title: `The ${location[locationsIndex]} Heist`, description: `You have been hired to steal a valuable item from the ${location[locationsIndex]}. You must be stealthy and avoid detection from ${antagonist[antagonistsIndex]}.` }, { title: `The ${location[locationsIndex]} Curse`, description: `An ancient curse has been unleashed in the ${location[locationsIndex]}. You must find a way to break it before it is too late. ${antagonist[antagonistsIndex]} are guarding the source of the curse and must be defeated.` }, { title: `The ${location[locationsIndex]} Artifact`, description: `A powerful artifact is hidden in the ${location[locationsIndex]}. You must find it before ${antagonist[antagonistsIndex]} can get their hands on it.` }, { title: `The ${location[locationsIndex]} Rescue`, description: `Your friends have been captured by ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must rescue them before it is too late.` }, { title: `The ${location[locationsIndex]} Showdown`, description: `You must face off against ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must defeat them in order to restore peace.` }, { title: `The ${location[locationsIndex]} Revenge`, description: `You have been wronged by ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must get revenge and restore your honor.` }, { title: `The ${location[locationsIndex]} Terror`, description: `${antagonist[antagonistsIndex]} have taken over the ${location[locationsIndex]}. You must find a way to stop them and restore peace.` }, { title: `The ${location[locationsIndex]} Hunt`, description: `You have been hired to hunt down ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must find them and bring them to justice.` }, { title: `The ${location[locationsIndex]} Challenge`, description: `You have been challenged by ${antagonist[antagonistsIndex]} to a duel in the ${location[locationsIndex]}. You must accept the challenge and prove your worth.` },
|
|
{ title: `The ${location[locationsIndex]} Race`, description: `You have been challenged to a race by ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must win the race to prove your superiority.` }, { title: `The ${location[locationsIndex]} Danger`, description: `The ${location[locationsIndex]} is in danger from ${antagonist[antagonistsIndex]}. You must find a way to save it before it is too late.` }, { title: `The ${location[locationsIndex]} Mysteries`, description: `Strange things are happening in the ${location[locationsIndex]}. You must investigate and uncover the truth behind the mysteries.` }, { title: `The ${location[locationsIndex]} Showdown`, description: `You must face off against ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must defeat them in order to save the day.` }, { title: `The ${location[locationsIndex]} Invasion`, description: `${antagonist[antagonistsIndex]} have invaded the ${location[locationsIndex]}. You must find a way to drive them out and restore peace.` }, { title: `The ${location[locationsIndex]} Showdown`, description: `You must face off against ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must defeat them in order to save the world.` }, { title: `The ${location[locationsIndex]} Discovery`, description: `You have been hired to explore the ${location[locationsIndex]}. Along the way, you must fend off ${antagonist[antagonistsIndex]} and uncover ancient secrets.` }, { title: `The ${location[locationsIndex]} Showdown`, description: `You must face off against ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must defeat them in order to save the kingdom.` }, { title: `The ${location[locationsIndex]} Prison`, description: `You have been hired to break someone out of a prison in the ${location[locationsIndex]}. Along the way, you must avoid detection from ${antagonist[antagonistsIndex]}.` }, { title: `The ${location[locationsIndex]} Rescue`, description: `You have been hired to rescue someone from the ${location[locationsIndex]}. Along the way, you must avoid detection from ${antagonist[antagonistsIndex]}.` }, { title: `The ${location[locationsIndex]} Treasure`, description: `A valuable treasure is hidden in the ${location[locationsIndex]}. You must find it before ${antagonist[antagonistsIndex]} can get their hands on it.` }, { title: `The ${location[locationsIndex]} Challenge`, description: `You have been challenged by ${antagonist[antagonistsIndex]} to a battle in the ${location[locationsIndex]}. You must accept the challenge and prove your worth.` }, { title: `The ${location[locationsIndex]} Showdown`, description: `You must face off against ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must defeat them in order to save the city.` }, { title: `The ${location[locationsIndex]} Quest`, description: `You have been sent on a quest to the ${location[locationsIndex]}. Along the way, you must fend off ${antagonist[antagonistsIndex]} and discover ancient secrets.` }, { title: `The ${location[locationsIndex]} Mission`, description: `You have been hired to complete a mission in the ${location[locationsIndex]}. Along the way, you must avoid detection from ${antagonist[antagonistsIndex]}.` }, { title: `The ${location[locationsIndex]} Spy`, description: `You have been hired to spy on ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must find out what they are up to and report back.` }, { title: `The ${location[locationsIndex]} Adventure`, description: `You have been hired to explore the ${location[locationsIndex]}. Along the way, you must fend off ${antagonist[antagonistsIndex]} and uncover ancient secrets.` }, { title: `The ${location[locationsIndex]} Sabotage`, description: `You have been hired to sabotage a plan by ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must find a way to stop them before they succeed.` }, { title: `The ${location[locationsIndex]} Showdown`, description: `You must face off against ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must defeat them in order to protect the innocent.` }, { title: `The ${location[locationsIndex]} Thief`, description: `A thief has stolen something valuable from the ${location[locationsIndex]}. You must find them before they can escape with it.` }, { title: `The ${location[locationsIndex]} Struggle`, description: `The people of the ${location[locationsIndex]} are struggling against the oppression of ${antagonist[antagonistsIndex]}. You must find a way to help them and restore freedom.` }, { title: `The ${location[locationsIndex]} Showdown`, description: `You must face off against ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must defeat them in order to save your friends.` }, { title: `The ${location[locationsIndex]} Escape`, description: `You have been captured by ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must escape before it is too late.` }, { title: `The ${location[locationsIndex]} Challenge`, description: `You have been challenged by ${antagonist[antagonistsIndex]} to a game in the ${location[locationsIndex]}. You must accept the challenge and prove your worth.` }, { title: `The ${location[locationsIndex]} Conflict`, description: `A conflict has broken out in the ${location[locationsIndex]}. You must find a way to stop it before it is too late.` }, { title: `The ${location[locationsIndex]} Rescue`, description: `Your friends have been taken hostage by ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must rescue them before it is too late.` }, { title: `The ${location[locationsIndex]} Retrieval`, description: `You have been hired to retrieve a valuable item from the ${location[locationsIndex]}. You must be stealthy and avoid detection from ${antagonist[antagonistsIndex]}.` }, { title: `The ${location[locationsIndex]} Discovery`, description: `Strange things are happening in the ${location[locationsIndex]}. You must investigate and uncover the truth behind them.` }, { title: `The ${antagonist[antagonistsIndex]} Discovery`, description: `Strange things are happening in the ${location[locationsIndex]}. You must investigate and uncover the truth behind them.` }, { title: `The ${location[locationsIndex]} Conspiracy`, description: `You have uncovered a conspiracy in the ${location[locationsIndex]}. You must find a way to stop it before it is too late.` }, { title: `The ${location[locationsIndex]} Showdown`, description: `You must face off against ${antagonist[antagonistsIndex]} in the ${location[locationsIndex]}. You must defeat them in order to restore justice.` }, { title: `The ${location[locationsIndex]} Battle`, description: `A battle has broken out in the ${location[locationsIndex]}. You must find a way to win it and restore peace.` }, { title: `The ${location[locationsIndex]} Rescue`, description: `You have been hired to rescue a VIP from the ${location[locationsIndex]}. Along the way, you must protect them from ${antagonist[antagonistsIndex]} who are trying to stop you.` }
|
|
]
|
|
|
|
const promptIndex = Math.floor(Math.random() * promptArray.length);
|
|
|
|
return `${promptArray[promptIndex].title},\n${promptArray[promptIndex].description}`;
|
|
} |