Aschbourne_PRC8/_module/nss/pv_set_buy_all.nss
Jaysyn904 f5ffe7d0b9 Module commit
Module commit.
2024-06-14 10:48:20 -04:00

13 lines
387 B
Plaintext

//::///////////////////////////////////////////////
//:: Name: pv_set_buy_all
//:://////////////////////////////////////////////
/*
The buyer wants to purchase all items from
the stack.
*/
//:://////////////////////////////////////////////
void main()
{
SetLocalInt(OBJECT_SELF, "PV_QUANTITY_TO_BUY", GetNumStackedItems ( GetLocalObject(OBJECT_SELF, "PV_ITEM_CHOSEN" ) ));
}