diff options
author | DonBatman <serfdon@gmail.com> | 2015-10-09 19:25:49 -0700 |
---|---|---|
committer | DonBatman <serfdon@gmail.com> | 2015-10-09 19:25:49 -0700 |
commit | df1309a6fdd02bfdc1cd5c83cadd4361267f7f21 (patch) | |
tree | 80bfafa0a972a5b3166cb81c17d68904053a4fce | |
parent | 9bc6301f6010e4031270edcf5f24395148eb4d2a (diff) |
Added listring/shift click to craft grid
-rw-r--r-- | register.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/register.lua b/register.lua index be8d62f..b47b1c6 100644 --- a/register.lua +++ b/register.lua @@ -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;]" |