This module is open source, so it's distributed freely. If you find it useful then I ask not for your wealth, but simply to spare your time to consider the world we share by watching Earthlings, a multi-award winning film available to watch online for free. A must-see for anyone who wishes to make the world a better place.
from NekoGloop in IRC:
thought of adding a trash can spot to the inventory?
this formspec has a field of slots and a button
when pressed, the button trashes the items
T_A_N_K suggested a trading API, no need to have a formspec when you click a player.
GloopMaster suggested applying the trading API as an inventory_plus mod
so it would be something like this:
in inventory_plus, a new button "Trading"
Trading Overview
button[Request New Trade]
label[My Trade Requests]
for each outgoing trade request show a button with the other players name, button goes to player trade page
label[Incoming Trade Requests]
for each incoming trade request show a button with the other players name, button goes to player trade page
New Trade - done by trader
inventory[give, 3x3] <-- can drag items to here
inventory[player inventory]
input[player_name]
input[message] <-- message is sent to other player
input[price] <-- for support of a currency type mod
button[request] <-- sends the request to the other player
Trade Request - done by tradee
label[message] <-- message from trader
input[message] <-- message is sent to trader
inventory[get, 3x3] <-- this is locked
inventory[give, 3x3] <-- can drag items to here
inventory[player inventory]
button[request]
button[reject]
Trade Confirm - done by trader
label[message] <-- message from tradee
input[message] <-- message is sent to tradee
inventory[get, 3x3] <-- this is locked
inventory[give, 3x3] <-- can drag items to here, onchange cannot confirm
inventory[player inventory]
button[request] <-- can only do this if player changes "give", if this happens then the tradee will see this screen
button[confirm]
button[reject]
Last edited by cornernote on Wed Sep 19, 2012 00:54, edited 1 time in total.
Could trade be made possible:
- Over (long) distance (Iike using an 'invisible' cargo transport)?
- On a virtual (or build by using a mod) trademarket?
You and some other modders seem to do miracles with lua the last few months.
Check out my mod xtrablocks, has some different types of marble that you can build with or mine at different depths
I am not here regularly as I just kind of pop in and out. If you want to find me I'll be on quadcopterforum.com helping with multirotor builds and spending other's money haha.
Looks like a really amazing mod from the screenshots... I should check it out soon. Hope this + the workbench might become part of MineTest, it looks even nicer than MineCraft's inventory system at a first look
Do you can add an option to set background and buttons color? When you press i, the inventory that pops up is called a "formspec" in the modding api. But i don't know how to add color option in mod but i find example of this https://github.com/minetest-technic/uni ... ternal.lua
If you use the workbench mod with this you get 2 different craft buttons;
Is there any way the mod can check if workbench is present and default to its craft grid?