GetItemPropertyUsesPerDayRemaining( object, itemproperty )
- The item to test.
- The item property to test for uses remaining.
Returns the number of uses per day remaining of the given item and item property. Will return 0 if the given item does not have the requested item property, or the item property is not uses/day.
This is useful when trying to find a usable item for ActionUseItem functions. These require the uses of the item property be valid, such as an item having at least 1 uses left this day.
This function was added in 1.80.8193.14 of NWN:EE.
|functions:||SetItemPropertyUsesPerDayRemaining() ActionUseItemOnObject() ActionUseItemAtLocation()|