airlift between team nations
Posted: Mon Jan 17, 2022 4:11 am
In 3.0 you can airlift to/from allies, if airliftingstyle allows it. But team nations can't ally. Would like to be able to airlift to/from team nations.
Freeciv - because civilization should be free!
http://forum.freeciv.org/f/
They are considered always allied.Dino the Dinosore wrote:But team nations can't ally.
But in a game where there are present both teams and alliances you may allow teams some more options than you give to alliances. And any req set for "Alliance" will also work for any teamed nations unless coupled with a negative req of "Team" range (so, Player<Team<Alliance<World).Dino the Dinosore wrote:Tangent - "DiplRel" req has separate values for "Alliance" and "Team", which means you have to have annoying almost duplicated action enablers. If teams are always considered allied, should be no need for the separate value "Team".
Code: Select all
[actionenabler_017]
action="Help Wonder"
actor_reqs={"type","name","range","present"
"UnitFlag","HelpWonder","Local",TRUE
"DiplRel","Alliance","Local",TRUE
}
target_reqs={"type","name","range"
"BuildingGenus","GreatWonder","Local"
}
[actionenabler_0017]
action="Help Wonder"
actor_reqs={"type","name","range","present"
"UnitFlag","HelpWonder","Local",TRUE
"DiplRel","Team","Local",TRUE
}
target_reqs={"type","name","range"
"BuildingGenus","GreatWonder","Local"
}
Ah, sorry, I made a mistake. "Team" is a subset of "Alliance" as a range of requirements (of any kind, not necessary "DiplRel"). The "name" component of "DiplRel" requirement does not act this way but makes the requirement fulfilled for a given pair of players (set of such pairs depends on the requirements' range) for exactly this diplomatic relation. Probably, nothing to fix here.Dino the Dinosore wrote:Tested and found that you do need both action enablers. So "DiplRel" req value of "Alliance" isn't true for teams. Is it worth filing an enhancement request ticket?