26 lines
761 B
Plaintext
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);
|
||
|
}
|