Multiple Canals
-
For some reason I can't create both Bosphorus and Dardanelles for example in here German destroyers cannot enter Sea of Marmara or Black Sea from Aegean Sea because Bursa is being controlled by Russia. However they can enter Sea of Marmara from the Black Sea which is the issue.
Could anybody explain how to solve the issue?
-
@schulz
Ideally you need to show your code, but from a similar map the below might help. You will need another set of paired code for the other canal.
The landTerritories will be the same in both pairs,
The new canal pair will need a new name, just treat it like another canal.<attachment name="canalAttachmentThe Sea of Propontis" attachTo="Sea Zone 7" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory"> <option name="canalName" value="The Sea of Propontis"/> <option name="landTerritories" value="Thrace:Mysia"/> </attachment> <attachment name="canalAttachmentThe Sea of Propontis" attachTo="Sea Zone 8" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory"> <option name="canalName" value="The Sea of Propontis"/> <option name="landTerritories" value="Thrace:Mysia"/> </attachment>
-
Thank you. Worked now.
<attachment name="canalAttachment4" attachTo="SZ 67" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory">
<option name="canalName" value="Dardanelles Canal"/>
<option name="landTerritories" value="Constantinople:Bursa"/>
</attachment><attachment name="canalAttachment4" attachTo="SZ 84" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory">
<option name="canalName" value="Dardanelles Canal"/>
<option name="landTerritories" value="Constantinople:Bursa"/>
</attachment><attachment name="canalAttachment5" attachTo="SZ 84" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory">
<option name="canalName" value="Bosphorus Canal"/>
<option name="landTerritories" value="Constantinople:Bursa"/>
</attachment><attachment name="canalAttachment5" attachTo="SZ 88" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory">
<option name="canalName" value="Bosphorus Canal"/>
<option name="landTerritories" value="Constantinople:Bursa"/>
</attachment>