I've used the following code, in event which fires once at the start of the game:
Code:
JAP = {
add_equipment_to_stockpile = {
type = light_tank_equipment_1
amount = 50
producer = GER
}
}
The event fires, and equipment seemingly appears in the stockpile:
View attachment 206409
But it's not included in the stockpile breakdown:
View attachment 206410
and the division designer doesn't appear to be aware you now have foreign tanks in the stockpile that can be included in the division equipment, either:
View attachment 206413
The equipment is properly distributed to the units in training, though:
View attachment 206416
And once you deploy the unit, it appears in the 'equipment in field' window, as you'd expect:
View attachment 206417
(the division designer still doesn't show it as equipment option, though)