PoA_PRC8/_module/nss/seedswitch.nss

20 lines
638 B
Plaintext
Raw Permalink Normal View History

2022-10-07 14:20:31 -04:00
//::///////////////////////////////////////////////
//:: 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);
}