Money

This will tell you how to make Shop nodes, and how to make craftitem money!

Money
The current form of money is a basic coin. It is crafted by putting a gold sheet in an anvil, and using a chisel on it.



Shops
These are nodes used for basic trading. They allow easy and safe exchange of items, even when the owner is not present.

They have 2 inventories - the one the owner sees, and the customer interface. If you are the customer, you may only view the customer interface. However, if you are the owner, you can press 'E' while right-clicking it to see what the customer sees, to check you have set it up correctly.

The interfaces look like this:

Customer



Owner



To set up a shop to trade, you will need 3 things other than the shop:
 * Stock to sell.
 * An example which will be shown as what is being sold.
 * Something to ask for in return.

Once you have these three things, place the shop where you want. Only you can break it. Right-click to get the formspec. In the 'You want' part, put what you want your customers to pay you with. In the 'You give' section, place an example of what you are selling. In the stock section, put a lot of what you are selling.

For example, say you want to put up a wood shop. In the 'You give' section, you would put 1 wood, in the stock section, you would add all the wood that you wanna sell. Say you want money in return for the wood. You would put a coin in the 'You want' section.

Now, check if it is set up right. Press 'E' and right-click the shop. On the right you should see an 'Owner wants' area showing what you put in the 'You want' section, and an 'Owner gives' section showing what you put in the 'You give' section.

NOTE: You CANNOT exchange in your own shop.

To trade, put whatever the 'Owner wants' in the 'Customer gives (pay here)' section. Press exchange, and whatever you have bought should appear in the 'Customer gets' section. When the owner looks at the shop from the owner formspec, they should see whatever customers payed them in the 'Customers gave' section. This is a small section, so it may need to be emptied regularly.

Crafting the Shop
To craft it you need a 3x3 grid. You will need a locked chest of any type, along with 7 plank item of the same type of wood. You will also need a sign.

Place the locked chest in the middle, the sign on top, and the rest with planks. You will get one shop.