Tes4Mod:Unofficial Oblivion Patch/NPCs

AI Fixes
Dorian should sleep in his own bed upstairs now.
Fixed Kurz gro-Baroth's sleep package having no location, so he could be found sleeping on beggar's bedrolls outdoors rather than in the Chorrol Fighters' Guild
Fixed Undena Orethi (Skingrad) never reaching her tomato patch because the marker for it was buried in a boulder in a cliff face by the Gold Road in a different cell; also gave her a hoe and changed her AI so that she'll use it at the right place
Fixed Burz gro-Khash and Mazoga the Orc not unequipping weapons/shields when eating, so they would go right through the table
Mazoga the Orc should no longer die before the player starts her quests due to her Responsibility of zero causing her to steal food or attack guards (it was set this way so that she would seek Black Bows held by NPC's, and so will be set back to this when her quest is done and this supposed is to happen)
Naspia Cosma will now complete her daily attendance in Cheydinhal Castle County Hall and offer Blade training as she was supposed to; player would have to unlock and trespass in the Private Quarters to get her to train otherwise
Fixed Malintus Ancrus (Chorrol) sometimes not being outside his house when he's supposed to be in the Thieves' Guild Arrow of Extrication quest, and stuck outside permanently once the quest is completed
Giovanni Civello (Adamus Phillida's replacement after the Dark Brotherhood quest Permanent Retirement) will no longer be stuck in his office
Stopped Jirolin Doran's (Chorrol) useless GameMode script from running constantly (leftover from unfinished, unnamed quest MS17), also fixed his lack of basic AI schedule (only had the unused quest packages) so removed them and gave him the same ones as his wife Ariela Doran
Fixed the AI bug causing Imperial Legion Foresters to fight each other to the death if there was a deer in the area (a required side effect to keep them from fighting without going into a script bounce is that if two of them conflict over a deer, they will become uninterested in that deer thereafter)
Fighters Guild Porters should no longer follow the player around in the guildhall (unintended consequence of their repair service that caused them to act like shopkeepers)
Wretched Aia and other Bravil NPC's should no longer fall in the canals from the bridge to Bravil Castle and drown
Edla Dark-Heart (Bruma) should no longer attack the player's horse for no apparent reason
Fixed Oghash gra-Magul's (Cheydinhal) AI so that she should no longer leave her Paint Horse parked in the IC Waterfront indefinitely
Viera Lerus (Bravil guard captain) will no longer endlessly wander between Bravil and Bruma after the Great Gate quest is completed
Fixed Dro'Nahrah's (Bravil) daily attendance AI being set to Bruma instead of Bravil castle, which caused her to die in the wilderness.
Bralsa Andaren (Master Destruction trainer) will now remove the 20 bear pelts the player collects to receive training as was intended.
If the player meets Ralsa Norvalo in her house to start the Order of the Virtuous Blood quest, she should no longer lock the player inside (forcing the player to sneak and pick the lock to leave or be arrested)
Kiara (Brina Cross Inn) will no longer stand in the same spot permanently (had no AI).
Fixed Diram Serethi's AI so he no longer follows the player around the inn.
The Umbacano Manor guards will no longer follow the player outside then a second later walk back in also removed useless scripting from ICUmbacanoExitDoorScript that was suppose to stop them from following the player outside but didn't.
The Dark Guardian should no longer leave the Cheydinhal Dark Brotherhood sanctuary as was unable to get back in, and if killed outside would respawn outside for the remainder of the game (as well, its attempts to go back in through the well have been occasionally reported to crash the game).
The guard at Bravil's North Gate on the west side of the door should no longer constantly walk into the wall behind him; his inability to reach his target point was also preventing him from doing his patrols.
The four residents of the Bravil Skooma Den should no longer all try to sleep in the same bed while others go unused.
Imperial Legion Foresters should no longer fight with town guards.
Trevaia (Anvil Chapel of Dibella) will now offer restoration spells for sale as she was supposed to while in the chapel nave as other priests do (she was also set to sell potions, but had no potions to sell, so this has been removed).
Shamada, Ra'Jahirr and Julitta Plotius (Leyawiin) will no longer each futilely try to open a locked cupboard in Best Goods & Guarantees for two hours a day.
The lich King of Miscarcand and his Zombie Guardians should no longer pursue the player outside of Miscarcand, causing problems resting and fast-traveling, and appearing when the player is released from jail.
The Spectral Sailors in the Ghost Ship of Anvil quest should now stay in the Serpent's Wake, not follow the player to the Anvil docks, attack the residents (which causes Isolde to cast her Mythic Dawn armor,) wander into taverns, and persist until the player returns.
Several errors with Fathis Ules' (Thieves Guild fence) behavior have been corrected.
The surviving NPC's from Desolate Mine (Fighters Guild quest) and Bleak Mine (Malacath Shrine quest) will no longer reappear whenever the player is released from jail.
Possibly fixed the problem with Armand Christophe getting stuck and never showing up at the Garden of Dareloth after the Elven Maiden quest (added a simple can't-hurt-might-help EvaluatePackage to the right area, but eight times asking for a save to test it on failed to produce results so unable to test it).
Ohtesse will now offer her services in The Great Chapel of Arkay; previously she would only offer them in the Chapel Hall where the player would have to break in and trespass
Restita Statlilia and Brielus Gawey at Chestnut Handy Stables (Imperial City) will no longer follow if the player fast-travels from this location.
Shameer (Skingrad) should no longer steal other NPC's food and be attacked by guards (instead of eating un-owned grapes in the vineyard he works in).
Fixed AI bug with NPC's with bows where if they went into combat while sleeping or preparing to sleep, they would not equip arrows so were helpless (this will fix NPC's added by mods if they are members of stock classes of which some members carry bows, but not if they carry bows added by mods).
Chancellor Ocato should no longer fight with Baurus and Jauffre in the Temple of the One at the conclusion of the Main Quest.
Swapped the reversed AI packages for one of the day and night guards in the Imperial City Arboretum
The Imperial Legion Forester at the Inn of Ill Omen should now hit his target when practicing archery instead of always missing to the left (this may only take effect on a new game)
Corrected Bernadette Peneles' daily worship (Skingrad) having a duration of zero
Gureryne Selvilo should no longer repeatedly activate the Altar of Talos (Chorrol) during his daily worship
Mage Scholars at the IC Arcane University will no longer rudely dismiss the player's conversation if the player is the Arch-Mage
Fixed Anvil jailors sleeping in one of the jail cells instead of their own nearby beds
Bruma guards should no longer clump in one spot in the barracks and never finish their shift change
Corrected conditions on six Anvil guard AI eat packages (were checking if they were in the Chorrol rather than Anvil barracks)
Fixed Dion's (Skingrad guard captain) AI so that he no longer crouches for no apparent reason when doing his inspection patrols
Viranus Donton should no longer sleep in his armor
Bronsila Kvinchal will now eat dinner at the Bloated Float as she was supposed to


General Fixes
Guards in all cities will no longer wear a bow and quiver by default (unless they used it in their last combat); this was also caused by the 1.2.0214 official patch.
Gundalas at Best Goods and Guarantees in Leyawiin will now sell the items he was supposed to.
Fixed the Brina Cross Inn (location of the Anvil Recommendation quest) publican Christophe Marane as it was often possible to rent a room there once and have it persist for the rest of the game
Fixed the lich Erandur-Vangaril (Lost Boy Caverns) so that if the player encounters it at less than level 23 and it's non-interactive (which is by design) it doesn't remain this way permanently should the player return at a sufficient level
Rimalus Bruiant (Chorrol) should no longer occasionally attack his wife (Rena) and dogs due to missing faction membership
Made the four master trainers (Alawen/Marksman, Bralsa Andaren/Destruction, Tooth-in-the-Sea/Alteration and Torbern/Acrobatics) found in the wilderness essential/unkillable until they agree to train the player (at least two of them would more often than not die even before the training quest was started)
The soldiers in the Attack on Fort Sutch mini-quest will no longer persist after the Main Quest is completed.
Engorm is no longer a merchant as he was never meant to be (he had no chest, items or gold all other merchants have).
Fixed Eyja (Skingrad, Colovian Traders) never sleeping if not hired at Rosethorn Manor as the cell and bed were owned by Gunder; added faction for them and set ownership to that (she actually indicates if she's hired that she shared Gunder's bed)
Fixed Etira and Vlanhonder Moslin (Hackdirt) being able to hand out bounties like guards do though they are not guards (nor have affiliation with Imperial law, considering the Empire purposely burned down their town to keep it under control; standard bounty rules as for any village without guards will now apply, as ownership of all interiors is fixed also)
The Cheydinhal Guard involved in the "Corruption and Conscience" quest will no longer be essential after he has served his purpose.
Candice Corgine of the Sleeping Mare (Pell's Gate) will now rent rooms and have barter gold as she was supposed to.
The four members of the Black Hand (Dark Brotherhood, Following A Lead quest) will no longer call the player a thief if items in Applewatch farm are picked up.
Removed several unused variables from Delmar's scripting for the Mage's Staff.
Improved the fix for Countess Alessia Caro so that she is susceptible to Stark Reality (Sanguine Shrine quest) if she has been resurrected, and removed unused "if" blocks and unnecessary checks from the Stark Reality spell script as it was very slow (If the quest is currently running and Alessia Caro is already at the dinner party, and the spell isn't working on her, she may have been resurrected by the UOP; just come back in a back in a day and it will work).
Corrected exploit of killing Raven Camoran repeatedly in Paradise and obtaining his leveled ring every time (this was clearly an oversight as it and other items are removed from him when he is first moved to Paradise; there was no equivalent for Ruma Camoran and her leveled staff so this was left alone).
Corrected Countess Alessia Caro being set to non-essential after the Thieves Guild Ahdarji's's Heirloom quest; she would occasionally die on the way from Leyawiin to Chorrol and back and this would break the Sanguine Shrine quest. She will now be made unessential once both quests are completed, and essential if both are not; if she is dead in a current game without both quests complete she will reappear in Leyawiin or Chorrol depending on the day of the month.
Cingor (Leyawiin) will no longer be a Mythic Dawn member, as killing him in self-defense would kick the player out of the Fighters Guild.
Agarmir (Unfriendly Competition quest) is now flagged as essential (as the other NPC's in this quest already were) until the stage where this is no longer required; if the player disposed of him prematurely, there were strange consequences.
Skjorta at the Nord Winds in Bruma will now sell the unique Councilor's Hood item as she was supposed to.
Edgar Vautrine at Edgar's Discount Spells in the Imperial City Market District will now sell the unique Veil of the Seer item, and an assortment of scrolls and other items, as he was supposed to.
Hamlof Red-Tooth at Red Diamond Jewelry in the Imperial City Market District will now sell the unique Spectre Ring as he was supposed to.
Shum gro-Yarug (Skingrad Count's butler) is now flagged as essential so won't die falling off the bridge, and if he's already dead in an existing game he'll reappear in Castle Skingrad County Hall.
Hauls-Ropes-Faster in Anvil will now offer advanced Athletics training as he was supposed to.
Garrus Darelliun will no longer give unlimited copies of Ulrich Leland's key.
Fixed lack of Light Armor as a major skill for all city guards; though all except those in the Imperial City wear Light Armor, they were not leveling up in it so were very weak on defense at higher player levels.
Mankar Camoran should no longer (very rarely) get stuck in Cloud Ruler Temple at the start of the Miscarcand/Great Welkynd Stone subquest of the Main Quest; this will also fix existing saves.
Jauffre should no longer be prone to die before Baurus in the Defense of Bruma quest while the player is in the Great Gate (which is all that could be done as a bugfix, unfortunately; it's still difficult to keep both alive but each now has a similar chance of dying)
The Chorrol Fighters Guild Porter will now offer repair as all the others do
Corrected being able to invest in Karinnarre's shop (she is present at Novaroma in Bruma) even though only Suurootan there buys or sells anything; Karinnarre was buy/sell enabled but had no services package (except for one that ran when the player was least likely to shop... during the Bruma battle) or merchant container so it appears that this was a leftover


Missing/Superfluous Items
Added the missing Hackdirt Key to Natch Pinder, Jiv Hiriel and Marlena Brussiner
Added missing castle keys to one of the Skingrad Castle guards
Fixed Gan Luseph having a Bruma Chapel rather than Bruma Castle key
Added Jair's (IC Waterfront) missing key to his inventory
Gave Roderic Pierrane a copy of Metrick's House Key so that he isn't stuck outside her locked house when he visits her
Gave Manheim Maulhand (Inn of Ill Omen publican) a pair of pants as he only had greaves and publican duty removes armor, so he had nothing on below the waist
Gave a Bruma night patrol guard his missing pants, and a Chorrol Castle night guard pants, shirt and shoes as they were missing (though they would usually sleep in their armor)
Fixed one of the "thieves" in the Fighter's Guild Den of Thieves quest sometimes having no pants (missing greaves) whereas their ally had multiple sets
Gave the Imperial Legion Soldier at the Gottshaw Inn his missing helmet
Removed one of the night Battlemages' (IC Arcane University) shields as none of the others have one
Fixed a Leyawiin City Watch having a Silver Shortsword, whereas every other Imperial officer in the land has a longsword
Fixed two Legion soldiers who frequent inns (Weye and Gottshaw) missing their gauntlets (possibly intentional due to their drinking, but three others have them)
Fixed the Chorrol Countess' Bodyguard missing his helmet and shield
Fixed Rienna ending up with two Desolate Mine keys in the related Fighters Guild quest
Fixed Dorian (IC Talos Plaza) still having an endless amount of gold if repeatedly pickpocketed though this was indicated to be resolved by the 1.1.511 and later patches (no need for him to have this as he is not a shopkeeper nor are shopkeeper's gold stores set up in this way)
Fixed Bazur gro-Gharz (Cheydinhal) having an endless amount of Steel Arrows
Fixed Damian Magus (IC Waterfront) having an endless amount of Steel Maces and keys
Fixed Bernadette Peneles and David Surilie (Skingrad) having an endless amount of bread loaves, hoes and rakes
Fixed Hamlof Red-Tooth (Red Diamond Jewelry, IC Market District) missing his merchant container, causing him to wear clothing sold to him and bulking the savegame if many items were sold to him as his inventory never reset
Fixed Etira Moslin (Moslin's Dry Goods, Hackdirt) also having no merchant container (there was one but it was neglected to assign it to her properly)
Fixed Ormil (The Bloated Float, IC Waterfront) also having no merchant container; made the cupboard behind the bar his merchant container, locked it and assigned it to his key
Delphine Jend of the Bravil Mages Guild will no longer carry a dummy item in her inventory called " " which if picked up can become undroppable, or even crash the game to desktop.
Arena opponents in heavy armor will now carry Orcish (heavy) instead of Elven (light) shields for levels 10-14.
All Chorrol, three Leyawiin and three Skingrad day guards will no longer be missing their shields


Dialogue Fixes
Myvryna Arano will no longer use the "I've been looking for you." greeting when she hasn't been (only should be used when the player has been released from prison and she is delivering the note)
Imperial Legion members will no longer use the "murdering bastard" greeting on the player if the player's Infamy is one or less and the player is not a member of the Dark Brotherhood (the IsPCAMurdererFlag flag this checks can be set by accidentally hitting an ally in combat and then can't be cleared by any means without OBSE)
Fixed conditions on a Mages' Guild rumor so that Hannibal Traven doesn't talk about himself in the third-person
Ulrich Leland will no longer use the greeting "I don't know you, and I don't care to know you" on Cheydinhal guards (his subordinates)
Vicente Valtieri (Dark Brotherhood, Cheydinhal) will now only have the topic to cure vampirism if the player already has it, and selecting this topic will properly advance the vampirism cure quest.
Corrected conditions on many Fighter's Guild rumors that are intended to be overheard by the player but not said directly to them, or only said to the player if they are in the Guild
Gilgondorin (Silverhome-On-The-Water, Bravil) will no longer mention that the player should talk to Dro'shanji as he's seen strange creatures around his house (quest was never developed beyond this hint, being replaced with the unrelated Through A Nightmare, Darkly).
S'drassa (Leyawiin mages guild) will no longer have an "Invest 500 gold in this shop" option for an Expert in Mercantile player, as he doesn't buy or sell anything.
Four merchants (Calindil of the Mystic Emporium and Edgar Vautrine of Edgar's Discount Spells in the Imperial City Market District, Ernest Manis of the Foaming Flask in the Imperial City Talos Plaza, and Ungarion of A Warlock's Luck in Bravil) will now have their previously missing option to invest in their shop for an Expert in Mercantile player.
Khajiit will no longer use the greeting "To greet you? Or eat you?" to other Khajiit (including the player) nor Argonians the greetings "The prey approaches." or "Fresh game." to other Argonians.
Bravil residents (including Henantier himself!) will no longer talk about Henantier being missing after the quest Through a Nightmare, Darkly is completed.
Bravil residents will also not talk about seeing the Forlorn Watchman ghost after the associated quest is completed and the ghost is gone.
Imperial Battlemages at Arcane University will no longer call the player the "newest addition" if the player is the Arch-Mage.
Corrected conditions for Thamriel's dialog in the "Imperial City" topic so it appears for her instead of Elragail
Corrected conditions for one of Neville's dialogs in the Dark Brotherhood Whodunit quest which was checking if he was dead rather than Nels the Naughty
Corrected conditions on one of Vicente Valtieri's (Cheydinhal Sanctuary) goodbyes so that it appears for female players
Fixed conditions on the "Visit a prisoner" dialog topic for all Imperial jailors (except Skingrad) so that the player can't pick it again while already visiting a prisoner, which would cause the jailor to run off and unlock the already-unlocked door again