void StartStoryLine()
{
ref PChar = GetMainCharacter();
string loadPort = "Santiago_Port";
sTeleportLocName = "Santiago_Port";
// KK -->
string rldGroup = "reload";
string rldLocator = "reload1_back";
GiveItem2Character(Pchar, "bladeX4"); // PB: Gives you your fists
TakeNItems(PChar, "blade1", 1);
TakeNItems(PChar, "medical1", 2); // PB
if (ENABLE_AMMOMOD)
{
TakeNItems(PChar, "gunpowder", 6);
TakeNItems(PChar, "pistolbullets", 6);
}
//JRH ammo mod <--
TakeNItems(PChar, "clock1",1); // SJG
TakeNItems(PChar, "compass3",1); //SJG
EquipCharacterbyItem(Pchar, "blade1");
EquipCharacterbyItem(PChar, "clock1"); // SJG
EquipCharacterbyItem(PChar, "compass3"); //SJG
// <-- KK
// SJG -->
PChar.nation=Spain;
string BOARDERMODEL = "Marines";
bool FOOD_ON = false;
PChar.professionalnavy = true; // LDH 18Apr09
// <-- SJG
Reinit_KhaelRoa();
//================================| BEGINNING QUESTS |================================//
//El Patron
PChar.quest.Start = "";
PChar.quest.Start.win_condition.l1 = "location";
PChar.quest.Start.win_condition.l1.character = PChar.id;
PChar.quest.Start.win_condition.l1.location = "Santiago_Port";
PChar.quest.Start.win_condition = "Start";
//El Patron
//Tortuga Atmosphere
PChar.quest.Tortuga_atmosphere.win_condition.l1 = "location";
PChar.quest.Tortuga_atmosphere.win_condition.l1.character = PChar.id;
PChar.quest.Tortuga_atmosphere.win_condition.l1.location = "Tortuga_port";
PChar.quest.Tortuga_atmosphere.win_condition = "Tortuga_atmosphere";
//Tortuga Atmosphere
// PB: Isla de Muerte -->
PChar.quest.Muerte = "";
PChar.quest.Muerte_start.win_condition.l1 = "location";
PChar.quest.Muerte_start.win_condition.l1.character = PChar.id;
PChar.quest.Muerte_start.win_condition.l1.location = "Tortuga_tavern";
PChar.quest.Muerte_start.win_condition = "Muerte_start";
// PB: Isla de Muerte <--
//===============================| QUESTS SECTION END |===============================//
ReloadProgressUpdate();
AllDaysCount = 1;//MAXIMUS: calculates days amount (updating in calendar.c)
PChar.newGameStart = true;//MAXIMUS: for adding new locators
worldMap.playerShipX = 404.2; // Philippe: ship stays near island even
worldMap.playerShipZ = -785.8; // if you must go on worldmap first time
worldMap.playerShipAY = 3.0;
worldMap.playerShipActionRadius = 20.0;
worldMap.playerShipDispX = stf(worldMap.playerShipX) - stf(worldMap.islands.Cuba.position.rx);
worldMap.playerShipDispZ = stf(worldMap.playerShipZ) - stf(worldMap.islands.Cuba.position.rz);
LoadMainCharacterInFirstLocation(sTeleportLocName, rldGroup, rldLocator, loadPort); // KK
// Modify Default Relations
SetRank(pchar, ENGLAND, 5); // none
SetActualRMRelation(FRANCE, REL_WAR); // Same as England
SetActualRMRelation(HOLLAND, REL_WAR); // Same as England
SetActualRMRelation(AMERICA, REL_WAR); // Same as England
SetActualRMRelation(SPAIN, REL_WAR); // Same as England
}