[Mod] Trash Can [trashcan]

Post Reply
User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

[Mod] Trash Can [trashcan]

by Hybrid Dog » Post

Image



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:
Image

Block:
Image
Attachments
trashcan_pre.png
trashcan_pre.png (145.1 KiB) Viewed 1071 times
trashcan_craft.png
trashcan_craft.png (24.02 KiB) Viewed 1071 times
trashcan.png
trashcan.png (27.15 KiB) Viewed 1071 times
Last edited by Hybrid Dog on Thu Dec 17, 2015 17:39, edited 6 times in total.

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
Rancon
Member
Posts: 240
Joined: Tue Jan 01, 2013 14:59
Location: Gladstone, Missouri

by Rancon » Post

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
Image
Image
I like this!
Any tips on blender, gimp, or codea?

User avatar
GloopMaster
Member
Posts: 213
Joined: Wed Aug 01, 2012 18:03
Location: http://minetest.net/forum/

by GloopMaster » Post

Should use a lava bucket in the recipe
Meow.

That is all.

User avatar
Ragnarok
Member
Posts: 217
Joined: Thu Mar 22, 2012 12:56
Location: Poland
Contact:

by Ragnarok » Post

@Hybrid Dog
I slightly modified your mod - everything is WTFPL:

http://speedy.sh/DFsty/trashcan.zip

I hope it will be useful =)

prestidigitator
Member
Posts: 647
Joined: Thu Feb 21, 2013 23:54

by prestidigitator » Post

I just posted this to a trash can feature discussion thread. It might be nice to include it as an option in your mod, and use your inventory trash can texture as a label. It gives an inventory-based trash can slot.

WTFPL

Code: Select all

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)

Zedm0n
Member
Posts: 18
Joined: Sun Mar 24, 2013 14:48

by Zedm0n » Post

Will this go back in my inventory when I am done with or does it stay in the world? If it stays in the world it kinda defeats the purpose of not litterrng.


Zedm0n

User avatar
12Me21
Member
Posts: 873
Joined: Tue Mar 05, 2013 00:36
GitHub: 12Me21
Location: (Ignore all of my posts before 2018)

by 12Me21 » Post

Shoutouts to Simpleflips

User avatar
Likwid H-Craft
Member
Posts: 1113
Joined: Sun Jan 06, 2013 14:20
Location: Lost in Crypt

by Likwid H-Craft » Post

12Me21 wrote:I made it round:
http://ompldr.org/vaHl6ZA/trashcan.zip
Wow nice :)

And it goes great for my, map I making I will not say it called or what it is.

Since you made it round I guess I have to make it have a door like trapdoor to fit, on the top to make it like open/close.
Last edited by Likwid H-Craft on Wed Apr 03, 2013 00:20, edited 1 time in total.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

Goshdangit Hybrid dog, I just made a trash can mod not knowing this mod's existence. Still good anyway. :P Although I hope to differ from this mod in a couple ways; by adding multiple trash cans.
Back from the dead!

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

One of them is out of date and was made quite a while ago. The other one doesn't have a very good texture/model, so I guess it's mine versus yours. :P
Back from the dead!

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Post

Hybrid Dog wrote:there are at least 4 trashcan mods now
I'd say the ability to choose from different versions is a good thing.

The textures of this one are nice.

Noob 4 life!
My stuff

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [closed] Trash Can [trashcan]

by Hybrid Dog » Post

Updated: that unused sound file is removed and Readme.txt is updated

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests