units.ruleset behaviors: "nation_req"; "tech_req2"; "replaces"

What would you like to see in Freeciv? Do you have a good idea what should be improved or how?
User avatar
vodot
Veteran
Posts: 57
Joined: Thu May 17, 2018 4:54 pm

units.ruleset behaviors: "nation_req"; "tech_req2"; "replaces"

Postby vodot » Mon Jun 11, 2018 11:01 pm

I'm sure you already know what I'm getting at, but for modding we need a way to get nation- or at least trait-specific unique units further down the tech tree than level zero via init_tech. I think I can cheat with impr_req and init_buildings, but that will hardly be enough to get the AI to use the units correctly given the inevitable scenario where a UU and the unit it should replace are both able to be built simultaneously.