Initial commit. Updated release archive.
This commit is contained in:
22
_module/nss/at_takebud.nss
Normal file
22
_module/nss/at_takebud.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
|
||||
}
|
Reference in New Issue
Block a user