* Fixes rare, chance-based errors with other mods that edit NPC code
** For Players: This prevents certain random crashes while sleeping, especially after selling many items to Pierre or Willy
** For Modders: This prevents null return values from "Utility.getRandomTownNPC" (e.g. due to Harmony patches) and removes null items within "Game1.UpdateShopPlayerItemInventory"
** Fixed with help from atravita and glymr
Designed for Stardew Valley v1.5.6.
Version 1.4.0
* Calendar: Excludes the NPC's birthday from being displayed on calendars
* Fixes a freezing error that could happen if custom NPCs don't have dialogue assets
** NPCs without a Characters/Dialogue/<NPC name> asset are now automatically excluded from island resort visits (checked during a SMAPI DayStarted event)
Designed for Stardew Valley v1.5.6.
Version 1.3.0
* Adds the "MovieInvite" setting to exclude NPCs from being invited to the movie theater
** Trying to invite an excluded NPC will display text from the `Strings/Characters` asset. The key "MovieInvite_CantInvite_NPCName" will be used if available; if not, "MovieInvite_CantInvite" will be used instead.
* Adds the "Greet" and "BeGreeted" settings to exclude NPCs from saying "hello" to other NPCs while traveling
* Fixes an issue where the "PerfectFriend" setting accidentally edited `Data/NPCDispositions`, which hid NPCs from the social menu and caused other odd behavior
** Reported and diagnosed by SwiftSails
* Fixes an issue where "IslandVisit" saw incorrect data when Content Patcher conditions are used, which caused blank NPC schedules or mistimed island visits
Designed for Stardew Valley v1.5.4.
Version 1.2.0
* Adds a setting to exclude NPCs from the "perfection score" maximum friendship check
** Requested by Corrin, tested by Corrin and Gervig91
* Fixes a formatting error that was preventing SMAPI's update checks for this mod
Designed for Stardew Valley v1.5.2.
Version 1.1.0
* Adds the "IslandVisit" exclusion for NPC content added in SDV v1.5.0
Custom NPC Exclusions allows other mods to exclude NPCs from certain quests and events, especially those that randomly select NPCs. This can be useful for story or compatibility reasons, e.g. to prevent custom NPCs outside Pelican Town posting delivery quests, saying they purchased items from the local stores, etc.
Installation
1. Install the latest version of SMAPI. 2. Download Custom NPC Exclusions from the Files tab, the Releases page on GitHub, or ModDrop. 3. Unzip Custom NPC Exclusions into the Stardew Valley/Mods folder.
Mods that use Custom NPC Exclusions should now work correctly. For information about creating mods, see the GitHub readme.
Multiplayer note:
It is recommended that all players install this mod for multiplayer sessions. There are no known issues directly related to this mod, but NPC-related mods can cause unexpected errors if mismatched.
Credits This mod was commissioned by FlashShifter for use with Stardew Valley Expanded's custom NPCs!