Use listrings for inventories (#12)

Enables moving itemstacks via shift-click for newly placed nodes.
This commit is contained in:
tuedel 2020-08-12 21:03:25 +02:00 committed by GitHub
parent c6ef1d7589
commit 423b0f26a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,6 +120,7 @@ minetest.register_node("trash_can:trash_can_wooden",{
"button[0,0;2,1;empty;Empty Trash]" ..
"list[context;trashlist;3,1;2,3;]" ..
"list[current_player;main;0,5;8,4;]" ..
"listring[]" ..
moditems.boxart
)
meta:set_string("infotext", moditems.trashcan_infotext)
@ -190,6 +191,7 @@ minetest.register_node("trash_can:dumpster", {
"button[0,0;2,1;empty;Empty Trash]" ..
"list[context;main;1,1;6,3;]" ..
"list[current_player;main;0,5;8,4;]"..
"listring[]" ..
moditems.boxart
)
meta:set_string("infotext", moditems.dumpster_infotext)