Hello,
This is a specific question regarding usage of the new enums.
On the faction.json, for each entry there is a field called: "IsPirate" : false
DataDrivenEnumNotes further specifies that 'The notes on IsGreatHouse, IsClan, IsMercenary, IsPirate: Not really used by HBS, but it could be useful to modders who need to select a random Merc unit.'
So my question is, if I define a number of factions as 'isPirate': true, could I then replace this:
If it's possible, this would really be useful because I currently have about 12 pirate factions 
This is a specific question regarding usage of the new enums.
On the faction.json, for each entry there is a field called: "IsPirate" : false
DataDrivenEnumNotes further specifies that 'The notes on IsGreatHouse, IsClan, IsMercenary, IsPirate: Not really used by HBS, but it could be useful to modders who need to select a random Merc unit.'
So my question is, if I define a number of factions as 'isPirate': true, could I then replace this:
"RequirementComparisons" : [
{
"obj" : "Target.AuriganPirates",
"op" : "Equal",
"val" : 0,
"valueConstant" : null
},
{
"obj" : "Target.CapellanPirates",
"op" : "Equal",
"val" : 0,
"valueConstant" : null
},
{
"obj" : "Target.ClusterPirates",
"op" : "Equal",
"val" : 0,
"valueConstant" : null
}
]
With this?{
"obj" : "Target.AuriganPirates",
"op" : "Equal",
"val" : 0,
"valueConstant" : null
},
{
"obj" : "Target.CapellanPirates",
"op" : "Equal",
"val" : 0,
"valueConstant" : null
},
{
"obj" : "Target.ClusterPirates",
"op" : "Equal",
"val" : 0,
"valueConstant" : null
}
]
RequirementComparisons" : [
{
"obj" : "Target.IsPirate",
"op" : "Equal",
"val" : 0,
"valueConstant" : null
}
]
{
"obj" : "Target.IsPirate",
"op" : "Equal",
"val" : 0,
"valueConstant" : null
}
]