AustereTony-MCMods / Oxygen-Core

Core modification and API for Oxygen mod series.
10 stars 5 forks source link

[REQUEST][market - 0.11.0] deposit & withdraw coins #16

Closed andrewminer closed 4 years ago

andrewminer commented 4 years ago

I'd like for players to be able to deposit and withdraw coins as actual, physical items in the game. So, for example, if a player has used the Thermal Expansion (TE) machinery to create a TE gold coin, I'd like for them to be able to deposit that into their Oxygen bank account. Likewise, if they want the coin back again, they should be able to withdraw it as a TE gold coin.

I can see this system working in a few different ways.

First, the mod could add an Automated Teller Machine (ATM) block. Clicking on this block will bring up a GUI interface much like a chest. It permits the player to move approved "currency" items in and out of the storage interface. The total value of these items is tallied upon closing the interface, and this becomes the user's new account balance.

Second, this could be part of the Mail subsystem. The system offers a special address called "bank". Players are permitted to send the bank any item which has been previously configured as currency. This is translated (using the configured exchange rate) into coins in that user's account. Likewise, they can send a mail to the bank requesting a withdrawal. This later appears in their inbox, just as though another player had sent them the coins.

Finally, this could simply be another menu, just as the Market, Mail, Notifications, and other menus. It's interface could offer options for making deposits and withdrawls of approved currency items.

The motiviation behind this is to allow the in-game economy to behave much more like a real-world, metal-based economy. In the real world, when excessive inflation occurs (i.e., the relative cost of cash vs. gold goes up), it is more rewarding to mine gold. This causes deflation as more currency (i.e., gold) becomes available, thus bringing prices back in line.

This also allows new-comers a means to build up their own currency reserves by making some expeditions to simply mine some gold, make a numismatic press, and deposit the coins into their account. This, in turn, allows them to exchange their labor (i.e. mining) for the labor of others (e.g., who chose to raise crops).

andrewminer commented 4 years ago

I just found Fex's Small Money Mod which seems to do almost exactly what I'm looking for... ATM included!