Lankhmar_PRC8/_module/nss/take_gamblingchp.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

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());
}