23 lines
601 B
Plaintext
23 lines
601 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName at_takebud
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 4/19/2003 6:03:37 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "witchbud");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
SetLocalInt(oPC, "DrugBusted", 0);
|
||
|
|
||
|
}
|