Feature #634 ยป 0020-granularity-Replace-UnitFlag-with-UnitTypeFlag.patch
| data/granularity/actions.ruleset | ||
|---|---|---|
|
action = "Establish Embassy Stay"
|
||
|
actor_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitFlag", "Diplomat", "Local", TRUE
|
||
|
"UnitTypeFlag", "Diplomat", "Local", TRUE
|
||
|
"UnitState", "OnLivableTile", "Local", TRUE
|
||
|
"MinMoveFrags", "1", "Local", TRUE
|
||
|
"DiplRel", "Foreign", "Local", TRUE
|
||
| ... | ... | |
|
action = "Bribe Unit"
|
||
|
actor_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitFlag", "Diplomat", "Local", TRUE
|
||
|
"UnitTypeFlag", "Diplomat", "Local", TRUE
|
||
|
"Tech", "Currency", "Player", TRUE
|
||
|
"DiplRel", "Alliance", "Local", FALSE
|
||
|
"DiplRel", "Team", "Local", FALSE
|
||
| ... | ... | |
|
action = "Found City"
|
||
|
actor_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitFlag", "Cities", "Local", TRUE
|
||
|
"UnitTypeFlag", "Cities", "Local", TRUE
|
||
|
"UnitState", "OnLivableTile", "Local", TRUE
|
||
|
"MinMoveFrags", "5", "Local", TRUE
|
||
|
"Gov", "Tribal", "Player", TRUE
|
||
| ... | ... | |
|
action = "Found City"
|
||
|
actor_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitFlag", "Cities", "Local", TRUE
|
||
|
"UnitTypeFlag", "Cities", "Local", TRUE
|
||
|
"UnitState", "OnLivableTile", "Local", TRUE
|
||
|
"MinMoveFrags", "5", "Local", TRUE
|
||
|
"Gov", "Despotism", "Player", TRUE
|
||
| ... | ... | |
|
action = "Found City"
|
||
|
actor_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitFlag", "Cities", "Local", TRUE
|
||
|
"UnitTypeFlag", "Cities", "Local", TRUE
|
||
|
"UnitState", "OnLivableTile", "Local", TRUE
|
||
|
"MinMoveFrags", "5", "Local", TRUE
|
||
|
"Gov", "Monarchy", "Player", TRUE
|
||
| ... | ... | |
|
[enabler_cultivate]
|
||
|
action = "Cultivate"
|
||
|
actor_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitFlag", "Workers", "Local", TRUE
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitTypeFlag", "Workers", "Local", TRUE
|
||
|
}
|
||
|
[enabler_plant]
|
||
|
action = "Plant"
|
||
|
actor_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitFlag", "Workers", "Local", TRUE
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitTypeFlag", "Workers", "Local", TRUE
|
||
|
}
|
||
|
[enabler_deboard]
|
||
| ... | ... | |
|
action = "Bombard 2"
|
||
|
actor_reqs =
|
||
|
{ "type", "name", "range"
|
||
|
"UnitFlag", "Bombarder", "Local"
|
||
|
"UnitTypeFlag", "Bombarder", "Local"
|
||
|
"MinMoveFrags", "5", "Local"
|
||
|
}
|
||
| ... | ... | |
|
action = "Surgical Strike Building"
|
||
|
actor_reqs =
|
||
|
{ "type", "name", "range"
|
||
|
"UnitFlag", "Bombarder", "Local"
|
||
|
"UnitTypeFlag", "Bombarder", "Local"
|
||
|
"MinMoveFrags", "5", "Local"
|
||
|
}
|
||
| ... | ... | |
|
actor_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitClassFlag", "CanOccupyCity", "Local", TRUE
|
||
|
"UnitFlag", "NonMil", "Local", FALSE
|
||
|
"UnitTypeFlag", "NonMil", "Local", FALSE
|
||
|
"DiplRel", "War", "Local", TRUE
|
||
|
"MinMoveFrags", "1", "Local", TRUE
|
||
|
"Gov", "Tribal", "Player", TRUE
|
||
| ... | ... | |
|
actor_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitClassFlag", "CanOccupyCity", "Local", TRUE
|
||
|
"UnitFlag", "NonMil", "Local", FALSE
|
||
|
"UnitTypeFlag", "NonMil", "Local", FALSE
|
||
|
"DiplRel", "War", "Local", TRUE
|
||
|
"MinMoveFrags", "1", "Local", TRUE
|
||
|
"Gov", "Despotism", "Player", TRUE
|
||
| ... | ... | |
|
actor_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitClassFlag", "CanOccupyCity", "Local", TRUE
|
||
|
"UnitFlag", "NonMil", "Local", FALSE
|
||
|
"UnitTypeFlag", "NonMil", "Local", FALSE
|
||
|
"DiplRel", "War", "Local", TRUE
|
||
|
"MinMoveFrags", "1", "Local", TRUE
|
||
|
"Gov", "Monarchy", "Player", TRUE
|
||
| ... | ... | |
|
"MinMoveFrags", "1", "Local"
|
||
|
}
|
||
|
target_reqs =
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitFlag", "Defenseless", "Local", TRUE
|
||
|
"UnitState", "Transporting", "Local", FALSE
|
||
|
"CityTile", "Center", "Tile", FALSE
|
||
|
{ "type", "name", "range", "present"
|
||
|
"UnitTypeFlag", "Defenseless", "Local", TRUE
|
||
|
"UnitState", "Transporting", "Local", FALSE
|
||
|
"CityTile", "Center", "Tile", FALSE
|
||
|
}
|
||
|
[enabler_capture_bounty_hunter]
|
||
| data/granularity/effects.ruleset | ||
|---|---|---|
|
type = "Unit_Vision_Radius_Sq"
|
||
|
value = 5
|
||
|
reqs =
|
||
|
{ "type", "name", "range"
|
||
|
"Achievement", "Master Explorer", "Player"
|
||
|
"UnitFlag", "Explorer", "Local"
|
||
|
{ "type", "name", "range"
|
||
|
"Achievement", "Master Explorer", "Player"
|
||
|
"UnitTypeFlag", "Explorer", "Local"
|
||
|
}
|
||
|
[effect_base_unit_upkeep]
|
||
| ... | ... | |
|
"CityTile", "Center", "Tile", TRUE
|
||
|
"Activity", "Fortified", "Local", FALSE
|
||
|
"UnitClassFlag", "CanFortify", "Local", TRUE
|
||
|
"UnitFlag", "Cant_Fortify", "Local", FALSE
|
||
|
"UnitTypeFlag", "Cant_Fortify", "Local", FALSE
|
||
|
}
|
||
|
[effect_base_regen]
|
||