Ok, this is fairly convoluted, but is there a way out of it?
From the beginning.
Tunisia is allied with Tripoli and Morocco and declares war on Algiers "Tunisian conquest of Laghwat" (Algiers vs Tunisia*, Tripoli and Morocco)
Morocco is allied with Tunisia and Granada, I declare war on Morocco "Castilian conquest of Melilla" (Castile*, Portugal, and Navarre vs Morocco*, Tunisia and Granada)
I make separate peaces annexing Granada and vassalizing Tunisia. I do not inherit Tunisia's war vs Algiers because Algiers and I are both at war with Morocco. I make peace with Morocco.
Algiers makes separate peace with Morocco. The Tunisian conquest with Tunisia and Tripoli vs Algiers is still ongoing even though Tunisia is my vassal. I declared war on and then (after taking Oran) made peace with Algiers but that had no effect on the war that my vassal is apparently stuck in. Any ideas on how to end this war?
From the beginning.
Tunisia is allied with Tripoli and Morocco and declares war on Algiers "Tunisian conquest of Laghwat" (Algiers vs Tunisia*, Tripoli and Morocco)
Morocco is allied with Tunisia and Granada, I declare war on Morocco "Castilian conquest of Melilla" (Castile*, Portugal, and Navarre vs Morocco*, Tunisia and Granada)
I make separate peaces annexing Granada and vassalizing Tunisia. I do not inherit Tunisia's war vs Algiers because Algiers and I are both at war with Morocco. I make peace with Morocco.
Algiers makes separate peace with Morocco. The Tunisian conquest with Tunisia and Tripoli vs Algiers is still ongoing even though Tunisia is my vassal. I declared war on and then (after taking Oran) made peace with Algiers but that had no effect on the war that my vassal is apparently stuck in. Any ideas on how to end this war?