1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-19 22:10:21 +02:00

add listring support to homedecor inventories

This commit is contained in:
Tim
2016-08-27 21:10:43 +02:00
parent a12d20abfc
commit 9e7ddd4a40
4 changed files with 25 additions and 12 deletions

View File

@ -36,7 +36,8 @@ homedecor.register("trash_can_green_open", {
formspec = "size[8,9]" .. default.gui_bg .. default.gui_bg_img .. default.gui_slots ..
"button[2.5,3.8;3,1;empty;Empty Trash]"..
"list[context;main;2.5,0.5;3,3;]"..
"list[current_player;main;0,5;8,4;]",
"list[current_player;main;0,5;8,4;]" ..
"listring[]",
},
on_receive_fields = function(pos, formname, fields, sender)
if fields.empty then