If you take a trade quest, there is a significant chance that the destination is a Pirate colony. The attached version of "PROGRAM\QUESTS\quests_common.c" reduces that chance. Function "GenerateNationTrade" picks a random nation, and in this version, if it picks PIRATES, it tries again. It only tries once more, it does not block PIRATES entirely, partly because the occasional quest to a pirate port is amusing but mainly because allowing pirate destinations is a safety net in case it can't find a friendly, non-pirate nation. So, for example, if you take a trade quest from a British store during normal relations, valid nations are Britain, Holland, Portugal and Pirate, giving Pirate a 1/4 chance. With the retry, that becomes 1/16.