I have a question about how techs are rendered in the thechnology tree UI.
From what I've gathered from the other topics (viewtopic.php?p=589068&hilit=technology+order#p589068), this is roughly how techs are sorted:
- ordering by the required science packs (most expensive pack used)
- (if the same then) ordering by the technology-unit-cost (it completely ignores the time costs)
- (if the same then) ordering by the technology-order
- (if the same then) ordering by the technology-name
However, in this proof of concept mod, 2 techs are sorted in an order I cannot predict/modify via mod:
I would have expected "electric-weapons-damage-2" & "military-5" to be inverted in the graph (should have EWD-2 on the left of M-5), as they also are ordered correctly on the left side list..
The two techs are basically declared as:
Code: Select all
{
{
name = 'military-5',
order = 'b-b-a',
unit = { cost = 500, ingredients = { RGMBYW} },
},
{
name = 'electric-weapons-damage-2',
order = 'b-a-a',
unit = { cost = 500, ingredients = { RGMBYW } },
}
}
Thanks