17 lines
559 B
Plaintext
17 lines
559 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName take_gamblingchp
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 9/7/2009 9:20:43 AM
|
|
//:://////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "gamblingchip");
|
|
if(GetIsObjectValid(oItemToTake) != 1)
|
|
ActionTakeItem(oItemToTake, GetPCSpeaker());
|
|
}
|