convoyAttached - Resolved -



  • Please confirm my rewrite is correct:

    At least one territory in the list must be owned by a friendly to collect income from the "attachTo" territory.
    The list may be empty if this territory does not require any other territories but is required by other territory.
    See the context section below, Sea zone 5 is part of the convoyRoute of Norway (Norway has it listed under convoyAttached), so Sea zone 5 must have convoyRoute = true
    Sea zone 5 has an income of 2 for Germany, but it does not Require ownership of another territory in order to get the income, so convoyAttached is blank.

    <attachment name="territoryAttachment" attachTo="5 Sea Zone" javaClass="TerritoryAttachment" type="territory">
    <option name="production" value="2"/>
    <option name="convoyRoute" value="true"/>
    <option name="convoyAttached" value=""/>
    ...
    </attachment>
    ...
    <attachment name="territoryAttachment" attachTo="Norway" javaClass="TerritoryAttachment" type="territory">
    <option name="production" value="3"/>
    <option name="convoyRoute" value="true"/>
    <option name="convoyAttached" value="5 Sea Zone:6 Sea Zone"/>
    ...
    </attachment>