Yet another money system!
Warning! This is not intended for singleplayer use! The machines need to be protected using area protection mods like denaid or areas!
This mod adds three new machines to Minetest:
Spoiler
Only items that are on the price list can be sold. The price list is editable inside init.lua and is a table containing items that can be sold and their selling price.
This list needs to be extended!You can help by adding prices for items of mods you use and are useful to be able to sell and posting them into this thread.
Every item sold to the machine is stored inside it (as metadata keys, not as inventory!). Players can buy items from the machine by accessing the price list and clicking the wanted item. This is only possible if the machine has any items of this type(any player sold that item to the machine before)
Spoiler
Spoiler
- the owner can always put in and take out items as he wants, no money is transferred;
- if another player buys an item, the amount is directly transferred to the owner's account and
- players other than the owner can't sell items to the machine.
The machines do not have crafting recipes, get them by /giveme-ing economy:vending or economy:bank
Of course there is an API to interface with the TestDollar money system. See documentation in readme.txt inside mod directory. Depend on this mod to use.
Depends on:
default
dye
(only for the crafting)
License:
Code: LGPL 3.0 (Node definition for the machines by VanessaE (homedecor soda vending machine))
Machine model and textures(modified) by VanessaE (homedecor soda vending machine): CC-by-SA 3.0
Now on github: https://github.com/orwell96/economy
Download: added intllib support and German translation
added administrative chat commands
fixed stuff
Older versions: added player controlled vending machines
Initial release