Aantioch_Infernum/_module/nss/end_diary.nss
Jaysyn904 22947ad4b6 Initial Upload
Initial Upload
2023-08-08 16:22:17 -04:00

24 lines
741 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName end_samoflange
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 8/22/2002 7:03:19 PM
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 500);
// Give the speaker some XP
GiveXPToCreature(GetPCSpeaker(), 500);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "KingsDiary");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
SetLocalInt(GetPCSpeaker(),"lucy",1);
}