Script: mw_finale
//::///////////////////////////////////////////////
//:: mw_finale -- Akira reply action: grant the Mixtape and close the meta-quest.
//:://////////////////////////////////////////////
#include "mw_unlock_inc"
void main()
{
object oPC = GetPCSpeaker();
if (MW_UnlockCount(oPC) < MW_ROSTER_SIZE) return;
if (GetCampaignInt(MW_DB, "finale", oPC)) return;
SetCampaignInt(MW_DB, "finale", 1, oPC);
CreateItemOnObject("mw_mixtape", oPC, 1);
AddJournalQuestEntry(MW_META_QUEST, MW_ROSTER_SIZE + 2, oPC, TRUE, FALSE);
ApplyEffectToObject(DURATION_TYPE_INSTANT,
EffectVisualEffect(VFX_FNF_PWKILL), oPC);
FloatingTextStringOnCreature(
"Akira passes you the mixtape. The path of meaning is walked.",
oPC, FALSE);
GiveXPToCreature(oPC, 50000);
}