Module:VaeringheimGossip: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
NewZimiaGov (talk | contribs)
No edit summary
NewZimiaGov (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 34: Line 34:
end
end


function p.generateGossip()
function p.generateSingleGossip()
     local npcs = {
     local npcs = {
         {name = "Amar Sefar", role = "Canal Dockworker", company = "Lake Morovia Blockade Fund", cult = "Ordo Solis Invicti", description = "A burly man with weathered skin, always wearing a wide-brimmed hat to shield himself from the sun."},
         {name = "Amar Sefar", role = "Canal Dockworker", company = "Lake Morovia Blockade Fund", cult = "Ordo Solis Invicti", description = "A burly dockworker with weathered skin and a strong back, Amar ensures that the bustling canals of Vaeringheim stay operational. He begins every morning with a prayer to the Ordo Solis Invicti, seeking blessings for smooth shipments and clear waters."},
         {name = "Liora Eoseth", role = "Merchant of Silks", company = "Market Hanavusu", cult = "Order of Aurora Mystica", description = "A petite woman with sharp features and flowing auburn hair, known for her vibrant robes."},
         {name = "Liora Eoseth", role = "Merchant of Silks", company = "Market Hanavusu", cult = "Order of Aurora Mystica", description = "A petite and sharp-eyed silk merchant, Liora sources rare and vibrant fabrics that light up the Market Hanavusu. Her devotion to the Order of Aurora Mystica inspires her designs, reflecting the light of dawn."},
         {name = "Tahir Morion", role = "Priest of the Host Spirit", company = "Temple Bank of the Reformed Stripping Path", cult = "Ordo Solis Invicti", description = "A tall, solemn man with a shaved head and piercing green eyes."},
         {name = "Tahir Morion", role = "Priest of the Host Spirit", company = "Temple Bank of the Reformed Stripping Path", cult = "Ordo Solis Invicti", description = "Tahir is a solemn and commanding presence at the Temple Bank, where he leads rituals that strengthen the community’s faith in the Host Spirit. His emerald-green eyes and deep voice make him a revered figure in Vaeringheim."},
         {name = "Kala Inephra", role = "Goldsmith", company = "Shï Collective", cult = "Guild of Golden Shadows", description = "A middle-aged woman with nimble fingers and a streak of silver in her jet-black hair."},
         {name = "Kala Inephra", role = "Goldsmith", company = "Shï Collective", cult = "Guild of Golden Shadows", description = "Kala crafts intricate jewelry that reflects her deep connection to the Guild of Golden Shadows. Her mysterious demeanor and precise hands produce pieces that are both luxurious and enigmatic."},
         {name = "Nadir Alphon", role = "Tavern Keeper", company = "Ale of the Night Central Brewery", cult = "Mystery of Red Mirth", description = "A stout man with a booming laugh and a thick mustache."},
         {name = "Nadir Alphon", role = "Tavern Keeper", company = "Ale of the Night Central Brewery", cult = "Mystery of Red Mirth", description = "Nadir is a stout and boisterous man who operates the most popular tavern in the canal district. Known for his Ale of the Night brews, his establishment is a hub for laughter, stories, and celebrations inspired by the Mystery of Red Mirth."},
         {name = "Elina Voraith", role = "Fisherwoman", company = "Suncliff Fisheries", cult = "Azure Sentinel Sect", description = "A lean, tanned woman with a perpetual smell of saltwater and a streak of mischief in her smile."},
         {name = "Elina Voraith", role = "Fisherwoman", company = "Suncliff Fisheries", cult = "Azure Sentinel Sect", description = "Elina is a fearless fisherwoman with salt-kissed skin and a steady hand. She navigates Lake Morovia daily, her devotion to the Azure Sentinel Sect guiding her through its treacherous waters."},
         {name = "Darin Ilphas", role = "Caravan Guard", company = "East Keltian Iron Company", cult = "Court of the Ironclad", description = "A rugged man with a scar across his cheek and a protective demeanor."},
         {name = "Darin Ilphas", role = "Caravan Guard", company = "East Keltian Iron Company", cult = "Court of the Ironclad", description = "A rugged guard with a scar over his left eye, Darin is known for his unwavering dedication to protecting Vaeringheim’s valuable iron caravans. His loyalty to the Court of the Ironclad is unshakable."},
         {name = "Saira Lineth", role = "Student of the Arts", company = "La Sái Ebile", cult = "Reverie Nebulous", description = "A dreamy young woman with ink-stained fingers and a penchant for painting sunsets."},
         {name = "Saira Lineth", role = "Student of the Arts", company = "La Sái Ebile", cult = "Reverie Nebulous", description = "Saira is a bright-eyed young artist who finds inspiration in the dreamlike teachings of the Reverie Nebulous. Her murals, often featuring swirling celestial themes, grace the walls of Vaeringheim’s artisan district."},
         {name = "Marik Troven", role = "Historian", company = "Temple University of Delphica", cult = "Conclave Illuminara", description = "A wiry man with spectacles perpetually sliding down his nose and a satchel full of scrolls."},
         {name = "Marik Troven", role = "Historian", company = "Temple University of Delphica", cult = "Conclave Illuminara", description = "Marik is a wiry academic who spends his days delving into the chronicles of Vaeringheim. Known for his meticulous research, he often lectures on the myths and histories preserved by the Conclave Illuminara."},
         {name = "Zia Falorin", role = "Street Performer", company = "Maritime Guild of the Cult of Maskmakers", cult = "Harmony Sanctum", description = "A flamboyant figure with a painted face and a penchant for acrobatics."},
         {name = "Zia Falorin", role = "Street Performer", company = "Maritime Guild of the Cult of Maskmakers", cult = "Harmony Sanctum", description = "Zia is an exuberant performer whose acts combine acrobatics, music, and storytelling. Her performances, influenced by the Harmony Sanctum, bring joy and balance to the streets of Vaeringheim."},
         {name = "Vera Myrian", role = "Apothecary", company = "Salurian Temple of Sacred Horehound", cult = "Mystery of the Verdant Embrace", description = "A serene woman with gentle eyes and a belt full of pouches and vials."},
         {name = "Vera Myrian", role = "Apothecary", company = "Salurian Temple of Sacred Horehound", cult = "Mystery of the Verdant Embrace", description = "Vera is a soft-spoken apothecary who crafts remedies infused with sacred chants from the Mystery of the Verdant Embrace. Her shop is a haven for those seeking both healing and serenity."},
         {name = "Torin Velar", role = "Blacksmith", company = "East Keltian Iron Company", cult = "Court of the Ironclad", description = "A burly man with soot-streaked arms and a hammer that rarely leaves his side."},
         {name = "Torin Velar", role = "Blacksmith", company = "East Keltian Iron Company", cult = "Court of the Ironclad", description = "Torin is a towering blacksmith whose forge burns day and night. Known for his resilience and strength, he attributes his craft to the discipline instilled by the Court of the Ironclad."},
         {name = "Ilari Draven", role = "Architect", company = "Thalassian Granite Export Cooperative", cult = "Guild of Golden Shadows", description = "A meticulous man with a monocle and a leather-bound notebook always in hand."},
         {name = "Ilari Draven", role = "Architect", company = "Thalassian Granite Export Cooperative", cult = "Guild of Golden Shadows", description = "Ilari is a visionary architect who blends functionality with artistic grandeur. His works often feature elements of sacred geometry inspired by his Guild of Golden Shadows affiliation."},
         {name = "Nina Iseth", role = "Trader", company = "Gladeseed Farmers' Union", cult = "Harmony Sanctum", description = "A shrewd woman with sharp eyes and a knack for bartering."},
         {name = "Nina Iseth", role = "Trader", company = "Gladeseed Farmers' Union", cult = "Harmony Sanctum", description = "Nina is a keen negotiator who ensures fair deals in the bustling markets. Her dedication to the Harmony Sanctum influences her balanced and ethical approach to trading."},
         {name = "Orin Lareth", role = "Boat Builder", company = "Lake Morovia Blockade Fund", cult = "Azure Sentinel Sect", description = "A stocky man with calloused hands and a deep tan."},
         {name = "Orin Lareth", role = "Boat Builder", company = "Lake Morovia Blockade Fund", cult = "Azure Sentinel Sect", description = "Orin is a skilled craftsman who builds boats designed to withstand the unpredictable waters of Lake Morovia. His meticulous work reflects the blessings of the Azure Sentinel Sect."},
         {name = "Rina Fahl", role = "Chef", company = "Ale of the Night Central Brewery", cult = "Mystery of Red Mirth", description = "A jovial woman with a round face and a knack for making people smile with her cooking."},
         {name = "Rina Fahl", role = "Chef", company = "Ale of the Night Central Brewery", cult = "Mystery of Red Mirth", description = "Rina is a vibrant chef whose innovative recipes draw crowds to her feasts. Her dishes, infused with the celebratory spirit of the Mystery of Red Mirth, are renowned across Vaeringheim."},
         {name = "Khalid Fenra", role = "Scholar", company = "Temple University of Delphica", cult = "Reverie Nebulous", description = "A lanky man with a dreamy expression and a habit of muttering to himself."},
         {name = "Khalid Fenra", role = "Scholar", company = "Temple University of Delphica", cult = "Reverie Nebulous", description = "Khalid is a contemplative scholar whose studies focus on the intersection of dreams and history. His insights are often attributed to the Reverie Nebulous."},
         {name = "Evanor Tyreth", role = "Carpenter", company = "East Keltian Timber Company", cult = "Sylvan Fellowship", description = "A wiry man with a saw always slung over his shoulder and a warm smile."},
         {name = "Evanor Tyreth", role = "Carpenter", company = "East Keltian Timber Company", cult = "Sylvan Fellowship", description = "Evanor is a talented carpenter who crafts beautiful and functional wooden pieces. His work is inspired by the natural balance celebrated by the Sylvan Fellowship."},
         {name = "Sorin Althis", role = "Guard Captain", company = "Baratar Corporation", cult = "Court of the Ironclad", description = "A stoic man with a commanding presence and a deep, gravelly voice."},
         {name = "Sorin Althis", role = "Guard Captain", company = "Baratar Corporation", cult = "Court of the Ironclad", description = "Sorin is a stoic guard captain who oversees Vaeringheim’s security. His disciplined leadership and loyalty to the Court of the Ironclad make him a respected figure."},
         {name = "Leona Veyar", role = "Painter", company = "Shï Collective", cult = "Order of Aurora Mystica", description = "A vibrant woman with paint-splattered clothing and a sparkle in her eye."},
         {name = "Leona Veyar", role = "Painter", company = "Shï Collective", cult = "Order of Aurora Mystica", description = "Leona is a vibrant painter whose work captures the beauty of dawn, a reflection of her devotion to the Order of Aurora Mystica."},
         {name = "Dariel Voss", role = "Bard", company = "La Sái Ebile", cult = "Reverie Nebulous", description = "A charismatic performer with a lute slung over his back and a song always ready."},
         {name = "Dariel Voss", role = "Bard", company = "La Sái Ebile", cult = "Reverie Nebulous", description = "Dariel is a charismatic bard whose performances are inspired by dreams and myths, often influenced by the teachings of the Reverie Nebulous."},
         {name = "Hirin Velas", role = "Jeweler", company = "Shï Collective", cult = "Guild of Golden Shadows", description = "A quiet man with steady hands and a love for intricate designs."},
         {name = "Hirin Velas", role = "Jeweler", company = "Shï Collective", cult = "Guild of Golden Shadows", description = "Hirin is a meticulous jeweler whose creations are imbued with the subtle mysteries of the Guild of Golden Shadows."},
         {name = "Zorin Kael", role = "Weaver", company = "Seamstresses of Rouge", cult = "Harmony Sanctum", description = "A tall man with a calm demeanor and a knack for creating intricate patterns."},
         {name = "Zorin Kael", role = "Weaver", company = "Seamstresses of Rouge", cult = "Harmony Sanctum", description = "Zorin is a skilled weaver whose intricate patterns reflect the balance and harmony celebrated by the Harmony Sanctum."},
         {name = "Linara Theros", role = "Tea House Keeper", company = "Market Hanavusu", cult = "Mystery of the Verdant Embrace", description = "A warm woman with a welcoming smile and a deep knowledge of herbal teas."},
         {name = "Linara Theros", role = "Tea House Keeper", company = "Market Hanavusu", cult = "Mystery of the Verdant Embrace", description = "Linara is a warm and knowledgeable tea house keeper who blends teas infused with the blessings of the Mystery of the Verdant Embrace."},
         {name = "Karim Jorath", role = "Fisherman", company = "Suncliff Fisheries", cult = "Azure Sentinel Sect", description = "A jovial man with a love for storytelling and a passion for the sea."},
         {name = "Karim Jorath", role = "Fisherman", company = "Suncliff Fisheries", cult = "Azure Sentinel Sect", description = "Karim is a jovial fisherman whose tales of the lake are as plentiful as his catches. He attributes his success to the Azure Sentinel Sect."},
         {name = "Mira Elvor", role = "Librarian", company = "Temple University of Delphica", cult = "Conclave Illuminara", description = "A meticulous woman with an ever-present pair of reading glasses and a soft voice."},
         {name = "Mira Elvor", role = "Librarian", company = "Temple University of Delphica", cult = "Conclave Illuminara", description = "Mira is a meticulous librarian whose quiet demeanor belies a vast knowledge of Vaeringheim’s history and legends."},
         {name = "Rivan Pharos", role = "Trader", company = "Gladeseed Farmers' Union", cult = "Harmony Sanctum", description = "A shrewd trader with a sharp mind and a ready smile."},
         {name = "Rivan Pharos", role = "Trader", company = "Gladeseed Farmers' Union", cult = "Harmony Sanctum", description = "Rivan is a shrewd trader who ensures ethical practices in all his dealings, guided by the Harmony Sanctum."},
         {name = "Talia Meren", role = "Herbalist", company = "Salurian Temple of Sacred Horehound", cult = "Mystery of the Verdant Embrace", description = "A serene woman with a deep knowledge of plants and their uses."},
         {name = "Talia Meren", role = "Herbalist", company = "Salurian Temple of Sacred Horehound", cult = "Mystery of the Verdant Embrace", description = "Talia is a serene herbalist whose remedies are as effective as they are thoughtfully crafted, thanks to her devotion to the Mystery of the Verdant Embrace."},
         {name = "Elanor Trayn", role = "Storyteller", company = "La Sái Ebile", cult = "Reverie Nebulous", description = "An older woman with a rich voice and a treasure trove of tales."}
         {name = "Elanor Trayn", role = "Storyteller", company = "La Sái Ebile", cult = "Reverie Nebulous", description = "Elanor is an older storyteller whose rich voice brings ancient myths and dreams to life, inspired by the Reverie Nebulous."}
     }
     }


     local gossip = {
     local gossip = {
         "The canals have seen fewer Morovian Rainbow Birds this season—some say it's an omen of change.",
         "A mysterious glowing light was spotted near the Host Spirit shrine on the eastern canals.",
         "Gold prices in the General Port are skyrocketing; whispers of a new trade route opening abound.",
         "Rumors swirl of a secret underground passage connecting the Temple Bank to the artisan district.",
         "A secretive cult was spotted performing rituals near the Tomb of Styx.",
         "A sculptor unveiled a new statue in honor of the Azure Sentinel Sect, drawing crowds in the central square.",
         "The Shï Collective's latest sculptures fetch unimaginable prices in the markets.",
         "The canals are alive with music as Vaeringheim’s Regatta Festival preparations are underway.",
         "Fishermen claim the Atterian Armored Pufferfish are growing larger this year, likely due to new hatchery practices.",
         "Local merchants report that an ancient relic was discovered during canal dredging.",
         "Vaeringheim’s canal system is rumored to be expanded with a new section linking it directly to the eastern sea routes.",
         "Residents claim to have seen ghostly figures walking across the bridges late at night.",
         "The annual Regatta Festival in Vaeringheim has seen an influx of competitors from neighboring regions.",
         "The Market Hanavusu is bustling with traders showcasing rare goods from Luminaria.",
         "A rare sighting of a Somniant Eidolon near Lake Morovia has captivated the city’s mystics.",
         "A historian’s lecture on the first Vaeringheim settlers drew record-breaking crowds at the Host Spirit Temple.",
         "The newly restored statue of Atos in the city square has become a pilgrimage site.",
         "Fishermen near Lake Morovia have reported an unprecedented bloom of phosphorescent algae.",
         "Residents complain about increasing water taxes as the city council funds new trade initiatives.",
         "A bard’s ballad about the Reformed Stripping Path is being sung in every tavern across Vaeringheim.",
         "A popular street bard’s ballad about the Host Spirit has gone viral among the youth.",
         "The Shï Collective has unveiled an intricate golden amulet said to bring clarity to the wearer’s dreams.",
         "A new shipment of rare spices from Luminaria has made its way to Vaeringheim’s bustling market district.",
         "An eccentric inventor claims to have created a device that will purify the canal water.",
         "The Shï Collective has unveiled a new exhibit featuring golden masks inspired by the Reformed Stripping Path.",
         "The Lantern Lighting Ceremony in honor of the Host Spirit saw its largest crowd this year.",
         "Local sailors swear they’ve seen glowing lights under the water near the canal’s western edge.",
         "Vaeringheim’s artisans are creating a mural depicting the ancient myths of the Azure Sentinel Sect.",
         "The Guild of Golden Shadows is rumored to be recruiting new members from the artisan district.",
         "The Merchant’s Guild debates the construction of a new trade outpost on the eastern canals.",
         "The canals are unusually busy this week as a major trade deal with Symphonara is underway.",
         "Fishermen report a sudden increase in their hauls, calling it a blessing from the Host Spirit.",
         "Artisans in Vaeringheim are racing to complete decorations for the upcoming Lightfall Festival.",
         "Pilgrims arriving in Vaeringheim claim to have had vivid dreams of Atos guiding them.",
         "Residents report an increase in crime near the General Port, prompting calls for increased patrols.",
         "The city council has approved funding for the restoration of the oldest bridge in Vaeringheim.",
         "An eccentric inventor has proposed a steam-powered barge system for the canals.",
         "An alchemist revealed a new elixir crafted from Atterian Armored Pufferfish scales, sparking interest from traders.",
         "Temple Bank priests have begun holding nightly vigils for better trade winds in Lake Morovia.",
         "Vaeringheim’s central square is being prepared for the Lightfall Festival, with lanterns and flowers.",
         "A newly discovered cavern beneath the city may hold ancient relics tied to the Host Spirit.",
         "A rogue trader was caught attempting to sell counterfeit artifacts from the Host Spirit Temple.",
         "Vaeringheim’s taverns are packed as sailors gather to celebrate their latest successful voyages.",
         "The canals are being cleaned for the upcoming festival, revealing forgotten relics beneath the water.",
         "A historian claims the architecture in Vaeringheim’s temples holds hidden messages about the city’s founding.",
        "The Shï Collective is hosting a workshop on crafting sacred jewelry at the artisan district.",
         "Residents speculate about the mysterious disappearance of several goods from the artisan market.",
         "A scholar claims the Host Spirit shrine holds hidden runes that predict the future.",
         "A rogue trader was caught selling counterfeit Shï Collective art pieces.",
         "Vaeringheim’s musicians are composing a symphony to honor the Regatta Festival.",
        "Fishermen claim a sudden increase in the size of their hauls—an unexpected boon during lean times.",
         "A fisherman claims to have caught a fish inscribed with ancient symbols near the western docks.",
         "Caravan leaders are urging the city council to improve the roads leading to Vaeringheim.",
         "A new variety of herbal tea from the eastern marshes is gaining popularity among the city’s elite.",
         "A sudden bloom of phosphorescent plants in the eastern marshes has sparked curiosity among herbalists.",
         "Residents report strange lights in the canals, sparking superstitions about the Host Spirit’s favor.",
         "Vaeringheim’s weavers are working on a tapestry depicting the legend of Styx for the central library.",
         "A historian uncovered documents suggesting a lost temple beneath the canal district.",
         "The Azure Sentinel Sect has announced an open blessing ceremony at the Host Spirit Temple this weekend.",
         "The Lantern Lighting Ceremony is rumored to attract spirits of Vaeringheim’s founders.",
         "Rumors circulate that a new type of enchanted jewelry is being developed by the Shï Collective.",
         "An artisan has crafted a stunning mosaic of Lake Morovia, now displayed in the central square.",
         "A local alchemist claims to have found a new use for Atterian Armored Pufferfish scales in medicine.",
         "Merchants are lobbying for reduced tariffs on spices imported from Luminaria.",
         "Fishermen report strange weather patterns over Lake Morovia, stoking superstitions about the Host Spirit.",
         "A bard’s haunting melody about the Reformed Stripping Path has captivated audiences in every tavern.",
         "The city council has allocated additional funds to preserve Vaeringheim’s iconic canal bridges.",
         "The Azure Sentinel Sect plans a public ceremony to bless the canal waters before the festival.",
         "A young painter has captured the essence of the Lightfall Festival in a new mural near the docks.",
         "Residents prepare for a massive parade featuring floats inspired by the myths of the Host Spirit.",
         "The Merchant’s Guild is holding an emergency meeting to discuss rising tariffs from Luminaria.",
         "A sculptor’s depiction of the Azure Sentinel Sect’s blessing rituals has drawn widespread praise.",
         "A famed historian’s lecture on the Morovian Frontier Campaign drew record crowds at the central square.",
         "Pilgrims claim the canals themselves whisper prayers to the Host Spirit during the night.",
         "Vaeringheim’s famous tea houses are experimenting with new blends incorporating regional herbs.",
         "Vaeringheim’s tea houses are experimenting with new blends that incorporate rare herbs from Lake Morovia.",
         "Pilgrims traveling to Vaeringheim have reported seeing visions of the Host Spirit in their dreams.",
         "The Merchant’s Guild is debating the introduction of steam-powered boats in the canal network.",
         "The city watch has detained smugglers attempting to move artifacts from the Host Spirit Temple.",
         "A ghost ship was reportedly sighted drifting near the northern docks during the early hours of dawn.",
        "Vaeringheim’s renowned musicians are preparing for a symphony honoring the Reformed Stripping Path.",
         "A controversial play about the founding of Vaeringheim premiered at the main theater last night.",
         "A controversial new play about Chrysos premiered at the main theater and sparked heated debates.",
         "The central square is abuzz with excitement over a new mural depicting the Reformed Stripping Path.",
         "Residents of the northern district have reported sightings of ghostly apparitions near the canals.",
         "A new canal section linking Vaeringheim to Lunalis Sancta is nearing completion, promising faster trade routes."
         "The annual lantern lighting ceremony in honor of the Host Spirit saw its largest crowd yet this year."
     }
     }


     local dateInfo = p.getCurrentDate()
     local dateInfo = p.getCurrentDate()
     local news = {}
     local npc = npcs[math.random(#npcs)]
    local story = gossip[math.random(#gossip)]


     for i = 1, 100 do
     local entry = string.format(
        local npc = npcs[math.random(#npcs)]
        "Date: %d %s, %s PSSC | Reporter: %s (%s, %s, %s) | Gossip: %s",
        local story = gossip[math.random(#gossip)]
        dateInfo.day,
        local entry = string.format(
        dateInfo.month,
            "Date: %d %s, %s PSSC | Reporter: %s (%s, %s, %s) | Gossip: %s",
        dateInfo.year,
            dateInfo.day,
        npc.name,
            dateInfo.month,
        npc.role,
            dateInfo.year,
        npc.company,
            npc.name,
        npc.cult,
            npc.role,
        story
            npc.company,
    )
            npc.cult,
            story
        )
        table.insert(news, entry)
    end


     return news
     return entry
end
end


function p.generate(frame)
function p.generate(frame)
     local gossip = p.generateGossip()
     return p.generateSingleGossip()
    local output = ""
 
    for _, entry in ipairs(gossip) do
        output = output .. "* " .. entry .. "\n"
    end
 
    return output
end
end


return p
return p

Latest revision as of 22:47, 25 December 2024

Documentation for this module may be created at Module:VaeringheimGossip/doc

local p = {}

function p.getCurrentDate()
    local startDate = os.time({year = 1999, month = 8, day = 6})
    local secondsInDay = 86400
    local daysPerYear = 183

    local currentDate = os.time()
    local totalDaysElapsed = math.floor((currentDate - startDate) / secondsInDay)

    local yearFraction = totalDaysElapsed / daysPerYear
    local psscYear = math.floor(yearFraction)
    local dayOfYear = math.floor((yearFraction - psscYear) * daysPerYear) + 1

    local month, dayInMonth
    if dayOfYear <= 61 then
        month = "Atosiel"
        dayInMonth = dayOfYear
    elseif dayOfYear <= 122 then
        month = "Thalassiel"
        dayInMonth = dayOfYear - 61
    else
        month = "Opsitheiel"
        dayInMonth = dayOfYear - 122
    end

    local dateInfo = {
        year = psscYear,
        month = month,
        day = dayInMonth
    }

    return dateInfo
end

function p.generateSingleGossip()
    local npcs = {
        {name = "Amar Sefar", role = "Canal Dockworker", company = "Lake Morovia Blockade Fund", cult = "Ordo Solis Invicti", description = "A burly dockworker with weathered skin and a strong back, Amar ensures that the bustling canals of Vaeringheim stay operational. He begins every morning with a prayer to the Ordo Solis Invicti, seeking blessings for smooth shipments and clear waters."},
        {name = "Liora Eoseth", role = "Merchant of Silks", company = "Market Hanavusu", cult = "Order of Aurora Mystica", description = "A petite and sharp-eyed silk merchant, Liora sources rare and vibrant fabrics that light up the Market Hanavusu. Her devotion to the Order of Aurora Mystica inspires her designs, reflecting the light of dawn."},
        {name = "Tahir Morion", role = "Priest of the Host Spirit", company = "Temple Bank of the Reformed Stripping Path", cult = "Ordo Solis Invicti", description = "Tahir is a solemn and commanding presence at the Temple Bank, where he leads rituals that strengthen the community’s faith in the Host Spirit. His emerald-green eyes and deep voice make him a revered figure in Vaeringheim."},
        {name = "Kala Inephra", role = "Goldsmith", company = "Shï Collective", cult = "Guild of Golden Shadows", description = "Kala crafts intricate jewelry that reflects her deep connection to the Guild of Golden Shadows. Her mysterious demeanor and precise hands produce pieces that are both luxurious and enigmatic."},
        {name = "Nadir Alphon", role = "Tavern Keeper", company = "Ale of the Night Central Brewery", cult = "Mystery of Red Mirth", description = "Nadir is a stout and boisterous man who operates the most popular tavern in the canal district. Known for his Ale of the Night brews, his establishment is a hub for laughter, stories, and celebrations inspired by the Mystery of Red Mirth."},
        {name = "Elina Voraith", role = "Fisherwoman", company = "Suncliff Fisheries", cult = "Azure Sentinel Sect", description = "Elina is a fearless fisherwoman with salt-kissed skin and a steady hand. She navigates Lake Morovia daily, her devotion to the Azure Sentinel Sect guiding her through its treacherous waters."},
        {name = "Darin Ilphas", role = "Caravan Guard", company = "East Keltian Iron Company", cult = "Court of the Ironclad", description = "A rugged guard with a scar over his left eye, Darin is known for his unwavering dedication to protecting Vaeringheim’s valuable iron caravans. His loyalty to the Court of the Ironclad is unshakable."},
        {name = "Saira Lineth", role = "Student of the Arts", company = "La Sái Ebile", cult = "Reverie Nebulous", description = "Saira is a bright-eyed young artist who finds inspiration in the dreamlike teachings of the Reverie Nebulous. Her murals, often featuring swirling celestial themes, grace the walls of Vaeringheim’s artisan district."},
        {name = "Marik Troven", role = "Historian", company = "Temple University of Delphica", cult = "Conclave Illuminara", description = "Marik is a wiry academic who spends his days delving into the chronicles of Vaeringheim. Known for his meticulous research, he often lectures on the myths and histories preserved by the Conclave Illuminara."},
        {name = "Zia Falorin", role = "Street Performer", company = "Maritime Guild of the Cult of Maskmakers", cult = "Harmony Sanctum", description = "Zia is an exuberant performer whose acts combine acrobatics, music, and storytelling. Her performances, influenced by the Harmony Sanctum, bring joy and balance to the streets of Vaeringheim."},
        {name = "Vera Myrian", role = "Apothecary", company = "Salurian Temple of Sacred Horehound", cult = "Mystery of the Verdant Embrace", description = "Vera is a soft-spoken apothecary who crafts remedies infused with sacred chants from the Mystery of the Verdant Embrace. Her shop is a haven for those seeking both healing and serenity."},
        {name = "Torin Velar", role = "Blacksmith", company = "East Keltian Iron Company", cult = "Court of the Ironclad", description = "Torin is a towering blacksmith whose forge burns day and night. Known for his resilience and strength, he attributes his craft to the discipline instilled by the Court of the Ironclad."},
        {name = "Ilari Draven", role = "Architect", company = "Thalassian Granite Export Cooperative", cult = "Guild of Golden Shadows", description = "Ilari is a visionary architect who blends functionality with artistic grandeur. His works often feature elements of sacred geometry inspired by his Guild of Golden Shadows affiliation."},
        {name = "Nina Iseth", role = "Trader", company = "Gladeseed Farmers' Union", cult = "Harmony Sanctum", description = "Nina is a keen negotiator who ensures fair deals in the bustling markets. Her dedication to the Harmony Sanctum influences her balanced and ethical approach to trading."},
        {name = "Orin Lareth", role = "Boat Builder", company = "Lake Morovia Blockade Fund", cult = "Azure Sentinel Sect", description = "Orin is a skilled craftsman who builds boats designed to withstand the unpredictable waters of Lake Morovia. His meticulous work reflects the blessings of the Azure Sentinel Sect."},
        {name = "Rina Fahl", role = "Chef", company = "Ale of the Night Central Brewery", cult = "Mystery of Red Mirth", description = "Rina is a vibrant chef whose innovative recipes draw crowds to her feasts. Her dishes, infused with the celebratory spirit of the Mystery of Red Mirth, are renowned across Vaeringheim."},
        {name = "Khalid Fenra", role = "Scholar", company = "Temple University of Delphica", cult = "Reverie Nebulous", description = "Khalid is a contemplative scholar whose studies focus on the intersection of dreams and history. His insights are often attributed to the Reverie Nebulous."},
        {name = "Evanor Tyreth", role = "Carpenter", company = "East Keltian Timber Company", cult = "Sylvan Fellowship", description = "Evanor is a talented carpenter who crafts beautiful and functional wooden pieces. His work is inspired by the natural balance celebrated by the Sylvan Fellowship."},
        {name = "Sorin Althis", role = "Guard Captain", company = "Baratar Corporation", cult = "Court of the Ironclad", description = "Sorin is a stoic guard captain who oversees Vaeringheim’s security. His disciplined leadership and loyalty to the Court of the Ironclad make him a respected figure."},
        {name = "Leona Veyar", role = "Painter", company = "Shï Collective", cult = "Order of Aurora Mystica", description = "Leona is a vibrant painter whose work captures the beauty of dawn, a reflection of her devotion to the Order of Aurora Mystica."},
        {name = "Dariel Voss", role = "Bard", company = "La Sái Ebile", cult = "Reverie Nebulous", description = "Dariel is a charismatic bard whose performances are inspired by dreams and myths, often influenced by the teachings of the Reverie Nebulous."},
        {name = "Hirin Velas", role = "Jeweler", company = "Shï Collective", cult = "Guild of Golden Shadows", description = "Hirin is a meticulous jeweler whose creations are imbued with the subtle mysteries of the Guild of Golden Shadows."},
        {name = "Zorin Kael", role = "Weaver", company = "Seamstresses of Rouge", cult = "Harmony Sanctum", description = "Zorin is a skilled weaver whose intricate patterns reflect the balance and harmony celebrated by the Harmony Sanctum."},
        {name = "Linara Theros", role = "Tea House Keeper", company = "Market Hanavusu", cult = "Mystery of the Verdant Embrace", description = "Linara is a warm and knowledgeable tea house keeper who blends teas infused with the blessings of the Mystery of the Verdant Embrace."},
        {name = "Karim Jorath", role = "Fisherman", company = "Suncliff Fisheries", cult = "Azure Sentinel Sect", description = "Karim is a jovial fisherman whose tales of the lake are as plentiful as his catches. He attributes his success to the Azure Sentinel Sect."},
        {name = "Mira Elvor", role = "Librarian", company = "Temple University of Delphica", cult = "Conclave Illuminara", description = "Mira is a meticulous librarian whose quiet demeanor belies a vast knowledge of Vaeringheim’s history and legends."},
        {name = "Rivan Pharos", role = "Trader", company = "Gladeseed Farmers' Union", cult = "Harmony Sanctum", description = "Rivan is a shrewd trader who ensures ethical practices in all his dealings, guided by the Harmony Sanctum."},
        {name = "Talia Meren", role = "Herbalist", company = "Salurian Temple of Sacred Horehound", cult = "Mystery of the Verdant Embrace", description = "Talia is a serene herbalist whose remedies are as effective as they are thoughtfully crafted, thanks to her devotion to the Mystery of the Verdant Embrace."},
        {name = "Elanor Trayn", role = "Storyteller", company = "La Sái Ebile", cult = "Reverie Nebulous", description = "Elanor is an older storyteller whose rich voice brings ancient myths and dreams to life, inspired by the Reverie Nebulous."}
    }

    local gossip = {
        "A mysterious glowing light was spotted near the Host Spirit shrine on the eastern canals.",
        "Rumors swirl of a secret underground passage connecting the Temple Bank to the artisan district.",
        "A sculptor unveiled a new statue in honor of the Azure Sentinel Sect, drawing crowds in the central square.",
        "The canals are alive with music as Vaeringheim’s Regatta Festival preparations are underway.",
        "Local merchants report that an ancient relic was discovered during canal dredging.",
        "Residents claim to have seen ghostly figures walking across the bridges late at night.",
        "The Market Hanavusu is bustling with traders showcasing rare goods from Luminaria.",
        "A historian’s lecture on the first Vaeringheim settlers drew record-breaking crowds at the Host Spirit Temple.",
        "Fishermen near Lake Morovia have reported an unprecedented bloom of phosphorescent algae.",
        "A bard’s ballad about the Reformed Stripping Path is being sung in every tavern across Vaeringheim.",
        "The Shï Collective has unveiled an intricate golden amulet said to bring clarity to the wearer’s dreams.",
        "An eccentric inventor claims to have created a device that will purify the canal water.",
        "The Lantern Lighting Ceremony in honor of the Host Spirit saw its largest crowd this year.",
        "Vaeringheim’s artisans are creating a mural depicting the ancient myths of the Azure Sentinel Sect.",
        "The Merchant’s Guild debates the construction of a new trade outpost on the eastern canals.",
        "Fishermen report a sudden increase in their hauls, calling it a blessing from the Host Spirit.",
        "Pilgrims arriving in Vaeringheim claim to have had vivid dreams of Atos guiding them.",
        "The city council has approved funding for the restoration of the oldest bridge in Vaeringheim.",
        "An alchemist revealed a new elixir crafted from Atterian Armored Pufferfish scales, sparking interest from traders.",
        "Vaeringheim’s central square is being prepared for the Lightfall Festival, with lanterns and flowers.",
        "A rogue trader was caught attempting to sell counterfeit artifacts from the Host Spirit Temple.",
        "The canals are being cleaned for the upcoming festival, revealing forgotten relics beneath the water.",
        "The Shï Collective is hosting a workshop on crafting sacred jewelry at the artisan district.",
        "A scholar claims the Host Spirit shrine holds hidden runes that predict the future.",
        "Vaeringheim’s musicians are composing a symphony to honor the Regatta Festival.",
        "A fisherman claims to have caught a fish inscribed with ancient symbols near the western docks.",
        "A new variety of herbal tea from the eastern marshes is gaining popularity among the city’s elite.",
        "Residents report strange lights in the canals, sparking superstitions about the Host Spirit’s favor.",
        "A historian uncovered documents suggesting a lost temple beneath the canal district.",
        "The Lantern Lighting Ceremony is rumored to attract spirits of Vaeringheim’s founders.",
        "An artisan has crafted a stunning mosaic of Lake Morovia, now displayed in the central square.",
        "Merchants are lobbying for reduced tariffs on spices imported from Luminaria.",
        "A bard’s haunting melody about the Reformed Stripping Path has captivated audiences in every tavern.",
        "The Azure Sentinel Sect plans a public ceremony to bless the canal waters before the festival.",
        "Residents prepare for a massive parade featuring floats inspired by the myths of the Host Spirit.",
        "A sculptor’s depiction of the Azure Sentinel Sect’s blessing rituals has drawn widespread praise.",
        "Pilgrims claim the canals themselves whisper prayers to the Host Spirit during the night.",
        "Vaeringheim’s tea houses are experimenting with new blends that incorporate rare herbs from Lake Morovia.",
        "The Merchant’s Guild is debating the introduction of steam-powered boats in the canal network.",
        "A ghost ship was reportedly sighted drifting near the northern docks during the early hours of dawn.",
        "A controversial play about the founding of Vaeringheim premiered at the main theater last night.",
        "The central square is abuzz with excitement over a new mural depicting the Reformed Stripping Path.",
        "A new canal section linking Vaeringheim to Lunalis Sancta is nearing completion, promising faster trade routes."
    }

    local dateInfo = p.getCurrentDate()
    local npc = npcs[math.random(#npcs)]
    local story = gossip[math.random(#gossip)]

    local entry = string.format(
        "Date: %d %s, %s PSSC | Reporter: %s (%s, %s, %s) | Gossip: %s",
        dateInfo.day,
        dateInfo.month,
        dateInfo.year,
        npc.name,
        npc.role,
        npc.company,
        npc.cult,
        story
    )

    return entry
end

function p.generate(frame)
    return p.generateSingleGossip()
end

return p