They do enumerate automatically, but you still need to have unique value on the left hand side. Which can be a problem or at least a complication when [#include] comes into play. Just yesterday pd tripped over this himself -
;rules
[#include]
000=rules_General.ini
; stuff
100=rules_Sides.ini
; stuff
; rules_Side_Soviet.ini
;Soviet stuff
[#include]
0=rules_Side_Soviet_Infantry.ini
1=rules_Side_Soviet_Vehicles.ini
2=rules_Side_Soviet_Aircraft.ini
3=rules_Side_Soviet_Buildings.ini
.... oops, the [#include] entries in Soviet overwrote those in Sides. The idea itself is good, I just don't want to code it myself.
They do enumerate automatically, but you still need to have unique value on the left hand side. Which can be a problem or at least a complication when [#include] comes into play. Just yesterday pd tripped over this himself - General. ini
;rules
[#include]
000=rules_
; stuff
100=rules_Sides.ini
; stuff
;rules_Sides.ini Side_Soviet. ini Side_Allied. ini Side_Yuri. ini Side_Other. ini
[#include]
0=rules_
1=rules_
2=rules_
3=rules_
; rules_Side_ Soviet. ini Side_Soviet_ Infantry. ini Side_Soviet_ Vehicles. ini Side_Soviet_ Aircraft. ini Side_Soviet_ Buildings. ini
;Soviet stuff
[#include]
0=rules_
1=rules_
2=rules_
3=rules_
.... oops, the [#include] entries in Soviet overwrote those in Sides. The idea itself is good, I just don't want to code it myself.