Lankhmar_PRC8/_module/nss/take_gamblingchp.nss

17 lines
559 B
Plaintext
Raw Normal View History

2025-04-03 12:54:47 -04:00
//::///////////////////////////////////////////////
//:: 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());
}