question

Thomas Brown avatar image
Thomas Brown asked

Best way to set sell price of item

In our game we have both an items price to purchase it and it's worth when you sell it.

What might be the best way to specify an items sell price?

Going a little further, we were thinking that the sell price would be a percentage of the purchase price, currently it doesn't look like playfab has any mechanism set up to do this other then potentially using some sort of cloud scripting.

Thanks in advance!

In-Game Economygame manager
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bskanimations avatar image bskanimations commented ·

Did you find a nice way to do this? I'm stuck on the same problem.

,

Did you find any way to do this? I'm stuck at the same problem.

1 Like 1 ·

1 Answer

·
Seth Du avatar image
Seth Du answered

What you have described seems to be the Store feature of PlayFab, which can be a good practice for holding a sales event. Please see the documentation on: https://docs.microsoft.com/en-us/gaming/playfab/features/commerce/stores/.

In the Store, you are able to increase or decrease the price of all items by specified percentages:


1.jpg (34.8 KiB)
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Good Guy avatar image Good Guy commented ·

The OP was not asking about sales, but SELLING an item the player has in their inventory. eg: They bought it for $100, and the game values it at less when the player goes to sell it back to the system or another player. Can Stores still be used for this?

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.