Added listring/shift click to craft grid

This commit is contained in:
DonBatman 2015-10-09 19:25:49 -07:00
parent 9bc6301f60
commit df1309a6fd
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,8 @@ unified_inventory.register_page("craft", {
formspec = formspec.."list[current_player;craft;2,"..formspecy..";3,3;]"
formspec = formspec.."label[7,"..(formspecy + 1.5)..";" .. S("Trash:") .. "]"
formspec = formspec.."list[detached:trash;main;7,"..(formspecy + 2)..";1,1;]"
formspec = formspec.."listring[current_name;craft]"
formspec = formspec.."listring[current_player;main]"
if unified_inventory.is_creative(player_name) then
formspec = formspec.."label[0,"..(formspecy + 1.5)..";" .. S("Refill:") .. "]"
formspec = formspec.."list[detached:"..minetest.formspec_escape(player_name).."refill;main;0,"..(formspecy +2)..";1,1;]"