I have a fair bit of experience modding other games (Skyrim, DCS, Far Cry, etc...) and I'm now starting to dabble in BattleTech. I have a question regarding the game's JSON files. Is it possible to declare a dynamic string? If so, how? In pseudo code what I want to do would look something like this...
my_dynamic_string {
and then elsewhere in the JSON have...if (condition A met) return "String A"
else if (condition B met) return "String B"
else return "String C"
}
else if (condition B met) return "String B"
else return "String C"
}
string_variable = my_dynamic_string
...would set string_variable to option A, B, or C as appropriate. If someone here could point me in the right direction it would be much appreciated.