1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-25 18:30:23 +01:00

Tweak listring behavior of autocrafter

Now goes player->source->player and destination->player
This commit is contained in:
Carter Kolwey 2017-03-28 18:02:10 -05:00
parent 64b2611d8a
commit c15023a5d1

View File

@ -186,10 +186,9 @@ local function update_meta(meta, enabled)
"list[current_player;main;0,8;8,4;]" .. "list[current_player;main;0,8;8,4;]" ..
"listring[current_player;main]".. "listring[current_player;main]"..
"listring[context;src]" .. "listring[context;src]" ..
"listring[context;dst]" ..
"listring[current_player;main]".. "listring[current_player;main]"..
"listring[context;recipe]" .. "listring[context;dst]" ..
"listring[context;output]" "listring[current_player;main]"
if minetest.get_modpath("digilines") then if minetest.get_modpath("digilines") then
fs = fs.."field[1,3.5;4,1;channel;Channel;${channel}]" fs = fs.."field[1,3.5;4,1;channel;Channel;${channel}]"
fs = fs.."button_exit[5,3.2;2,1;save;Save]" fs = fs.."button_exit[5,3.2;2,1;save;Save]"