@Grey Roger
The Quests file looks like this:
My quests_reaction.c
void QuestComplete(string sQuestName)
{
ref PChar, NPChar, sld;
PChar = GetMainCharacter();
switch(sQuestName)
{
case "Start":
SetQuestHeader("Beginning");
AddQuestRecord("Beginning", "1");
CloseQuestHeader("Beginning");
if (GetMySimpleName(PChar) == "James Flint") GiveShip2Character(PChar,"Corvette4","Ship1",-1,PIRATE,true,true);
if (GetMySimpleName(PChar) == "Jack Throne") GiveShip2Character(PChar,"US_Interceptor","Ship2",-1,PIRATE,true,true);
break;
case "Officier":
DeleteAttribute(&Locations[FindLocation("Antigua_port")],"vcskip");
DeleteAttribute(&Locations[FindLocation("Grand Cayman_Tavern")],"vcskip");
DeleteAttribute(&Locations[FindLocation("Santiago_Tavern")],"vcskip");
DeleteAttribute(&Locations[FindLocation("Havana_Town_05")],"vcskip");
DeleteAttribute(&Locations[FindLocation("Redmond_Tavern")],"vcskip");
DeleteAttribute(&Locations[FindLocation("Charlestown_port")],"vcskip");
Locations[FindLocation("Eleuthera_tavern")].vcskip = true;
Locations[FindLocation("Turks_Tavern")].vcskip = true;
Locations[FindLocation("BC_Tavern")].vcskip = true;
break;
case "Alliance":
SetCompanionIndex(PChar, -1, GetCharacterIndex("Trafalgar D. Water Law"));
SetCompanionIndex(PChar, -2, GetCharacterIndex("Red-Hair Shanks"));
break;
PChar.questnotfound = true; // PB: Testing
}
}