25 lines
843 B
Plaintext
25 lines
843 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName wizo6
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 8/12/2002 9:33:01 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
#include "nw_i0_tool"
|
||
|
void main()
|
||
|
{
|
||
|
object oPC=GetPCSpeaker();
|
||
|
if(!HasItem(oPC, "MutantFireBeetlebelly")){
|
||
|
string name = GetPCPlayerName(oPC);
|
||
|
SetXP(oPC, 0);
|
||
|
BootPC(oPC);
|
||
|
SendMessageToAllDMs( name + " has been invalidated for attempting to exploit hero crystal for Mutant Fire Beetle Belly trade.");
|
||
|
|
||
|
}
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "MutantFireBeetlebelly");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
}
|