Module:BassaridianDailyEvents

From MicrasWiki
Revision as of 06:57, 3 January 2025 by NewZimiaGov (talk | contribs)
Jump to navigationJump to search

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

-------------------------------------------------------------------------------
-- Module: DailyTable
-- Purpose:
--   1) Include all city descriptions (verbatim) in a bracket-level comment.
--   2) cityData re-ordered to match the exact order from your text:
--      a) Bassaridia Vaeringheim major cities in order
--      b) Bassaridia Vaeringheim minor cities in order
--      c) New South Jangsong major, then minor
--      d) Haifan Bassaridia major, then minor
--   3) 60% "No reports," else pick from 10 events
--   4) Deterministic day-based random seed so each day remains consistent.
-------------------------------------------------------------------------------

local p = {}

-------------------------------------------------------------------------------
-- (A) FULL CITY DESCRIPTIONS IN A SINGLE BLOCK COMMENT
-------------------------------------------------------------------------------

--[==[
==========================  BASSARIDIA VAERINGHEIM  ==========================
MAJOR CITIES (in order):
1) Vaeringheim
2) Luminaria
3) Serena
4) Pyralis
5) Symphonara
6) Aurelia
7) Somniumpolis
8) Nexa
9) Lunalis Sancta
10) Sylvapolis

MINOR CITIES (in order):
1) Saluria
2) Aetherium
3) Ferrum Citadel
4) Acheron
5) Erythros
6) Catonis Atrium
7) Delphica
8) Koinonía
9) Aureum
10) Myrene
11) Halicarn
12) Ephyra
13) Thyrea

==========================  NEW SOUTH JANGSONG  =============================
MAJOR CITIES (in order):
1) Skýrophos
2) Bjornopolis
3) Aegirheim
4) Norsolyra
5) Thorsalon

MINOR CITIES (in order):
1) Pelagia
2) (If there's another minor city from text, insert it here. If not, we skip.)

==========================  HAIFAN BASSARIDIA  ==============================
MAJOR CITIES (in order):
1) Keybir-Aviv
2) Tel-Amin
3) Diamandis
4) Jogi
5) Lewisburg

MINOR CITIES (in order):
1) Thermosalem
2) Akróstadium
3) Sufriya
4) Lykopolis

[All verbatim descriptive text for each city from your original messages goes here.
 No omissions or summaries. For brevity, we omit re-pasting that huge text in this example.]

]==]

-------------------------------------------------------------------------------
-- (B) DATE FUNCTION (day-based seed)
-------------------------------------------------------------------------------
local function getPSSCDate()
    local start = os.time{year=1999, month=8, day=6}
    local now = os.time()
    local daysSince = math.floor((now - start) / 86400)
    local psscYear = math.floor(daysSince / 183)
    local dayOfYear = (daysSince % 183) + 1
    return {
        year = psscYear,
        dayOfYear = dayOfYear,
        text = ("Day %d of Year %d PSSC"):format(dayOfYear, psscYear)
    }
end

