Project

General

Profile

Feature #1635 » 0062-granularity-Add-Attack-action-enabler.patch

main, S3_3 - Marko Lindqvist, 07/29/2025 03:40 AM

View differences:

data/granularity/actions.ruleset
; 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
......
"TerrainFlag", "NoCities", "Tile", FALSE
}
[enabler_attack_from_native]
action = "Attack"
actor_reqs =
{ "type", "name", "range", "present"
"UnitTypeFlag", "NonMil", "Local", FALSE
"MinMoveFrags", "1", "Local", TRUE
"UnitState", "OnNativeTile", "Local", TRUE
"DiplRel", "War", "Local", TRUE
}
[enabler_cultivate]
action = "Cultivate"
actor_reqs =
(1-1/2)