Page 1 of 3
[Mod] Trash Can [0.2.2] [trash_can]

Posted:
Wed Jun 19, 2013 23:23
by Evergreen

This mod adds a trash can to the game. Right click it, put in your trash, and click the empty trash button. You can also throw things in the wooden trash can by pressing "q" or throwing them out of your inventory.
Downloads:
Download as a zip:
.zipDownload as a tarball:
.tar.gzor browse the code:
https://github.com/minetest-mods/trash_canAlso, report issues
here.Crafting:

Made of wood planks, should be pretty obvious

Made out of iron, coal blocks, and dark green dye
Changelog:
See the github repository's
commit history for changelog.
Dependencies:
default
License:
MIT LicenseContributors:
- Mossmanikin - Initial dumpster and trash can textures, as well as node boxes
- Zeg9 - Added the throw items in trash can feature

Posted:
Wed Jun 19, 2013 23:46
by Mossmanikin
As I said before: like this idea. Have been looking for something like this.
It's nice for decoration (not talking about the textures here :D) as well as handy the way it works.
Love it!
Will use it in my singleplayer maps.

Posted:
Wed Jun 19, 2013 23:46
by Evergreen
Mossmanikin wrote:As I said before: like this idea. Have been looking for something like this.
It's nice for decoration (not talking about the texture here :D) as well as handy the way it works.
Love it!
Will use it in my singleplayer maps.
Thanks! Also, once again, thanks for the textures. :D Also, I plan on making it so you can throw items in, and they will be deleted automatically.

Posted:
Wed Jun 19, 2013 23:50
by Mossmanikin
Evergreen wrote:Thanks! Also, once again, thanks for the textures. :D Also, I plan on making it so you can throw items in, and they will be deleted automatically.
That would be really cool. No more tons of dirt nodes lying everywhere. :D

Posted:
Thu Jun 20, 2013 06:34
by Zeg9
Evergreen wrote:Mossmanikin wrote:As I said before: like this idea. Have been looking for something like this.
It's nice for decoration (not talking about the texture here :D) as well as handy the way it works.
Love it!
Will use it in my singleplayer maps.
Thanks! Also, once again, thanks for the textures. :D Also, I plan on making it so you can throw items in, and they will be deleted automatically.
Great mod! Can't wait to get this feature implemented :p

Posted:
Thu Jun 20, 2013 06:35
by Dan Duncombe
Something like this goes very well with VanessaE's Homedecor mod.

Posted:
Thu Jun 20, 2013 06:37
by Zeg9
[feature request]What about an iron/steel trash? It would go well inside towns (streets mod).[/feature request]

Posted:
Thu Jun 20, 2013 11:17
by Evergreen
Zeg9 wrote:[feature request]What about an iron/steel trash? It would go well inside towns (streets mod).[/feature request]
You read my mind. I was planning on adding a large dumpster, and a steel/iron trash can.

Posted:
Thu Jun 20, 2013 18:20
by Mossmanikin
How about a basket?
To craft it one could use junglegrass, grass or papyrus.

Posted:
Thu Jun 20, 2013 20:09
by sfan5
Wow! The trashcan looks nice, especially the texture

Posted:
Thu Jun 20, 2013 20:19
by Evergreen
sfan5 wrote:Wow! The trashcan looks nice, especially the texture
Thanks, Mossmanikin made the textures. Except I edited out the metal bars from the original one. :D

Posted:
Fri Jun 21, 2013 04:54
by ndjdjksisksk
finaly i don't have to make a lava pit for items :D

Posted:
Fri Jun 21, 2013 07:55
by Mossmanikin
Here I have a dumpster for you:

The textures are placeholders.
Here's some stuff I made while playing around:
dumpster_test.zip

Posted:
Fri Jun 21, 2013 11:44
by Evergreen
Mossmanikin wrote:Here I have a dumpster for you:

The textures are placeholders.
Here's some stuff I made while playing around:
dumpster_test.zip
Okay, I deem you, the nodebox master! Thanks you so much, I don't know what I would have done if you hadn't made me this nodebox. :D

Posted:
Fri Jun 21, 2013 15:39
by Evergreen
Small update: Made it so you can throw things in the trash can like you would in real life. Also, trying to get custom node sounds to work with the dumpster. (meaning I am about ready to add a dumpster to the mod)

Posted:
Fri Jun 21, 2013 20:14
by Mossmanikin
Evergreen wrote:Okay, I deem you, the nodebox master! Thanks you so much, I don't know what I would have done if you hadn't made me this nodebox. :D
I'm glad I could help you out. I enjoyed making it without having to care about the rest of the code. :D
Love it that one can throw things into the trash can now.
Can't wait for the next update.

