WoR_PRC8/_module/nss/werecat_port_que.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

26 lines
761 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName werecat_port_que
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 27/02/2005 6:21:40 PM
//:://////////////////////////////////////////////
void main()
{
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 100);
// Give the speaker some XP
GiveXPToCreature(GetPCSpeaker(), 200);
// Give the speaker the items
CreateItemOnObject("mushroomspore", GetPCSpeaker(), 1);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "MushroomPieces");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}