-
Notifications
You must be signed in to change notification settings - Fork 33
ini section includes section templates
This specification was automatically generated from a feature request imported into Ares's LaunchPad bugtracker. If you are interested in fleshing out this feature, please update this page.
Sometimes you need to create multiple sections that contain largely the same keys and values, causing a lot of copy & paste work and making INIs large as hell. You see that a lot throughout INI files, in fact, it applies to most units.
I would like to introduce a possibility to make a section "include" another, so that the latter serves as a template to the former. All keys defined in the template section would be copied to the using section.
This would, of course, only be possible if the template section has been defined before.
As for the semantics, I'm thinking of the following example: [PsychicJab] Damage=25 ROF=15 Range=4.5 Projectile=InvisibleLow Speed=100 Warhead=SAFlame Report=InitiateAttack OccupantAnim=UCINIT OpenToppedAnim=GUNFIRE
Damage=30 Range=6
PsychicJabE would include all keys from PsychicJab, then override Damage and Range.
- This needs to be filled by a supporter/drafter of this specification.
- This needs to be filled by a supporter/drafter of this specification.