Shop

The shop is a block in MaddTech useful on mutliplayer servers. When someone places a shop block, they become the shop owner. The owner can open a GUI which lets them set 4 items for sale, as well as set prices. They may also put more items in stock in the shop's inventory. For example, they may choose to sell 1 diamond for 3 mini-rubies, and put more diamonds for sale in stock. The bottom side of a shop may also be connected, with an item cable, to a storage which contains more items in stock. When someone buys an item, the mini rubies are placed in the shop's inventory for the owner to take out.

Other players - the clients - cannot see what is in the shop's inventory, and cannot set prices. Instead, they see a different GUI where they can place money to obtain the products.

The currency used in the shops is the ruby from MaddTech. The trade actually happens in mini rubies, where 1 ruby = 8 mini-rubies.