Comment 1 for bug 895535

Revision history for this message
Renegade (renegade) wrote :

Don't the arrays enumerate automatically anyway?
If I place

[InfantryTypes]
BATMAN=BATMAN
SUPERMAN=SUPERMAN
IRONMAN=IRONMAN
doesn't the game convert it to
[InfantryTypes]
0=BATMAN
1=SUPERMAN
2=IRONMAN
anyway?

With that in mind, there is really no big difference between pressing "+" once, and holding down random keys for random amounts of time.
I'll be just as quick typing
[InfantryTypes]
+=BATMAN
+=SUPERMAN
+=IRONMAN
as I'll be typing
[InfantryTypes]
qqqq=BATMAN
aaa=SUPERMAN
vvvvvvvvv=IRONMAN

If you do want to simplify listing, would it not be more efficient and more of an actual change to change the recognition pattern to something like ^([^;\s]+), that is, simply allow lists like
[InfantryTypes]
BATMAN
SUPERMAN ; this is a comment and should not be recognized
IRONMAN
?

Strikes me as a better ideal to strive for. *shrugs*