PoA_PRC8/module/nss/seedswitch.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

20 lines
638 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName seedswitch
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 11/5/2002 1:57:18 PM
//:://////////////////////////////////////////////
void main()
{
// Give the speaker the items
CreateItemOnObject("fertilefaeryseed", GetPCSpeaker(), 1);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "BrownFaeryseeds");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}