[Mod] Trash Can [0.2.2] [trash_can]

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

[Mod] Trash Can [0.2.2] [trash_can]

by Evergreen » Wed Jun 19, 2013 23:23

Image
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: .zip
Download as a tarball: .tar.gz
or browse the code: https://github.com/minetest-mods/trash_can

Also, report issues here.


Crafting:


+ Wooden Trash Can

+ Dumpster

Changelog:


See the github repository's commit history for changelog.


Dependencies:


default


License:


MIT License


Contributors:


  • Mossmanikin - Initial dumpster and trash can textures, as well as node boxes
  • Zeg9 - Added the throw items in trash can feature
Last edited by Evergreen on Wed Jan 13, 2016 01:59, edited 8 times in total.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Wed Jun 19, 2013 23:46

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.
Last edited by Mossmanikin on Wed Jun 19, 2013 23:48, edited 1 time in total.

Noob 4 life!
My stuff
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Wed Jun 19, 2013 23:46

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.
Last edited by Evergreen on Wed Jun 19, 2013 23:47, edited 1 time in total.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Wed Jun 19, 2013 23:50

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

Noob 4 life!
My stuff
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Thu Jun 20, 2013 06:34

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
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Thu Jun 20, 2013 06:35

Something like this goes very well with VanessaE's Homedecor mod.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Thu Jun 20, 2013 06:37

[feature request]What about an iron/steel trash? It would go well inside towns (streets mod).[/feature request]
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Thu Jun 20, 2013 11:17

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.
Last edited by Evergreen on Thu Jun 20, 2013 11:46, edited 1 time in total.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Thu Jun 20, 2013 18:20

How about a basket?
To craft it one could use junglegrass, grass or papyrus.

Noob 4 life!
My stuff
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Thu Jun 20, 2013 20:09

Wow! The trashcan looks nice, especially the texture
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Thu Jun 20, 2013 20:19

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
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

ndjdjksisksk
Member
 
Posts: 130
Joined: Mon May 06, 2013 04:11

by ndjdjksisksk » Fri Jun 21, 2013 04:54

finaly i don't have to make a lava pit for items :D
nvm about me leaving minetest but i probably will for a while because i have nothing to do in this comunity becaise i can't make a server. my username is going to change i will make a new acount called stormchaser3000
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Fri Jun 21, 2013 07:55

Here I have a dumpster for you:

Image
The textures are placeholders.

Here's some stuff I made while playing around:

dumpster_test.zip

Noob 4 life!
My stuff
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Fri Jun 21, 2013 11:44

Mossmanikin wrote:Here I have a dumpster for you:

Image
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
Last edited by Evergreen on Fri Jun 21, 2013 11:44, edited 1 time in total.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Fri Jun 21, 2013 15:39

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)
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Fri Jun 21, 2013 20:14

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.

Noob 4 life!
My stuff
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Fri Jun 21, 2013 21:12

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
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Fri Jun 21, 2013 21:21

I consider myself to be quite patient. :P
Have a nice vacation. :)

Noob 4 life!
My stuff
 

george90867
Member
 
Posts: 25
Joined: Fri Jul 26, 2013 17:42

by george90867 » Mon Jul 29, 2013 11:49

what do u rename it to?
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Mon Jul 29, 2013 12:13

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.
Code: Select all
trash_can
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

by Sokomine » Tue Aug 13, 2013 18:12

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.
A list of my mods can be found here.
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Tue Aug 13, 2013 18:25

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.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Tue Aug 13, 2013 18:54

Wow, it's a great mod! And when you add the dumpster, it's awesome!
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Tue Aug 13, 2013 18:58

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.
Last edited by Evergreen on Tue Aug 13, 2013 18:59, edited 1 time in total.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

by Sokomine » Tue Aug 13, 2013 19:09

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.
A list of my mods can be found here.
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Tue Aug 13, 2013 19:14

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}
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Tue Aug 13, 2013 19:23

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.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Tue Aug 13, 2013 20:55

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 ;)
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Wed Aug 14, 2013 04:36

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.
Code: Select all
paramtype2 = "facedir",
?
I'd love to help to improve the model if you can tell me what's wrong with it.

Noob 4 life!
My stuff
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Wed Aug 14, 2013 10:58

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.
Code: Select all
paramtype2 = "facedir",
?
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.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

Next

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 14 guests

cron