Skip to content

Vendra35/REAI-Rational-Empire-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REAI: Rational Empire AI (EU5 Mod)

🔗 Check it out on Steam Workshop

Is the vanilla AI ruining your immersion by wasting its treasury on buildings in low-control provinces for 0 ROI, picking useless government reforms and estates privileges, relying entirely on peasant levies rather than a proper regular army, and creating horrific bordergore?

REAI (Rational Empire AI) is a comprehensive script-level overhaul that forces the AI to manage its empire like a calculating, logical state. By utilizing custom script injections and strict logic gates, this mod ensures the AI prioritizes a professional army of Regulars over weak levies, maintains a rock-solid manpower reserve, manages its government reforms optimally, and dictates clean, strategic expansion.

⏳ A Quick Heads-Up

REAI isn't a "magic buff" mod. It doesn't hand out free population or hidden tax cheats to the AI. In the first few decades, the AI is simply laying its foundation—revoking bad reforms and picking better ones.

The real snowball effect kicks in during the mid-to-late game. Bad AI nations will still fail, but the smart ones will slowly build a rock-solid economy and a battle-ready professional core. Give it time to cook.

🚀 Core Features

🏗️ Smart Economy & Infrastructure

  • Control-Based Building: AI refuses to waste money in low-control provinces, instead consolidating wealth in high-value heartlands.
  • Infrastructure Priority: Roads, Temples, Bridges, and Pound Lock Canals are prioritized.
  • Village-Tier Automation: Estates can now independently construct Village-tier buildings and essential infrastructure.
  • Treasury Management: Maintains a stable treasury and targets a healthy profit margin.

⚖️ Dynamic Government & Reforms

  • Age-Manager Bridge: AI prioritizes Crown Power and Tax Efficiency, selecting optimal reforms based on the current Age.
  • Auto-Clutter Removal: Removes outdated or inefficient reforms to free up slots for stronger upgrades.
  • Estate Logic: Smart privilege management maximizes crown power without destabilizing the nation.

⚔️ Strategic Warfare & Anti-Bordergore

  • Clean Borders: Strong preference for adjacent provinces (75x weight), avoiding nonsensical land grabs.
  • Regular Army Focus: AI maintains a higher ratio of professional regular troops instead of over-relying on peasant levies.
  • Strategic Military Balance: Calculates military needs based on actual tax base and manpower limits.
  • Focused Engagements: Actively consolidates military into main, powerful armies instead of splitting into vulnerable stacks.

🛡️ Advanced Stability & Anti-Bankruptcy

  • Bankruptcy Logic: Prioritizes long-term repayment (180 months), avoiding endless civil wars.
  • Satisfaction Safety Net: Uses Quadratic Utility (Quad=4) to refuse tax increases if estate satisfaction risks dropping below 25%.

🛠️ Compatibility & Technical Details

  • 1.3 Ready: Fully compatible with the latest EU5 updates.
  • Conflict-Free: Uses modular injection to safely override vanilla weights.
  • Save Compatible: Works with ongoing saves (fresh start recommended).

📦 My Other Mods

About

REAI (Rational Empire AI) is a comprehensive script-level overhaul that forces the AI to manage its empire like a calculating, logical state.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors