NathanKell
...
Re: FDF. It is indeed coastraiders.
The problem is the code in setcoastaltraffic() will first set the ship to islandstr + "_port"; and only _then_ check islandstr and set the correct port for those that don't match (QC, Muelle, and FDF).
This way you get both the error message from the first call, and the correct functionality from the second.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->setCharacterShipLocation(cr, islandstr + "_port"); //ships in port, just eyecandy. Bugfix 04-11-03
if (islandstr == "QuebradasCostillas") {setCharacterShipLocation(cr,"QC_port")}
if (islandstr == "IslaMuelle") {setCharacterShipLocation(cr,"Muelle_port")}
if (islandstr == "FalaiseDeFleur") {setCharacterShipLocation(cr, "Falaise_de_fleur_port_01")}<!--c2--></div><!--ec2-->
Rewrote it as follows:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->switch(islandstr)
{
case "QuebradasCostillas": setCharacterShipLocation(cr,"QC_port"); break;
case "IslaMuelle": setCharacterShipLocation(cr,"Muelle_port"); break;
case "FalaiseDeFleur": setCharacterShipLocation(cr, "Falaise_de_fleur_port_01"); break;
setCharacterShipLocation(cr, islandstr + "_port"); // default case
}<!--c2--></div><!--ec2-->
Eventually I'll go back and pull port name from town, and put CR officers in town, and set fleet in town for IT.
The problem is the code in setcoastaltraffic() will first set the ship to islandstr + "_port"; and only _then_ check islandstr and set the correct port for those that don't match (QC, Muelle, and FDF).
This way you get both the error message from the first call, and the correct functionality from the second.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->setCharacterShipLocation(cr, islandstr + "_port"); //ships in port, just eyecandy. Bugfix 04-11-03
if (islandstr == "QuebradasCostillas") {setCharacterShipLocation(cr,"QC_port")}
if (islandstr == "IslaMuelle") {setCharacterShipLocation(cr,"Muelle_port")}
if (islandstr == "FalaiseDeFleur") {setCharacterShipLocation(cr, "Falaise_de_fleur_port_01")}<!--c2--></div><!--ec2-->
Rewrote it as follows:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->switch(islandstr)
{
case "QuebradasCostillas": setCharacterShipLocation(cr,"QC_port"); break;
case "IslaMuelle": setCharacterShipLocation(cr,"Muelle_port"); break;
case "FalaiseDeFleur": setCharacterShipLocation(cr, "Falaise_de_fleur_port_01"); break;
setCharacterShipLocation(cr, islandstr + "_port"); // default case
}<!--c2--></div><!--ec2-->
Eventually I'll go back and pull port name from town, and put CR officers in town, and set fleet in town for IT.