No Expose/Blackmail Against Player (Player Only)

If you liked this item, please rate it up on Steam Workshop page.

Author: Angel

Last revision: 9 Jan at 01:03 UTC

File size: 214.96 KB

On Steam Workshop

Description:
No Expose / Blackmail Against Player (Player Only)

This mod prevents any AI character from using the vanilla Blackmail and Expose Secret interactions against the currently player-controlled character.

All AI characters remain fully subject to vanilla rules and may continue to expose or blackmail each other normally.
Only interactions targeting the currently player-controlled character are blocked.

The mod is designed to be clean, minimal, and transparent, with a strict player-only scope.


What this mod does

• Blocks the vanilla Expose Secret interaction when the target is the player
• Blocks the vanilla Blackmail interaction when the target is the player
• AI ↔ AI interactions remain completely unchanged
• Player-initiated interactions remain unchanged
• When switching characters, protection automatically applies to the new player character (because the check is based on is_player)


How it works (technical overview)

This mod overrides ONLY these vanilla interaction definitions:
common/character_interactions/00_blackmail_interactions.txt
blackmail_interaction
common/character_interactions/00_character_interactions.txt
expose_secret_interaction

Implementation detail:
• A minimal guard is added so the interaction is not shown / cannot be sent if:
scope:recipient = { is_player = yes }

No other vanilla logic is altered.
No events, schemes, on_actions, or background systems are modified.


Features

• Player-only protection against Expose Secret and Blackmail
• AI behavior remains fully vanilla
• No events, no decisions, no schemes, no scripted systems added
• No UI clutter or popups
• Fully stable and save-game friendly
• Zero performance impact


Notes

• This mod affects ONLY the player character
• AI rulers can still expose and blackmail each other normally
• When switching characters, protection automatically follows the new player character
• The previously controlled character immediately returns to vanilla behavior
• Designed for maximum compatibility with other mods


Compatibility

• Generally compatible with most mods
• Load order matters if another mod also overrides:
– blackmail_interaction
– expose_secret_interaction
• Recommended: place this mod after any mod that changes blackmail/expose interactions, if you want this protection to win.


This mod is intended for players who want protection from forced intrigue mechanics without altering global balance, AI behavior, or autonomous systems.


If you find this mod useful, a 👍 or rating on the mod page is always appreciated and helps guide future development.

Created and maintained by Angel A. Țîru