GetStoreMaxBuyPrice(object)

Gets the maximum amount a store will pay for any item

int GetStoreMaxBuyPrice(
    object oidStore
);

Parameters

oidStore

Store object to determine max price of


Description

Gets the maximum amount a store will pay for any item. -1 means price unlimited. -2 indicates the store could not be located.



Remarks

This can also be set directly in the Toolset.
By default, stores don't have a maximum buy price.

Anyone using this function should write special cases for return values -1 and -2.


Version

1.61

See Also

functions: SetStoreMaxBuyPrice
categories: Miscellaneous Functions | Money Functions


 author: Lilac Soul
 Send comments on this topic.