case "to_secret_oxbay_shore_complete":
LAi_SetActorType(characterFromID("danielle"));
LAi_type_actor_Reset(characterFromID("danielle"));
LAi_LocationFightDisable(&locations[FindLocation("Quest_Residence")], true);
PlaceCharacter(characterFromID("danielle"), "goto");
LAi_ActorDialog(characterFromID("Danielle"), pchar, "", 5.0, 0);
break;
case "to_secret_oxbay_shore_complete2":
LAi_type_actor_Reset(characterFromID("danielle"));
LAi_ActorDialog(characterFromID("Danielle"), pchar, "", 5.0, 0);
break;
case "both_to_residence_complete":
pchar.quest.main_line = "both_to_redmond_residence";
StorePassengers(pchar.id);
LAi_SetOfficerType(characterFromID("Danielle"));
// LDH - 10Apr09
LAi_SetActorType(characterFromID("robert christopher silehard")); // prevents errors in LAi_ActorDialog()
// LAi_SetLoginTime(characterFromID("robert christopher silehard"), 0.0, 24.0); // makes Silehard appear in bedroom
// LAi_RemoveLoginTime(characterFromID("robert christopher silehard")); // suggested by SJG
ChangeCharacterAddress(characterFromID("Robert Christopher Silehard"), "Quest_residence", "goto6");
Locations[FindLocation("Quest_Residence")].reload.l1.disable = 1;
DoQuestReloadToLocation("Quest_residence", "reload", "reload1", "both_to_residence_complete_2");
characters[GetCharacterIndex("Robert Christopher Silehard")].Dialog.CurrentNode = "both_talk_with_Silehard_node";
pchar.quest.main_line = "both_talk_with_Silehard";
LAi_ActorDialog(CharacterFromID("Robert Christopher Silehard"), pchar, "", 5.0, 0);
ChangeCharacterAddress(CharacterFromID("Danielle"), "Quest_residence", "goto4");
Locations[FindLocation("Greenford_town")].reload.l9.close_for_night = 0;
break;
case "both_to_residence_complete_2":
LAi_SetActorType(characterFromID("robert christopher silehard"));
LAi_ActorDialog(characterFromID("robert christopher silehard"), pchar, "", 5.0, 1.0);
break;
case "both_escape_from_redmond_complete":
PlaceCharacter(characterFromID("danielle"), "goto");
pchar.quest.main_line = "both_escape_from_redmond";
LAi_SetActorType(characterFromID("danielle"));
LAi_ActorDialog(characterFromID("Danielle"), pchar, "", 5.0, 0);
LAi_group_SetRelation("ENGLAND_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_FRIEND);
AddQuestRecord("Revenge_for_Silehard", 4);
if(AUTO_SKILL_SYSTEM)
{
AddPartyExpChar(pchar, "Leadership", 5000);
AddPartyExpChar(pchar, "Sneak", 50);
}
else { AddPartyExp(pchar, 5000); }
Locations[FindLocation("Redmond_Town_01")].reload.l13.disable = true;
LAi_RemoveLoginTime(characterFromID("robert christopher silehard")); // suggested by SJG
break;
case "to_idol_complete":
ChangeCharacterAddress(characterFromID("Danielle"), "none", "none");
break;
case "return_idol_from_frigate_complete":
pchar.quest.return_idol_from_frigate1.over = "yes";
pchar.quest.return_idol_from_frigate.over = "yes";
Island_SetReloadEnableGlobal("Oxbay", true);
bQuestDisableMapEnter = false; //CTM
AddQuestRecord("Revenge_for_Silehard", "8");
ChangeCharacterAddress(characterFromID("researcher"), "oxbay_lighthouse", "goto24");
GiveItem2Character(pchar, "idol");
if(AUTO_SKILL_SYSTEM) { AddPartyExpChar(pchar, "Leadership", 30000); }
else { AddPartyExp(pchar, 30000); }
iForceDetectionFalseFlag = 0; // KK
pchar.quest.main_line = "blaze_search_danielle_again";
pchar.quest.to_lighthouse_to_meet_danielle_before_storm.win_condition.l1 = "location";
pchar.quest.to_lighthouse_to_meet_danielle_before_storm.win_condition.l1.location = "Oxbay_lighthouse";
pchar.quest.to_lighthouse_to_meet_danielle_before_storm.win_condition = "to_lighthouse_to_meet_danielle_before_storm";
break;