Adding new flavors

PawelS

Ancient Druid
Joined
Dec 11, 2003
Messages
2,811
Location
Poland
If I add a new flavor to the Flavors table, and assign it to various things like leaders, units, buildings, AI strategies etc., will it work?
 
I did it and it seems to work, at least it appears in the AI log files. Anyone used new flavors in a mod?
 
Never tried it myself, although I was planning to add a new Flavor once the expansion comes out, since I've been using FLAVOR_RELIGION for a lot of my Mythology content and presumably that flavor's going to be used for a lot of expansion stuff. From what I've seen, it's one of the few non-item tables (as in, not Units, Buildings, Technologies, etc.) that doesn't rely on an intermediate Lua table like TerrainTypes or something similar. So, the only problem I'd think you'd have is that the existing Leaders wouldn't have a Flavor bias for your new Flavor; the biases default to zero, presumably, but 5 is the actual baseline value, so you'd want to add an entry for each leader, including any DLC ones.
 
Thanks for the information, my mod is a total conversion with new leaders, so it's not a problem for me.
 
Back
Top Bottom