overextended / ox_inventory

Slot-based inventory with metadata.
https://overextended.dev/ox_inventory
GNU General Public License v3.0
441 stars 685 forks source link

Shop currency changes #1140

Open jspidal opened 1 year ago

jspidal commented 1 year ago

Is your feature request related to a problem? Please describe. Currently you're not able to use bank balance and are limited to one type of currency per shop.

Describe the solution you'd like To solve the one type of currency, allow currency to be a table of currency names, and check availability based on the order in the table. Ex 'gold', 'silver', gold would be used before silver for a purchase.

Add a currency type of bank that links to whatever bank balance is available depending on the framework. There is also the possibility of requiring an item like a bank card in order to pull from your bank account.

thelindat commented 1 year ago

one type of currency per shop.

Per item.

allow currency to be a table of currency names

Would be disgusting to display the currency to players.

check availability based on the order in the table. Ex 'gold', 'silver', gold would be used before silver for a purchase.

Is weird, because it should be based on user choice and not whatever was found in their inventory.

Add a currency type of bank that links to whatever bank balance is available depending on the framework.

Shops have needed an overhaul for a long time, and keep being put off because effort/mood. People also want society-based payments, player-owned shops, etc. but implementing most of the things people want requires a major version update (v3.0) since breaking. Need to also add buttons to swap between cash/bank, then handle bank stuff in bridge, and then deal with support requests for other banking resources that people buy.

jspidal commented 1 year ago

Ah, I was mistaken about the per shop/per item. I was thinking about it how other inventories handled bank vs cash purchases and it just picks for you, having the ability to choose your currency would be great.