-------------------------------------------------------------------------------
-- (C) cityData in EXACT ORDER from the text
-------------------------------------------------------------------------------
local cityData = {

  -- BASSARIDIA VAERINGHEIM - MAJOR (in order)
  ["Vaeringheim"] = {
    events = {
      {desc="Armed Normark loyalists erect barricades near the old fortress.", urgency="HIGH"},
      {desc="Mass riot over Thalassa worship disrupts trade routes.", urgency="CRITICAL"},
      {desc="Explosive devices found along Lake Morovia’s canal locks.", urgency="HIGH"},
      {desc="Militant gang seizes government offices, demands autonomy.", urgency="HIGH"},
      {desc="Temple Bank infiltration reveals an extremist fundraising ring.", urgency="MEDIUM"},
      {desc="Ambushes target Reformed Stripping Path clergy at city outskirts.", urgency="HIGH"},
      {desc="Secret society claims the right to Triton's relic, stirring conflict.", urgency="LOW"},
      {desc="Multiple kidnappings overshadow the Great Market festival.", urgency="CRITICAL"},
      {desc="Local officials indicted for illegal arms trade with pirates.", urgency="HIGH"},
      {desc="Suspected sabotage poisons the city’s main fish supply distribution.", urgency="MEDIUM"},
    }
  },
  ["Luminaria"] = {
    events = {
      {desc="Armed Alperkin nomads blockade city gates, seizing livestock shipments.", urgency="HIGH"},
      {desc="Conclave Illuminara priests held hostage by radical mystics.", urgency="HIGH"},
      {desc="Subterranean labyrinth used by weapon smugglers, guards outmatched.", urgency="CRITICAL"},
      {desc="Rogue Eos devotees plan ‘divine purge’ in city squares.", urgency="MEDIUM"},
      {desc="Order of Aurora Mystica’s archives stolen, blackmail letters distributed.", urgency="HIGH"},
      {desc="Mass delirium reported after alleged Tarsica ‘revelation’ at dawn rites.", urgency="LOW"},
      {desc="Tea market sabotage cripples local merchants, paramilitary group suspected.", urgency="MEDIUM"},
      {desc="Nomadic raiders sabotage Onceanic Boot warehouses, workers missing.", urgency="HIGH"},
      {desc="Widespread rumors of forced labor inside hidden temple caverns.", urgency="LOW"},
      {desc="Rival priestesses clash in a bloody confrontation over city leadership.", urgency="CRITICAL"},
    }
  },
  ["Serena"] = {
    events = {
      {desc="Garganram-mounted insurgents terrorize farmland, ransacking homes.", urgency="HIGH"},
      {desc="Hidden cult murders Harmony Sanctum clergy, leaving cryptic symbols.", urgency="CRITICAL"},
      {desc="City reservoir contaminated by extremist agents, water unsafe.", urgency="HIGH"},
      {desc="Armed druid faction attempts to topple city watch along the mountain passes.", urgency="MEDIUM"},
      {desc="Micras relic discovered, triggering lethal conflicts among rival devotees.", urgency="CRITICAL"},
      {desc="Greater Morovian loyalists blockade Ismaelean route, stranding caravans.", urgency="HIGH"},
      {desc="Saboteurs unearth cursed Normark tomb, city wards compromised.", urgency="MEDIUM"},
      {desc="Rogue band hunts for old Normark armory, rumored heavy arms stash.", urgency="HIGH"},
      {desc="Vicious power struggle in local council after kidnappings of key figures.", urgency="LOW"},
      {desc="Exiled necromancer rumored to animate ancient remains near city outskirts.", urgency="LOW"},
    }
  },
  ["Pyralis"] = {
    events = {
      {desc="Ignis cult enforces a ‘holy tribute’ from every merchant caravan.", urgency="HIGH"},
      {desc="Dark Alperkin sect captures pilgrims, demanding sacrificial rites to Pyros.", urgency="CRITICAL"},
      {desc="Secret forging of flame-based weapon reported, meltdown hazards imminent.", urgency="HIGH"},
      {desc="Noctic traffickers launder goods via Highland Port, local militia outgunned.", urgency="HIGH"},
      {desc="Mass arson spree claims multiple shrines at night, city defenders overwhelmed.", urgency="MEDIUM"},
      {desc="Hostile breakaway faction threatens artistic community with forced labor demands.", urgency="LOW"},
      {desc="Convoy loaded with exotic contraband disappears near Gloom Forest border.", urgency="MEDIUM"},
      {desc="Priests of Ignis Aeternum rumored to torture dissenters in hidden catacombs.", urgency="HIGH"},
      {desc="Widespread theft of pyro-essence crystals disrupts city’s main industries.", urgency="LOW"},
      {desc="Rioters storm the Highland Port offices, set documents ablaze, ignoring law enforcement.", urgency="CRITICAL"},
    }
  },
  ["Symphonara"] = {
    events = {
      {desc="Indigo-Momiji extremist cell kidnaps city councilors, demands radical reforms.", urgency="HIGH"},
      {desc="Accord Concordia spies infiltrate military garrison for unknown purpose.", urgency="MEDIUM"},
      {desc="Old Morovian nationalists incite riots, occupying Symphonara’s largest public square.", urgency="CRITICAL"},
      {desc="Philosophical sect devolves into a violent cult, forcibly converting citizens.", urgency="HIGH"},
      {desc="Ringleaders sabotage city’s main aqueduct, threatening mass dehydration if demands not met.", urgency="HIGH"},
      {desc="Black-market organ trade uncovered in Harmony Gardens, law enforcement outnumbered.", urgency="LOW"},
      {desc="Merchant shipping disrupted by clandestine sabotage near Abeisan pass, many missing.", urgency="MEDIUM"},
      {desc="Mysterious ‘Twin Lady Divines’ zealots seize a local temple, refusing negotiation.", urgency="HIGH"},
      {desc="Bomb threats target the Celestial Harmony Sect’s festival, crowd panic spreads.", urgency="LOW"},
      {desc="Widespread anarchic uprisings triggered by Indigo propaganda, city watch cornered.", urgency="CRITICAL"},
    }
  },
  ["Aurelia"] = {
    events = {
      {desc="Guild of Golden Shadows forcibly takes over city treasury, hoarding wealth.", urgency="HIGH"},
      {desc="Chrysos worshipers riot in the streets, pillaging local banks and shops.", urgency="CRITICAL"},
      {desc="Ergonian Spy Agency infiltration discovered at Aurelia’s highest echelons.", urgency="HIGH"},
      {desc="Rogue thieves assault caravans entering the Western Highlands, city trade plummets.", urgency="HIGH"},
      {desc="Major sabotage: columns devoted to Chrysos defaced, extremist group claims credit.", urgency="MEDIUM"},
      {desc="Illicit black-market auctions hawk cursed artifacts from the Gorgon goddess era.", urgency="LOW"},
      {desc="Key smugglers vanish after alleged double-cross by Aurelia’s underworld boss.", urgency="MEDIUM"},
      {desc="Mercenaries blockade half the city, demanding total autonomy from Bassaridia Vaeringheim.", urgency="HIGH"},
      {desc="Coordinated bombing hits multiple Chryses columns, injuring dozens in city center.", urgency="CRITICAL"},
      {desc="Suspected insider deals funnel stolen gold to unknown rebel cells, treasury in turmoil.", urgency="LOW"},
    }
  },
  ["Somniumpolis"] = {
    events = {
      {desc="Reverie Nebulous cult forcibly recruits citizens into dream-induced servitude.", urgency="HIGH"},
      {desc="Noctic-Rabrev smugglers overrun local wetlands, city guard heavily outmatched.", urgency="HIGH"},
      {desc="Pirate enclaves form within the swamps, launching raids on main trade routes.", urgency="CRITICAL"},
      {desc="Strange hallucinogens unleashed at city gatherings, fueling violent mania.", urgency="HIGH"},
      {desc="Temple of Nephele infiltration threatens entire civic leadership.", urgency="MEDIUM"},
      {desc="Town elders vanish amid rumors of black-market vampiric deals in nearby caves.", urgency="LOW"},
      {desc="Swamp roach plague rumored to be bioengineered, endangering city farmland.", urgency="MEDIUM"},
      {desc="A cult of Morpheus seizes local watchtower for unknown ritualistic ends.", urgency="LOW"},
      {desc="Artisanal union sabotage leads to mass fires in crucial shipping warehouses.", urgency="HIGH"},
      {desc="Rebel priests vow to raise an undead militia from the swamp’s grave sites.", urgency="CRITICAL"},
    }
  },
  ["Nexa"] = {
    events = {
      {desc="Eon Fellowship radicals declare martial rule, punishing dissenters severely.", urgency="HIGH"},
      {desc="Bloodbaths of Laprind used for forced sacrifices, authorities powerless.", urgency="CRITICAL"},
      {desc="Cult infiltration at Nexa’s city hall sparks violent purges of city staff.", urgency="HIGH"},
      {desc="Banned necromancy discovered in ancient Gloom Forest shrines, local rangers vanish.", urgency="MEDIUM"},
      {desc="Key shipments of sulfuric water from Laprind stolen, city trade paralyzed.", urgency="LOW"},
      {desc="Priests of Glinos rumored to orchestrate forced ‘winter trials’ on suspects.", urgency="MEDIUM"},
      {desc="Mass abductions reported near Deerbone Cave, no ransom demands given.", urgency="HIGH"},
      {desc="Unknown militia attempts to sabotage Eon Fellowship strongholds for power grab.", urgency="MEDIUM"},
      {desc="Rogue alchemist unleashes corrupted ice crystals across city outskirts, livestock dying.", urgency="LOW"},
      {desc="Failed coup in Nexa’s central forum ends in heavy civilian casualties.", urgency="CRITICAL"},
    }
  },
  ["Lunalis Sancta"] = {
    events = {
      {desc="Order of the Umbral Oracle forcibly reinterprets city law, jailing opponents.", urgency="HIGH"},
      {desc="A spree of kidnappings targets key Temple Alabaster delegates visiting the city.", urgency="MEDIUM"},
      {desc="Noctis loyalists burn state archives, crippling civic records for indefinite time.", urgency="HIGH"},
      {desc="Sectarian infiltration splits local watch, loyalists clash in the streets at night.", urgency="CRITICAL"},
      {desc="Mass illusions enthrall devout Noctis worshipers, who stage violent demonstrations.", urgency="LOW"},
      {desc="Smugglers peddle soul-distorting potions near the labyrinth, city guard outnumbered.", urgency="HIGH"},
      {desc="Underground splinter group demands Lunalis Sancta independence from Bassarids, arms displayed.", urgency="MEDIUM"},
      {desc="Arcana’s ghost rumored to incite extremist mystics, fueling lethal seances citywide.", urgency="LOW"},
      {desc="Dozens vanish from Whispering Gardens, suspected mass abduction by hidden cult.", urgency="HIGH"},
      {desc="Coup attempt strikes city hall after pro-Noctis mayor’s controversial laws pass.", urgency="CRITICAL"},
    }
  },
  ["Sylvapolis"] = {
    events = {
      {desc="Mystery of Verdant Embrace commandeers farmland for ‘holy reforestation’, families evicted.", urgency="HIGH"},
      {desc="Sylvan Fellowship zealots forcibly ‘reclaim’ large swaths of wetlands, clashing with city guard.", urgency="CRITICAL"},
      {desc="Opsithe worshipers sabotage local water mills, threatening city’s harvest cycles.", urgency="HIGH"},
      {desc="Faun cult organizes mass takeover of farmland, rumored forced breeding programs for worshipers.", urgency="MEDIUM"},
      {desc="Rogue band assaults the Hollow Gate, blocking travelers indefinitely.", urgency="HIGH"},
      {desc="Strange plant-based toxins discovered in city wells, multiple poisonings reported.", urgency="LOW"},
      {desc="Civilians stage riots after fertility rites escalate into near-civil war among worshipers.", urgency="HIGH"},
      {desc="Trade caravans intercepted by armed druids, scuffles break out across forest roads.", urgency="MEDIUM"},
      {desc="Internal power struggle in Sylvan Fellowship leads to open street violence, bystanders caught in crossfire.", urgency="LOW"},
      {desc="Verdant extremist group threatens to unleash plague spores if demands not met.", urgency="CRITICAL"},
    }
  },

  -- BASSARIDIA VAERINGHEIM - MINOR (in order)
  ["Saluria"] = {
    events = {
      {desc="Coordinated destruction of horehound fields cripples Sanctum Vitalis economy.", urgency="HIGH"},
      {desc="Temple of Sacred Horehound seized by masked radicals, hostages taken.", urgency="HIGH"},
      {desc="Ambushers broadcast false signals luring caravans deep into Gloom Forest enclaves.", urgency="LOW"},
      {desc="Multiple apothecaries firebombed, entire medical supply chain threatened.", urgency="CRITICAL"},
      {desc="Mass pilgrim wave overwhelms city gates, suspect infiltration by extremist healers.", urgency="MEDIUM"},
      {desc="Alperkin druids threaten catastrophic curses if Saluria rejects their rule.", urgency="LOW"},
      {desc="Brigands extort caravans hauling cures, city hospitals on brink of collapse.", urgency="HIGH"},
      {desc="Suspicious sinkholes approach core city blocks, sabotage suspected in subterranean faults.", urgency="MEDIUM"},
      {desc="Rats laced with unknown toxins swarm temple archives, security powerless.", urgency="LOW"},
      {desc="High priestess found poisoned at Fount Evander, possible inside job suspected.", urgency="CRITICAL"}
    }
  },
  ["Aetherium"] = {
    events = {
      {desc="Rebel camel cavalry assaults Temple Alabaster, novices captured for ransom.", urgency="HIGH"},
      {desc="Militant Normark sympathizers kidnap rangers near glacial ridges, hostage crisis likely.", urgency="CRITICAL"},
      {desc="Key hot spring sabotage cripples city’s spiritual tourism economy.", urgency="HIGH"},
      {desc="Covert Ivory cult stockpiles arms, planning a forced 'purification' of the city.", urgency="LOW"},
      {desc="Saboteurs intercept forging feathers, halting advanced weapon manufacture.", urgency="MEDIUM"},
      {desc="Signal lights from snowy peaks indicate infiltration by unknown watchers.", urgency="LOW"},
      {desc="Militant Camel Herders blockade city gate, heavily armed, demanding independence.", urgency="MEDIUM"},
      {desc="Temple Alabaster forcibly ousts Alperkin mystics, violent skirmishes reported.", urgency="MEDIUM"},
      {desc="Self-proclaimed child prophet incites radical 'holy war,' fanatic mobs gather.", urgency="LOW"},
      {desc="Mountain pass stronghold destroyed by saboteurs, caravans stranded in cold wilderness.", urgency="CRITICAL"}
    }
  },
  ["Ferrum Citadel"] = {
    events = {
      {desc="Court of the Ironclad raises a rogue legion to topple city leadership.", urgency="HIGH"},
      {desc="High-level fortress staff caught plotting a midnight coup, explosive devices found.", urgency="CRITICAL"},
      {desc="Experimental Ferrum Mosquitos unleashed in water supplies, many infected.", urgency="HIGH"},
      {desc="Intercepted arms shipments reveal an inside job aiming for a fortress takeover.", urgency="HIGH"},
      {desc="Fenrir radicals abduct city councilors, demanding absolute secession from Vaeringheim rule.", urgency="MEDIUM"},
      {desc="Series of blasts wreck fortress ramparts, unknown group claims responsibility.", urgency="CRITICAL"},
      {desc="Major sabotage in prime iron mines halts forging of crucial weapons stock.", urgency="MEDIUM"},
      {desc="Fenrir cult infighting leads to deadly courtyard shootout, bystanders at risk.", urgency="LOW"},
      {desc="Caravan from Odiferia vanishes en route, cargo rumored to be advanced artillery.", urgency="MEDIUM"},
      {desc="Soldiers report haunting visions of Skoll near fortress gates, morale shaken.", urgency="LOW"}
    }
  },
  ["Acheron"] = {
    events = {
      {desc="Mystery of the Stygian Veil kidnaps travelers, rumored mass sacrifices in canyon temples.", urgency="HIGH"},
      {desc="Armed Alperkin rebels occupy seasonal encampments, forcibly converting locals.", urgency="CRITICAL"},
      {desc="Noctic-Rabrev trafficking fosters black-market expansions, city watch outnumbered.", urgency="HIGH"},
      {desc="Large-scale infiltration discovered in local trade guild, contraband arsenal seized.", urgency="MEDIUM"},
      {desc="Hostile Acheron acolytes blockade the canyon pass, extorting caravans for passage fees.", urgency="HIGH"},
      {desc="Alperkin farmers report nighttime abductions by unknown paramilitaries in Gloom Forest.", urgency="LOW"},
      {desc="Rival cults battle for control of once-nomadic capital, sporadic street fights erupt.", urgency="MEDIUM"},
      {desc="Smugglers sabotage Noctic-distilleries, releasing lethal vapors into city air.", urgency="HIGH"},
      {desc="Key religious leader assassinated mid-ritual, extremist group claims credit.", urgency="CRITICAL"},
      {desc="Silent plague rumored from Stygian waters infecting entire neighborhoods undetected.", urgency="LOW"},
    }
  },
  ["Erythros"] = {
    events = {
      {desc="Mystery of Red Mirth forcibly shuts all city gates, imposing bizarre bacchanalian law.", urgency="HIGH"},
      {desc="Erysic beggars riot after rumored anti-beggar edicts, armed conflict in city squares.", urgency="MEDIUM"},
      {desc="Blood-soaked altars discovered near Tar-Lands, city guard suspects mass sacrifice.", urgency="HIGH"},
      {desc="Chrysos-backed raiders seize local markets, demanding exclusive trade rights to Noctic goods.", urgency="HIGH"},
      {desc="Maritime Guild of Maskmakers infiltration uncovers plot to enslave entire city block.", urgency="CRITICAL"},
      {desc="Secret Erythros merchant houses funnel funds to a hidden rebel militia, stoking tensions.", urgency="LOW"},
      {desc="Large-scale heist empties Diona’s treasury, crippling city’s finances abruptly.", urgency="MEDIUM"},
      {desc="Violent scuffle with Alperkin tribes escalates over Tar Funeral rituals near city gates.", urgency="HIGH"},
      {desc="Cult of Silenus stages forced celebratory feasts, anyone resisting faces dire penalties.", urgency="LOW"},
      {desc="Treacherous traitors unify black-market Noctic trades, outclass city watch arms.", urgency="CRITICAL"},
    }
  },
  ["Catonis Atrium"] = {
    events = {
      {desc="Rex Catonis enforcers demand martial discipline from all citizens, merciless punishments inflicted.", urgency="HIGH"},
      {desc="Vegetable Lamb shipments vanish, rumored sabotage by satyr rebels deep in juniper forests.", urgency="MEDIUM"},
      {desc="Smugglers distribute contraband weapons to rebellious orchard keepers, city alarm raised.", urgency="HIGH"},
      {desc="Mysterious murders plague devout Cato worshipers, cryptic messages left behind.", urgency="CRITICAL"},
      {desc="Satyr clans forcibly reclaim apple groves, humiliating city guard in pitched skirmishes.", urgency="HIGH"},
      {desc="Ergonian War League infiltration discovered in city archives, top officials under suspicion.", urgency="MEDIUM"},
      {desc="Vegetable Lamb radical group bombs causeways to hamper city structure, possible quake illusions used.", urgency="LOW"},
      {desc="Devout Cato disciplinarians abduct ‘sinful’ merchants, rumors of brutal reeducation camps.", urgency="MEDIUM"},
      {desc="Military brass arrested over involvement in black-market forging ring, city in disarray.", urgency="HIGH"},
      {desc="Mass unrest after communal orchard is razed overnight, suspect extremist sabotage.", urgency="LOW"},
    }
  },
  ["Delphica"] = {
    events = {
      {desc="Couriers of the Lizard Queen fortify city perimeter, forcibly conscripting travelers.", urgency="HIGH"},
      {desc="Sanctum Delphica prophecy triggers mass panic, calls for shutting all city gates.", urgency="MEDIUM"},
      {desc="Reports of ‘parasitic wisp’ infiltration in the Temple University, multiple vanishings confirmed.", urgency="HIGH"},
      {desc="Blackmailers threaten city scholarship in exchange for advanced weapon tech from Delphica labs.", urgency="HIGH"},
      {desc="Tense standoff between Couriers loyalists and city militia over relic distribution rights.", urgency="CRITICAL"},
      {desc="Temple University protest spirals into a violent takeover, staff held hostage.", urgency="HIGH"},
      {desc="Travelers vanish near the Lizard Queen columns, extremist faction suspected of ritual executions.", urgency="LOW"},
      {desc="Anteros’s texts stolen, rumored to be used for extremist indoctrination, city hunts thieves.", urgency="MEDIUM"},
      {desc="Large-scale infiltration discovered in Delphica’s academic circles, possible spy ring from Koinonía.", urgency="LOW"},
      {desc="Explosive blasts target major thoroughfares around city squares, unknown terror group claims credit.", urgency="CRITICAL"},
    }
  },
  ["Koinonía"] = {
    events = {
      {desc="Ordo Amicitia ‘charity brigades’ forcibly seize goods from wealthier districts, claiming moral high ground.", urgency="HIGH"},
      {desc="Host Spirit bride rumor incites minotaur worship, labyrinth speculation leads to dozens lost underground.", urgency="MEDIUM"},
      {desc="Mass kidnappings near labyrinth entrance, suspects vow to awaken minotaur champion.", urgency="HIGH"},
      {desc="Cult of Apollo storms city granaries, controlling vital grain supply by force.", urgency="CRITICAL"},
      {desc="Secret gatherings in labyrinth depths discovered with evidence of large-scale sacrifices.", urgency="HIGH"},
      {desc="Shadowy heist empties entire Koinonía treasury, city verges on financial collapse.", urgency="MEDIUM"},
      {desc="Armed zealots block the labyrinth exits, city watch too frightened to advance.", urgency="LOW"},
      {desc="Insider collusion funnels resources to an underground paramilitary minotaur sect.", urgency="MEDIUM"},
      {desc="Long-lost bride of the Host Spirit rumored to incite mobs to overthrow city council.", urgency="HIGH"},
      {desc="Civic meltdown: panic after labyrinth illusions lure families underground, communications severed.", urgency="LOW"},
    }
  },
  ["Aureum"] = {
    events = {
      {desc="Gold-Eater aristocrats hoard city’s gold supply, threatening mass famine if demands not met.", urgency="HIGH"},
      {desc="Temple Illuminata infiltration leads to violent purges of suspected heretics in city streets.", urgency="CRITICAL"},
      {desc="Unknown thieves sabotage gold mines, burying entire shifts of miners, city paralyzed.", urgency="HIGH"},
      {desc="Shï Collective artisans revolt, turning precious metal tools into improvised weapons, city in chaos.", urgency="HIGH"},
      {desc="Band of alchemists claims to convert blood into gold, forcibly rounding up citizens as ‘materials.’", urgency="MEDIUM"},
      {desc="Enslavement rumors swirl that gold-eater families keep secret dungeons for rebellious workers.", urgency="LOW"},
      {desc="Fires break out in Crown Jeweler’s district, potentially arson for covering massive theft.", urgency="HIGH"},
      {desc="Armed Aureum loyalists vow to ban all Bassarid presence, toppling local government offices.", urgency="CRITICAL"},
      {desc="Rumors of cannibalism among extremist gold-eater offshoot, city watch unprepared for infiltration.", urgency="LOW"},
      {desc="Major meltdown at mint, saboteurs destroy coin reserves, pushing city to economic brink.", urgency="MEDIUM"},
    }
  },
  ["Myrene"] = {
    events = {
      {desc="Haifan scholars find heretical texts inciting rebellion against Bassarid influences, tension spikes.", urgency="HIGH"},
      {desc="Rogue academic faction orchestrates terror spree in Elysian Vale, kidnapping librarians.", urgency="CRITICAL"},
      {desc="Temple University meltdown: all Norn Ink supplies stolen, black-market knowledge forging rumored.", urgency="HIGH"},
      {desc="Cult of Haifan exiles forcibly reintroduces banned philosophies, clashing with local intellectuals.", urgency="MEDIUM"},
      {desc="Academic feuds escalate to bomb threats at major lecture halls, city in panic.", urgency="HIGH"},
      {desc="Mob storms the Archives, burns volumes of advanced knowledge, calls for Myrene independence.", urgency="CRITICAL"},
      {desc="Scholarly inquisition attempts to ‘purify’ suspected traitors, arrests multiply daily.", urgency="LOW"},
      {desc="Mysterious suicides among top philosophers suspected to be forced by extremist sect.", urgency="MEDIUM"},
      {desc="Major blackmail ring discovered controlling Myrene’s scribes, city leadership overshadowed.", urgency="LOW"},
      {desc="Captured faculty reveal secret ties to old Haifan warlords, planning local coup soon.", urgency="HIGH"},
    }
  },
  ["Halicarn"] = {
    events = {
      {desc="Grand Tomb of Dragevik defiled by renegade zealots, relic theft sparks city unrest.", urgency="HIGH"},
      {desc="Legions of Dragevik veterans mobilize unsanctioned militia, overshadowing local guard.", urgency="CRITICAL"},
      {desc="Underground tomb chambers host forced gladiatorial fights, large-scale abductions rumored.", urgency="HIGH"},
      {desc="Inscriptions vanish from Dragevik monument, sabotage suspected to provoke chaos.", urgency="LOW"},
      {desc="Halicarn’s market ransacked by radical historian sect, claiming city built on stolen legacy.", urgency="MEDIUM"},
      {desc="A traitorous warlord claims direct descent from Dragevik, musters loyal armies within city walls.", urgency="HIGH"},
      {desc="Organized thieves smuggle out bone fragments from the hero’s crypt, black-market mania ensues.", urgency="MEDIUM"},
      {desc="Temple guardians vanish overnight, leaving fortress gates wide open to bandits.", urgency="LOW"},
      {desc="Mass brawl at city’s amphitheater escalates to lethal violence, no survivors found by dawn.", urgency="CRITICAL"},
      {desc="Dangerous rumors swirl of necromantic attempts to resurrect Dragevik as a living weapon.", urgency="LOW"},
    }
  },
  ["Ephyra"] = {
    events = {
      {desc="Oracle seizes power in city temple, enacting total martial law to enforce prophecies.", urgency="HIGH"},
      {desc="Band of zealots kidnaps traveling dignitaries, demands recognition of new theocracy.", urgency="CRITICAL"},
      {desc="Temple of the Seer infiltration reveals plot to subjugate entire city with mind-control rites.", urgency="HIGH"},
      {desc="Golden Oak shipments mysteriously vanish, suspected sabotage by extremist forest cult.", urgency="MEDIUM"},
      {desc="Mass ‘purification’ ceremony demands forced confessions, violent crackdown ensues.", urgency="HIGH"},
      {desc="Academy scholars indicted for high treason, city watchers forcibly drag them away at midnight.", urgency="LOW"},
      {desc="Mysterious illusions in Vale of Delpa lure dozens into permanent catatonia, suspicion of arcane terrorism.", urgency="MEDIUM"},
      {desc="A breakaway sect proclaims Ephyra’s secession, targeting the oracle’s loyal guard with raids.", urgency="HIGH"},
      {desc="Widespread panic after rumored reading predicts city’s imminent destruction, extremist doomsday cult emerges.", urgency="LOW"},
      {desc="Armed heretics seize Vygsil Springs for ransom, risking entire region’s spiritual tourism meltdown.", urgency="CRITICAL"},
    }
  },
  ["Thyrea"] = {
    events = {
      {desc="Agnis worshipers forcibly banish all Thalassa icons, city teeters on civil war line.", urgency="HIGH"},
      {desc="Normarkian smugglers join exiled Agnis devotees, forging a hostile militia near Lake Kedem.", urgency="CRITICAL"},
      {desc="Underworld strongholds discovered, housing an entire black-market ring enslaving outsiders for blood rituals.", urgency="HIGH"},
      {desc="Shoshan Marsh caravans report repeated kidnappings by masked marauders, city commerce crippled.", urgency="HIGH"},
      {desc="Rioters accuse the city council of collusion with demonic Agnis cult, local watch overwhelmed.", urgency="MEDIUM"},
      {desc="Agnis inquisitors round up suspected Thalassa loyalists, show trials broadcast publicly.", urgency="LOW"},
      {desc="The Helaen Kyklos intensifies patrols, forcibly conscripting youths for an unknown campaign.", urgency="MEDIUM"},
      {desc="Saboteurs poison Lake Kedem fish, leaving thousands dead, panic sets in at city market.", urgency="HIGH"},
      {desc="Monastic fortress rumor: hidden labyrinth fosters forced indoctrination, no outside contact allowed.", urgency="LOW"},
      {desc="Militant Necromancer claims direct link to Agnis, threatens mass undead uprising if demands not met.", urgency="CRITICAL"},
    }
  },

  -- NEW SOUTH JANGSONG - MAJOR (in order)
  ["Skýrophos"] = {
    events = {
      {desc="Quartz cliff blockade by insurgents, severing trade flows, crisis looms.", urgency="HIGH"},
      {desc="Alterbulb illusions deployed by a rogue cult to disorient city guards en masse.", urgency="MEDIUM"},
      {desc="Pirate warlords hijack entire fishing fleet, ransoming pufferfish cargo.", urgency="HIGH"},
      {desc="Explosive sabotage at Suncliffs topples a crucial watchtower, security compromised.", urgency="CRITICAL"},
      {desc="Illicit quartz-based bombs discovered in merchant warehouses, mass arrests ensue.", urgency="LOW"},
      {desc="Petrified officials found with carved runes, rumored black magic infiltration.", urgency="HIGH"},
      {desc="Key shipments of Alterbulb lumber stolen, local economy falters drastically.", urgency="MEDIUM"},
      {desc="Zealous uprising captures city’s main outpost, proclaiming independence from Bassaridia.", urgency="MEDIUM"},
      {desc="Stealth amphibious raiders strike coastal guard towers at midnight, defenders vanish.", urgency="LOW"},
      {desc="Massive sinkhole in bazaar reveals contraband arsenal for insurgent plots.", urgency="CRITICAL"}
    }
  },
  ["Bjornopolis"] = {
    events = {
      {desc="Smugglers seize the floating market, erecting barricades, halting all commerce.", urgency="HIGH"},
      {desc="Rival merchant guild standoff escalates into lethal gunfights across upper terraces.", urgency="MEDIUM"},
      {desc="Collapse in city’s under-caverns reveals hidden rebel camps, violent encounters erupt.", urgency="HIGH"},
      {desc="Guild revolt besieges city hall, proclaiming total independence from JS governance.", urgency="CRITICAL"},
      {desc="Poisoned mead kills dozens, inciting large-scale riots as supplies vanish.", urgency="MEDIUM"},
      {desc="Loose Bijarian Leopards rampage outskirts after extremist release, city watch in disarray.", urgency="LOW"},
      {desc="Stolen Altar of Songs relic used by insurgents to rally anti-Bassarid sentiments.", urgency="HIGH"},
      {desc="Ex-soldiers blockade harbor with armed vessels, extorting massive tribute from all ships.", urgency="CRITICAL"},
      {desc="Whispering Falls phenomenon intensifies, fisherman vanish nightly, possibly an organized terror tactic.", urgency="HIGH"},
      {desc="Street illusions provoke widespread panic, mobs clash with local militia, chaos everywhere.", urgency="LOW"}
    }
  },
  ["Aegirheim"] = {
    events = {
      {desc="Normarkian clans forcibly occupy primary shipyard, stalling city’s naval readiness.", urgency="HIGH"},
      {desc="Conspiracy to hijack entire Aegirheim fleet uncovered, traitorous admirals arrested.", urgency="CRITICAL"},
      {desc="Rogue marines seize crucial fortifications on Pythe Spine Mountains, cut off reinforcements.", urgency="HIGH"},
      {desc="Secret infiltration unearths sabotage in city’s top blacksmith shops, weapons compromised.", urgency="HIGH"},
      {desc="Fenrir cult rumored to have established an outpost near Leviathan’s Teeth, city uneasy.", urgency="MEDIUM"},
      {desc="Zealots preach disloyalty to JS governance, inciting small-scale ship mutinies.", urgency="LOW"},
      {desc="Band of ex-pirates raids city’s seafaring supply caches, local guard outgunned.", urgency="MEDIUM"},
      {desc="Expanding smuggler rings peddle militarized crab plating for black-market armor sales.", urgency="MEDIUM"},
      {desc="Merchant coalition calls for martial law after repeated sabotage of harbor defenses.", urgency="LOW"},
      {desc="Armed extremist fishermen block all exports, threaten to burn entire fleet if demands not met.", urgency="CRITICAL"}
    }
  },
  ["Norsolyra"] = {
    events = {
      {desc="Wisp cult occupies main city quarter, forcibly recruiting residents with hallucinatory magic.", urgency="HIGH"},
      {desc="Armed raiders hamper Noctic-Rabrev harvest, risking food and drug crises for the region.", urgency="HIGH"},
      {desc="Ghost illusions lead entire patrol squads astray in Tarnand Fjord, no survivors found.", urgency="LOW"},
      {desc="Contraband Wisp Rice turf wars kill bystanders daily, local guard powerless.", urgency="MEDIUM"},
      {desc="Rogue Normark saboteurs breach levees, farmland flooding triggers mass displacement.", urgency="HIGH"},
      {desc="Dream plague terror grips city, zealots riot at dawn with lethal force.", urgency="CRITICAL"},
      {desc="Rival wisp cult leaders cross swords over sacrificial sites, dozens dead or missing.", urgency="MEDIUM"},
      {desc="Pirates disguised as pilgrims loot advanced Noctic weapon prototypes from local arsenal.", urgency="HIGH"},
      {desc="Corrupt officials extort worshipers, culminating in armed standoffs at city altars.", urgency="LOW"},
      {desc="Maritime illusions cripple shipping lanes, bankrupting local trade alliances overnight.", urgency="MEDIUM"}
    }
  },
  ["Thorsalon"] = {
    events = {
      {desc="Blood Vineyards extremist circle demands daily human tributes, city faces terror spree.", urgency="HIGH"},
      {desc="Normarkian raiders conspire with smugglers to corner the blood-infused wine market violently.", urgency="CRITICAL"},
      {desc="Mass abductions near Haemomantine Cliffs, used for grisly sacrificial rituals, guard stumped.", urgency="HIGH"},
      {desc="Conclave of Thorsalon enforces iron rule, forcibly disbanding rival sects in wine districts.", urgency="HIGH"},
      {desc="Secret vampiric cult rumored to operate in Erythraean Cave, multiple missing travelers found drained.", urgency="MEDIUM"},
      {desc="Merchants protest new blood wine taxes, extremist blockade forms at city gates.", urgency="LOW"},
      {desc="Evidence of unnatural transformations among Blood Vineyard workers, possible militarized doping program.", urgency="MEDIUM"},
      {desc="Major sabotage in Erythraean wine cellars, entire year’s production destroyed, city economy at risk.", urgency="HIGH"},
      {desc="Clandestine necro-sorcery rumored to resurrect victims for indefinite forced labor in vineyards.", urgency="LOW"},
      {desc="Hostile warband attempts to dethrone local Haifan authority, forcibly occupying a fortress watchtower.", urgency="CRITICAL"}
    }
  },

  -- NEW SOUTH JANGSONG - MINOR (in order)
  ["Pelagia"] = {
    events = {
      {desc="Armored raiders sabotage Saltsteppes trade routes, city commerce paralyzed.", urgency="HIGH"},
      {desc="Bassarid relic smugglers hoard contraband arms in hidden desert bunkers.", urgency="MEDIUM"},
      {desc="Melusine cult lures caravans into elaborate ambush traps, no survivors reported.", urgency="LOW"},
      {desc="Tainted well kills unsuspecting travelers, extremist sabotage suspected, city on edge.", urgency="HIGH"},
      {desc="Mass toxic exposure in old fortress leads to casualties, sabotage likely from inside.", urgency="LOW"},
      {desc="Bandits forcibly conscript inbound traders, forging a new paramilitary force outside city walls.", urgency="MEDIUM"},
      {desc="Hatch Ministry loyalists seize deserted outpost, kidnapping local ranchers for ransom.", urgency="HIGH"},
      {desc="Carnivorous locust-like predators unleashed on farmland, rumored to be weaponized insects.", urgency="CRITICAL"},
      {desc="Camel ranchers threaten armed revolt unless the city invests in new defenses.", urgency="MEDIUM"},
      {desc="Key supply depots vanish, possibly stolen by militant splinter cells, region starves.", urgency="CRITICAL"}
    }
  },
  -- (If any other minor city in NSJ from text, place it here in order.)

  -- HAIFAN BASSARIDIA - MAJOR (in order)
  ["Keybir-Aviv"] = {
    events = {
      {desc="Heavily armed raiders target diamond convoys near Lake Morovia, entire units missing.", urgency="HIGH"},
      {desc="Stripping Path radicals seize coral trade posts, multiple officials killed in crossfire.", urgency="MEDIUM"},
      {desc="Massive theft spree collapses city’s key trade route, commerce on the brink of ruin.", urgency="HIGH"},
      {desc="Exposed Diamond Corp conspirators attempt mini-coup, hiring mercenaries at city gates.", urgency="LOW"},
      {desc="Hermes cult calls for mass sacrifice, terrorizing rural hamlets around the city perimeter.", urgency="CRITICAL"},
      {desc="Diamond forgery ring triggers panic, mass arrests spark violent retaliation from underground circles.", urgency="HIGH"},
      {desc="Reef serpents used by warlords to raid farmland, displacing entire villages forcibly.", urgency="MEDIUM"},
      {desc="Pirate bombs destroy major warehouse district, city meltdown ensues.", urgency="HIGH"},
      {desc="Council crackdown on Stripping Path offshoot triggers pitched street battles across coral markets.", urgency="MEDIUM"},
      {desc="Solar omen incites doomsday prophets, mobs riot at city docks, guard overwhelmed.", urgency="LOW"}
    }
  },
  ["Tel-Amin"] = {
    events = {
      {desc="Naval blockade orchestrated by warring states traps vital supply convoys, crisis escalates.", urgency="CRITICAL"},
      {desc="Pirate king abducts merchant heirs, city forced to gather colossal ransom swiftly.", urgency="HIGH"},
      {desc="Secret mermaid tomb discovered, rumored mental collapses plague expedition survivors.", urgency="LOW"},
      {desc="Host Spirit zealots torch older Stripping Path temples, citywide unrest breaks out.", urgency="MEDIUM"},
      {desc="Mass pilgrim influx from Mylecia saturates local defenses, infiltration suspected among arrivals.", urgency="HIGH"},
      {desc="Coordinated sabotage topples key trading outposts, resource shortage imminent, city in dismay.", urgency="CRITICAL"},
      {desc="Fortress gate toll revolt escalates, smugglers heavily armed in standoffs with city guard.", urgency="HIGH"},
      {desc="Rebel zealots rig roads with hidden explosives, halting all commercial traffic indefinitely.", urgency="MEDIUM"},
      {desc="Cryptic doomsday prophecy incites panic, extremist cult seizes a major temple unopposed.", urgency="LOW"},
      {desc="Undersea caverns rumored to shelter rogue warlord submarines, threatening city shipping routes.", urgency="MEDIUM"}
    }
  },
  ["Diamandis"] = {
    events = {
      {desc="Merchants of the Valley of Diamonds forcibly shut all major mines, weaponizing security systems.", urgency="HIGH"},
      {desc="Diamond trade meltdown triggers faction warfare among leading companies, city watch outclassed.", urgency="CRITICAL"},
      {desc="Rogue excavators vanish in hidden tunnels rumored to house illicit arms caches.", urgency="HIGH"},
      {desc="Secret cult attempts blood infusion rites with raw diamonds, multiple casualties from bizarre rituals.", urgency="HIGH"},
      {desc="Diamandis bank infiltration by anti-Bassarid rebels, gold reserves stolen, city economy threatened.", urgency="MEDIUM"},
      {desc="Explosive sabotage hits Valley of Diamonds entry, entombing dozens of miners, panic ensues.", urgency="CRITICAL"},
      {desc="Organized criminals enslave unsuspecting laborers to expand diamond mines illegally.", urgency="LOW"},
      {desc="Major smuggling ring uncovered, shipping weaponized diamonds off-world, city officials stunned.", urgency="MEDIUM"},
      {desc="Sporadic diamond riot flares over rumored shortage, entire districts locked down by city guard.", urgency="HIGH"},
      {desc="Mysterious meltdown at diamond cutting facility blamed on extremist sabotage, casualties climbing.", urgency="LOW"},
    }
  },
  ["Jogi"] = {
    events = {
      {desc="Armed piracy within farmland caravans devastates Jogi’s breadbasket economy, urgent martial action needed.", urgency="HIGH"},
      {desc="Mass sabotage cripples the Ale of the Night Brewery, unknown paramilitary group claims credit.", urgency="CRITICAL"},
      {desc="Cattle thefts escalate into pitched shootouts, farmland security dangerously low.", urgency="HIGH"},
      {desc="Slaving ring discovered capturing field workers under the cover of night, city watch outnumbered.", urgency="MEDIUM"},
      {desc="Nomadic gangs block Trans-Keltian railway near Jogi, halting trade to Lake Morovia’s southern corridor.", urgency="HIGH"},
      {desc="Illegal Noctic distillery explodes, raising suspicion of terror involvement in farmland operations.", urgency="LOW"},
      {desc="Mass orchard burning spree ravages essential crops, city faces potential famine if not resolved.", urgency="HIGH"},
      {desc="Tribal Alperkin forces claim ownership of farmland, forcibly expelling Jogi farmers from homesteads.", urgency="MEDIUM"},
      {desc="Hatch Ministry infiltration rumored to be fueling local extremist movements, multiple arrests attempted.", urgency="LOW"},
      {desc="Raiders sabotage railway supply lines, threatening entire agrarian distribution network for region.", urgency="CRITICAL"},
    }
  },
  ["Lewisburg"] = {
    events = {
      {desc="Order of Rochefort remnants regroup, attacking city depots, re-igniting old genocide fears.", urgency="HIGH"},
      {desc="Mass sabotage on Trans-Bassaridia Railway, stranding entire convoys at Lewisburg station.", urgency="CRITICAL"},
      {desc="Extremist loyalists vow to restore old Hammish rule, forcibly occupying civic buildings.", urgency="HIGH"},
      {desc="Clandestine black-market auctions run from ex-Rochefort fortress, security details vanish investigating.", urgency="HIGH"},
      {desc="Refugees report enslavement by rogue militia controlling city’s outer farmland, urgent relief needed.", urgency="MEDIUM"},
      {desc="Nighttime chanting from Rochefort crypts triggers panic; rumors of necromantic revival swirl.", urgency="LOW"},
      {desc="Corrupt city officials indicted for funneling arms to rebel forces, municipal meltdown ensues.", urgency="MEDIUM"},
      {desc="Paramilitary thugs sabotage local factories, crippling city infrastructure as intimidation tactic.", urgency="HIGH"},
      {desc="Mysterious plague spreads in old fortress tunnels, suspected biological warfare, quarantines in effect.", urgency="CRITICAL"},
      {desc="Bomb threat at city’s main marketplace displaces thousands, no group claims credit yet.", urgency="LOW"},
    }
  },

  -- HAIFAN BASSARIDIA - MINOR (in order)
  ["Thermosalem"] = {
    events = {
      {desc="Rogue faction threatens to pollute hot springs with toxins if demands not met.", urgency="HIGH"},
      {desc="Armed pilgrims overrun main spa district, seizing medical staff as bargaining chips.", urgency="MEDIUM"},
      {desc="Extremists vow to raze the entire hydrotherapy complex, sabotage discovered in drainage tunnels.", urgency="CRITICAL"},
      {desc="Dozens vanish near hidden bathhouse passages, rumored forced initiations into a shadow cult.", urgency="LOW"},
      {desc="Mass doping incident at city’s largest hot spring, unhinged crowds attack bystanders.", urgency="MEDIUM"},
      {desc="Spa-dome bombing stuns local law enforcement, heavy casualties reported among tourists.", urgency="HIGH"},
      {desc="Old-guard priests forcibly detain progressive mystics, claiming heresy and potential insurgency.", urgency="MEDIUM"},
      {desc="Dawn illusions suspected to be psychic warfare used by hidden conspirators, multiple rescues fail.", urgency="LOW"},
      {desc="Key mineral well collapses under suspected sabotage, city stands on brink of ruin.", urgency="HIGH"},
      {desc="Coordinated extremist campaign aims to enslave visitors for mass ritual, no authorities in sight.", urgency="CRITICAL"}
    }
  },
  ["Akróstadium"] = {
    events = {
      {desc="War League generals mutiny, arrest the entire novice command chain, city paralyzed.", urgency="HIGH"},
      {desc="Poison gas discovered in monastery ventilation, sabotage kills multiple trainees.", urgency="CRITICAL"},
      {desc="Rampaging Water Buffalo demolish outer defenses, watchers pinned in stables.", urgency="HIGH"},
      {desc="Sheep plague rumored to be engineered by shadow scientists, ranchers panic en masse.", urgency="MEDIUM"},
      {desc="A revered champion assassinated mid-demonstration, city crowd flees, havoc unleashed.", urgency="HIGH"},
      {desc="Bassarid insurgents storm Temple of Kan Zen, forcibly converting acolytes at swordpoint.", urgency="MEDIUM"},
      {desc="Hidden weapons cache found in stable floors, stoking fear of imminent coup or infiltration.", urgency="LOW"},
      {desc="Midnight crypt conspirators plan citywide siege, warlord calls for a new order.", urgency="CRITICAL"},
      {desc="Rock barricade on main road rigged with mines, cutting supply routes entirely.", urgency="MEDIUM"},
      {desc="Mysterious chanting triggers mass hysteria in the stadium, brawls ensue, watch outnumbered.", urgency="LOW"}
    }
  },
  ["Sufriya"] = {
    events = {
      {desc="Merchants and spies lock down Abeisan Inlet, forcibly extorting passing ships.", urgency="HIGH"},
      {desc="Jezeri infiltration rumored among local bureaucrats, forging deadly alliances with pirate clans.", urgency="MEDIUM"},
      {desc="Black-market slave auctions discovered in hidden warehouses near southern coast, city guard baffled.", urgency="HIGH"},
      {desc="Radical Abeisan Inlet privateers sabotage city’s docking facilities, leaving fleets stranded.", urgency="CRITICAL"},
      {desc="Secret opium dens bribe city watch to ignore mass abductions at night, moral meltdown unfolds.", urgency="HIGH"},
      {desc="Border dispute with Imperial Federation escalates, militias gather at Sufriya outskirts.", urgency="LOW"},
      {desc="A clandestine ring fosters espionage across eastern Haifa lines, multiple assassinations reported.", urgency="MEDIUM"},
      {desc="Merchant houses ransacked by an underground band calling themselves ‘Abeisan Liberators.’", urgency="HIGH"},
      {desc="Mysterious sabotage disrupts shipping manifests, local economy in chaos, unknown group claims credit.", urgency="LOW"},
      {desc="Armed blockade halts traffic from Lake Morovia to the southern strait, crisis declared by city council.", urgency="CRITICAL"}
    }
  },
  ["Lykopolis"] = {
    events = {
      {desc="Priestess of Agripinilla enacts martial law, forcibly recruiting entire city block for her militia.", urgency="HIGH"},
      {desc="Mylecian Coal Ports infiltration reveals a grand conspiracy to topple city leadership from within.", urgency="MEDIUM"},
      {desc="Brutal ceremonies in old coal mines discovered, rumored black-ritual sacrifice of dissidents.", urgency="HIGH"},
      {desc="Stripping Path radicals sabotage key excavation tunnels, burying dozens of miners alive.", urgency="CRITICAL"},
      {desc="Bassarid loyalists clash with local Divinist sect, savage brawls erupt across city squares.", urgency="LOW"},
      {desc="Fenrir infiltration rumored near the Priestess's shrine, vantage points compromised, city uneasy.", urgency="HIGH"},
      {desc="Multiple city officials indicted for extorting coal miners, paramilitary squads stepping in.", urgency="MEDIUM"},
      {desc="Grassroots rebellion urges Lykopolis independence, forging hidden weapon caches underground.", urgency="MEDIUM"},
      {desc="Masked fanatics disrupt daily worship, forcibly 'purifying' onlookers who resist spiritual reformation.", urgency="LOW"},
      {desc="Sabotage at primary coal port threatens entire region’s forging supply chain, meltdown possible.", urgency="CRITICAL"}
    }
  },
}

-------------------------------------------------------------------------------
-- (D) makeTable function (unchanged logic, just daily update with seeded random)
-------------------------------------------------------------------------------
function p.makeTable()
    local dateInfo = getPSSCDate()
    local seed = dateInfo.year * 1000 + dateInfo.dayOfYear
    math.randomseed(seed)

    local lines = {}
    table.insert(lines, '{| class="wikitable"')
    table.insert(lines, '! Date !! City !! Event !! Urgency')

    for cityName, data in pairs(cityData) do
        local r = math.random()
        if r < 0.60 then
            table.insert(lines, '|-')
            table.insert(lines, '| ' .. dateInfo.text .. ' || ' .. cityName .. ' || No reports || N/A')
        else
            local pick = math.random(#data.events)
            local e = data.events[pick]
            table.insert(lines, '|-')
            table.insert(lines,
                '| ' .. dateInfo.text
                .. ' || ' .. cityName
                .. ' || ' .. e.desc
                .. ' || ' .. e.urgency
            )
        end
    end

    table.insert(lines, '|}')
    return table.concat(lines, '\n')
end

return p