New tag for the new kennel logic

Registered by YR M0ddEr

The new kennel logic is the BuiltAt tags...
So if I want a unit to come out of a specific war factory, I would have to put BuiltAt on every unit for that side(or entire mod) to make sure no other unit will come out of that war factory, which is annoying if you as me.

Current way:

[NEWUNIT]
BuiltAt=NEWFACTORY

[OLDUNIT1]
BuiltAt=GAWEAP

[OLDUNIT2]
BuiltAt=GAWEAP

[OLDUNIT3]
BuiltAt=GAWEAP

...List goes on

This is very annoying and not efficient.

What I suggest is a new tag to make stuff easier: IsAlternativeFactory= boolean
If a war factory have this tag set to yes, it would not allow any unit to be built from it unless the unit have BuiltAt=ITS NAME.
It would work like this:

[NEWFACTORY]
IsAlternativeFactory=yes

[NEWUNIT]
BuiltAt=NEWFACTORY

[OLDUNIT1]
//No change required

[OLDUNIT2]
//No change required

[OLDUNIT3]
//No change required

Blueprint information

Status:
Complete
Approver:
None
Priority:
Low
Drafter:
YR M0ddEr
Direction:
Approved
Assignee:
AlexB
Definition:
Approved
Series goal:
Accepted for 0.2
Implementation:
Implemented
Milestone target:
milestone icon 0.2-rc1
Started by
AlexB
Completed by
AlexB

Related branches

Sprints

Whiteboard

The v02 branch contains a new tag called "Factory.ExplicitOnly" (boolean, defaulting to 'no'), If set to 'yes', a factory [FACT] will only build units that have "BuiltAt=FACT" set explicitly.

Works perfect! Thanks for this.
Tested with BuiltAt(infantry, vehicles and aircraft types) - YR M

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.