This mod allows players to remove objects.
Only drop them onto this trashcan and punch it.
Sound and texture made by Ragnarok
Download: zip, tar.gz
Depends: default
License: WTFPL
github: trashcan
Crafting:
Block:
Hybrid Dog wrote:With this mod you can delete objects.
Only place them on this block and punch the trashcan.
Download: trashcan [13.01]
Depends: default
License: WTFPL
local trashInv = minetest.create_detached_inventory(
"trash",
{
on_put = function(inv, toList, toIndex, stack, player)
inv:set_stack(toList, toIndex, ItemStack(nil))
end
})
trashInv:set_size("main", 1)
minetest.register_on_joinplayer(
function(player)
player:set_inventory_formspec(
"size[10,7.5]"..
"list[current_player;main;0,3.5;8,4;]"..
"list[current_player;craft;3,0;3,3;]"..
"list[current_player;craftpreview;7,1;1,1;]"..
"label[9,3.5;Trash]"..
"list[detached:trash;main;9,4.5;1,1;]"
)
end)
12Me21 wrote:I made it round:
http://ompldr.org/vaHl6ZA/trashcan.zip
Hybrid Dog wrote:there are at least 4 trashcan mods now
Users browsing this forum: No registered users and 19 guests