Posted:
Fri Jun 21, 2013 21:12
by Evergreen
Mossmanikin wrote:Evergreen wrote:Okay, I deem you, the nodebox master! Thanks you so much, I don't know what I would have done if you hadn't made me this nodebox. :D
I'm glad I could help you out. I enjoyed making it without having to care about the rest of the code. :D
Love it that one can throw things into the trash can now.
Can't wait for the next update.
The next update will be a dumpster, but I'm going on vacation for a week, so don't expect it for another week. :P

Posted:
Fri Jun 21, 2013 21:21
by Mossmanikin
I consider myself to be quite patient. :P
Have a nice vacation. :)

Posted:
Mon Jul 29, 2013 11:49
by george90867
what do u rename it to?

Posted:
Mon Jul 29, 2013 12:13
by Evergreen
george90867 wrote:what do u rename it to?
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.

Posted:
Tue Aug 13, 2013 18:12
by Sokomine
What about the dumpster? When will that be included? It looks very nice and could be used for decorative purposes. It might also be great if you could turn it into an open state - where the top is turned by 90 degree so that you can climb (and throw something) inside.

Posted:
Tue Aug 13, 2013 18:25
by Evergreen
Sokomine wrote:What about the dumpster? When will that be included? It looks very nice and could be used for decorative purposes. It might also be great if you could turn it into an open state - where the top is turned by 90 degree so that you can climb (and throw something) inside.
I have had it sitting around on my hard drive for improvements, it is pretty much done, but haven't done much with it. I may include it soon, just have been too busy/lazy to include it.

Posted:
Tue Aug 13, 2013 18:54
by webdesigner97
Wow, it's a great mod! And when you add the dumpster, it's awesome!

Posted:
Tue Aug 13, 2013 18:58
by Evergreen
webdesigner97 wrote:Wow, it's a great mod! And when you add the dumpster, it's awesome!
Thank you! I might go ahead and try to include it. The model is kind of glitchy though, so any help would be appreciated.

Posted:
Tue Aug 13, 2013 19:09
by Sokomine
If it flickers, it usually help to check if the coordinates are not mixed - that is, if e.g. all values from the second point are larger than that of the first - for each nodebox.

Posted:
Tue Aug 13, 2013 19:14
by webdesigner97
Sokomine wrote:If it flickers, it usually help to check if the coordinates are not mixed - that is, if e.g. all values from the second point are larger than that of the first - for each nodebox.
They always have to be like
{lowest x, lowest y, lowest z, highest x, highest y, highest z}

Posted:
Tue Aug 13, 2013 19:23
by Evergreen
webdesigner97 wrote:Sokomine wrote:If it flickers, it usually help to check if the coordinates are not mixed - that is, if e.g. all values from the second point are larger than that of the first - for each nodebox.
They always have to be like
{lowest x, lowest y, lowest z, highest x, highest y, highest z}
Glitchy as in you can walk through one side of it.

Posted:
Tue Aug 13, 2013 20:55
by webdesigner97
Evergreen wrote:webdesigner97 wrote:Sokomine wrote:If it flickers, it usually help to check if the coordinates are not mixed - that is, if e.g. all values from the second point are larger than that of the first - for each nodebox.
They always have to be like
{lowest x, lowest y, lowest z, highest x, highest y, highest z}
Glitchy as in you can walk through one side of it.
Yep, I had that too. Just sort the numbers in the correct way we explained ;)

Posted:
Wed Aug 14, 2013 04:36
by Mossmanikin
Evergreen wrote:webdesigner97 wrote:Wow, it's a great mod! And when you add the dumpster, it's awesome!
Thank you! I might go ahead and try to include it. The model is kind of glitchy though, so any help would be appreciated.
What exactly do you mean by glitchy?
I tested the model (the one on Dumpster.png) and I couldn't find anything...
Or do you mean the missing line:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
?
I'd love to help to improve the model if you can tell me what's wrong with it.

Posted:
Wed Aug 14, 2013 10:58
by Evergreen
Mossmanikin wrote:Evergreen wrote:webdesigner97 wrote:Wow, it's a great mod! And when you add the dumpster, it's awesome!
Thank you! I might go ahead and try to include it. The model is kind of glitchy though, so any help would be appreciated.
What exactly do you mean by glitchy?
I tested the model (the one on Dumpster.png) and I couldn't find anything...
Or do you mean the missing line:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
?
I'd love to help to improve the model if you can tell me what's wrong with it.
It isn't anything with the model, I do have facedir enabled, but fro some reason you can clip through one side of it. Also, since it is one large nodebox, the model tends to clip through things as well.