Summary
Implement a formal war declaration system that goes beyond simply setting enemy relations. Wars should be structured events with objectives, victory conditions, costs, and rewards.
Features
War Declaration
/f war declare <faction> — Initiate a formal war (requires leader/officer)- War declaration fee deducted from treasury (
TransactionType.WAR_COST already exists) - Target faction receives notification with option to prepare
- Optional war declaration cooldown (configurable)
War Mechanics
- Objectives: Configurable victory conditions (e.g., destroy core block, capture territory, reach kill count)
- Victory conditions: First to complete objectives, or highest score when timer expires
- War end conditions: Surrender, timer expiration, objectives met, mutual agreement
- War costs: Initial declaration fee, ongoing resource drain (optional)
War Statistics
- Track kills, deaths, territory captured/lost during war
- War history log per faction
- Display active wars in faction info/GUI
Commands
/f war declare <faction> — Start a war/f war surrender — Surrender current war/f war status — View active war details/f war history — View past wars
GUI
- War page in Modules section (currently shows "Coming Soon" placeholder)
- Active war dashboard with live stats
- War history browser
Existing Infrastructure
TransactionType.WAR_COST — Already defined for war feesRelationType.ENEMY — Already handles enemy relations- GUI placeholder in
FactionModulesPage
Origin
Roadmap Phase E.5.
Summary
Implement a formal war declaration system that goes beyond simply setting enemy relations. Wars should be structured events with objectives, victory conditions, costs, and rewards.
Features
War Declaration
/f war declare <faction>— Initiate a formal war (requires leader/officer)TransactionType.WAR_COSTalready exists)War Mechanics
War Statistics
Commands
/f war declare <faction>— Start a war/f war surrender— Surrender current war/f war status— View active war details/f war history— View past warsGUI
Existing Infrastructure
TransactionType.WAR_COST— Already defined for war feesRelationType.ENEMY— Already handles enemy relationsFactionModulesPageOrigin
Roadmap Phase E.5.