//:://///////////////////////////////////////////// //:: qst_mushroom_end.nss //:: Copyright (c) 2022 Project RATDOG //::////////////////////////////////////////////// /* Finished & rewards the PC for completing the "Mushroom of Youth" quest. */ //::////////////////////////////////////////////// //:: Created By: Jaysyn //:: Created On: 20220619 //::////////////////////////////////////////////// #include "pqj_inc" #include "nw_i0_tool" #include "x0_i0_partywide" void main() { //:: Declare major variables object oPC = GetPCSpeaker(); //:: Reward the party int nGold = 50000; //:: Get gold for each PC int nMembers = GetNumberPartyMembers(oPC); //:: Give the correct gold to all of them GiveGoldToAll(oPC, nGold/nMembers); //:: Set quest stage & update DB. AddPersistentJournalQuestEntry("mushroom", 2, oPC); }