From 6b83b5a90997953783d2e775e5fbe1352e1a1d44 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Tue, 29 Jul 2025 03:40:13 +0300
Subject: [PATCH 25/25] granularity: Add "Attack" action enabler

See RM #1635

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 data/granularity/actions.ruleset | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/data/granularity/actions.ruleset b/data/granularity/actions.ruleset
index 2c9c819b5b..f1a8ee81da 100644
--- a/data/granularity/actions.ruleset
+++ b/data/granularity/actions.ruleset
@@ -51,7 +51,11 @@ bribe_unit_post_success_forced_actions = "Unit Move"
 ; Actor units will - under certain circumstances - be forced to try
 ; performing the following actions in the specified order after successfully
 ; performing "Attack".
-attack_post_success_forced_actions = "Unit Move"
+attack_post_success_forced_actions = "Transport Disembark",
+                                     "Conquer Extras",
+                                     "Enter Hut",
+                                     "Frighten Hut",
+                                     "Unit Move"
 
 ; Actor units will - under certain circumstances - be forced to try
 ; performing the following actions in the specified order after successfully
@@ -297,6 +301,16 @@ target_reqs   =
       "TerrainFlag","NoCities","Tile",FALSE
     }
 
+[actionenabler_attack_from_native]
+action        = "Attack"
+actor_reqs    =
+    { "type",         "name",         "range", "present"
+      "UnitFlag",     "NonMil",       "Local", FALSE
+      "MinMoveFrags", "1",            "Local", TRUE
+      "UnitState",    "OnNativeTile", "Local", TRUE
+      "DiplRel",      "War",          "Local", TRUE
+    }
+
 [actionenabler_cultivate]
 action        = "Cultivate"
 actor_reqs    =
-- 
2.47.2

