Page 1 of 1

airlift between team nations

Posted: Mon Jan 17, 2022 4:11 am
by Dino the Dinosore
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.

Re: airlift between team nations

Posted: Mon Jan 17, 2022 5:27 am
by cazfi
Dino the Dinosore wrote:But team nations can't ally.
They are considered always allied.

Re: airlift between team nations

Posted: Mon Jan 17, 2022 9:46 pm
by Dino the Dinosore
Tried it again and it worked - dunno why it didn't before.

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".

Re: airlift between team nations

Posted: Tue Jan 18, 2022 5:01 pm
by Ignatus
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".
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).

Re: airlift between team nations

Posted: Wed Jan 19, 2022 5:43 am
by Dino the Dinosore
Thanks, I didn't know that. So I don't need to have semi-duplicate action enablers like this -

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"
}
and only the "Alliance" one is needed?

Re: airlift between team nations

Posted: Fri Jan 21, 2022 3:04 pm
by Ignatus
Likely so.

Re: airlift between team nations

Posted: Sat Jan 22, 2022 2:07 am
by Dino the Dinosore
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?

Re: airlift between team nations

Posted: Mon Jan 24, 2022 9:06 am
by Ignatus
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?
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.