INI section includes / section templates

Registered by Renegade

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

[PsychicJabE]:[PsychicJab]
Damage=30
Range=6

PsychicJabE would include all keys from PsychicJab, then override Damage and Range.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Drafting
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.