bool otherquest = false;
stemp = "";
if (!CheckAttribute(pchar, "quest.generate_kill_quest") && GetNationRelation2MainCharacter(iNation) != RELATION_ENEMY)
{
Preprocessor_Add("gov_nation", XI_ConvertString(GetNationNameByType(iNation)));
stemp = DLG_TEXT[14];
link.l1 = DLG_TEXT[15];
link.l1.go = "kill_pirate";
otherquest = true;
}
//Added by Levis for the smuggler guild
if (!CheckAttribute(pchar,"quest.smuggling_guild.governor_quest") && IsInServiceOf(iNation) && iNation != PIRATE)
{
if(otherquest) stemp = stemp + DLG_TEXT[81];
stemp = stemp + DLG_TEXT[82];
link.l2 = DLG_TEXT[83];
link.l2.go = "smuggler guild";
otherquest = true;
}
if (!IsInServiceOf(iNation)) stemp = stemp + " " + DLG_TEXT[102];
if (otherquest) dialog.text = stemp;