Files
HeroesStone_PRC8/_module/nss/de1_perudocq3.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

21 lines
646 B
Plaintext

/////////////////////////////////////
// Dragon's Edge
// by Charly Carlos
/////////////////////////////////////
// Sets the variable to 3 meaning the player has given Item Number 4 to Amand
// and finished the quest
/////////////////////////////////////
void main()
{
if (GetLocalInt(GetModule(), "nPerudocQuest")< 3)
{
object oPC = GetPCSpeaker();
object oINumber4 = GetItemPossessedBy(oPC, "ItemNumberFour");
SetLocalInt(GetModule(), "nPerudocQuest", 3);
SetPlotFlag(oINumber4, FALSE);
DestroyObject(oINumber4);
GiveXPToCreature(oPC, 400);
GiveGoldToCreature(oPC, 1000);
}
}