-
Notifications
You must be signed in to change notification settings - Fork 8
sell
shanapu edited this page Jan 29, 2020
·
1 revision
The sell module makes it possible to sell purchased or gifted items back to the store (item/package in exchange for credits). When a user owns an item and it is able to sell, a new menu entry "sell this item" appears in items menu. The loss of the sale value is defined by a ratio ConVar in core.cfg. When a player purchased an item at a discount or before a manual price increase and sell it later the initial purchase price he paid less the sale ratio will be used. Also when an item was dropped or gifted the initial purchase price will be passed on.
It's possible to allow or prohibit sale for each individual item or package, more information at items.txt wiki under the "trade"-Key.
// Ratio of the original price to get for selling an item
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
mystore_sell_ratio "0.60"```