Files
Anphillia_PRC8/_module/nss/at_015.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

26 lines
727 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName at_015
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 19/04/2008 17:42:00
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 200);
// Give the speaker some XP
GiveXPToCreature(GetPCSpeaker(), 250);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "PurpleWormFlesh");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
// Set the variables
SetLocalInt(GetPCSpeaker(), "Iworms", 2);
}