[Mod] Trash Can [0.2.2] [trash_can]

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

by Mossmanikin » Wed Aug 14, 2013 11:08

Evergreen wrote: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.


Ah! Now I see what you mean. Just checked it and have the same problem. Didn't notice it until now.

Don't know how to fix this yet, but may it could be done in a similar way like the doors work...

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 11:19

Mossmanikin wrote:
Evergreen wrote: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.


Ah! Now I see what you mean. Just checked it and have the same problem. Didn't notice it until now.

Don't know how to fix this yet, but may it could be done in a similar way like the doors work...
I thought it could. The reason I haven't added it yet is because there are too many glitches to make the cut. I might make a new branch for it though.
"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 Aug 14, 2013 12:34

I found a different way to (more or less) fix the problem.
I added an invisible collision block.
The solution isn't perfect, but it kinda works.

If you wanna take a closer look at the code: dumpster_test_bug_fix.zip
Last edited by Mossmanikin on Wed Aug 14, 2013 12:35, edited 1 time in total.

Noob 4 life!
My stuff
 

2001breese@gmail.com
New member
 
Posts: 1
Joined: Thu Aug 15, 2013 12:14

by 2001breese@gmail.com » Thu Aug 15, 2013 12:16

what is that mod
 

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

by Evergreen » Thu Aug 15, 2013 12:23

2001breese@gmail.com wrote:what is that mod
Please be more specific, what do you mean "what is that mod"?
"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 » Sat Aug 24, 2013 16:51

Updates!

[spoiler=updates]
- Added dumpsters
- Added a wield item texture for dumpsters (32x)
[/spoiler]
The dumpster's nodebox is a bit glitchy, so pull requests are welcome.
Last edited by Evergreen on Sat Aug 24, 2013 16:52, 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
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

by philipbenr » Sat Aug 24, 2013 18:58

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


especially for his modern streets mod. :)
"The Foot is down!"
 

User avatar
ch98
Member
 
Posts: 463
Joined: Wed Jan 02, 2013 06:14

by ch98 » Sat Aug 24, 2013 19:07

maybe turn this in to recycle box so everything ever trashed in trash can will automatically go to an inventory of one special node placed near spawn, so there will not be an shortage of materials.
Mudslide mod Click Here
 

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

by Evergreen » Sat Aug 24, 2013 19:09

ch98 wrote:maybe turn this in to recycle box so everything ever trashed in trash can will automatically go to an inventory of one special node placed near spawn, so there will not be an shortage of materials.
I may add that as another kind of node, not sure how to do it though.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

by philipbenr » Sat Aug 24, 2013 19:12

ch98 wrote:maybe turn this in to recycle box so everything ever trashed in trash can will automatically go to an inventory of one special node placed near spawn, so there will not be an shortage of materials.


Reverse crafting? like if you bake a piece of clay into a brick, and you stick that brick into the recycling bin, it will turn back into a lump of clay? or what did you mean?
"The Foot is down!"
 

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

by Evergreen » Sat Aug 24, 2013 19:50

I think I'll take the idea from MumboJumbo (he is a british minecraft youtuber, he makes cool things with redstone), and make a recycling bin that empties itself every sunset/sunrise, but anyone can take stuff out of it.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
Achilles
Member
 
Posts: 246
Joined: Sun Dec 15, 2013 11:55
In-game: Achilles

by Achilles » Thu Feb 20, 2014 20:31

Wow this is an awesome mod...
...for the recycling bin that empties out itself at the end of the day, you could make it like an unlocked chest except that nobody other than yourself can put anything into it.
Is it possible to also make a couple of different bins with different uses.

Bin Type 1: A normal bin that pulverizes the objects put into it.

Bin Type 2: A recycling bin that only you can put stuff into, and that when you put objects into it allows users to take objects from the bin.

Bin Type 3: A public recycling bin that everyone can put objects into, but otherwise is the same as the above.
Last edited by Achilles on Thu Feb 20, 2014 20:31, edited 1 time in total.
The Ironic Thing About Common Sense Is That It Isn't Very Common
 

heavy gale
Member
 
Posts: 15
Joined: Fri Mar 14, 2014 18:37
GitHub: heavygale
In-game: Max or heavygale

by heavy gale » Fri Mar 14, 2014 19:25

Nice mod thanks!

Just two little things:
- Everybody can hear the "Empty Trash" sound, no matter how far I'm away when pressing the button.
- When trowing things into the trash using "q" it doesn't appear in the trash's inventory.
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Sat Mar 15, 2014 02:21

I threw an item on the bucket and incredibly disappeared.
Great mod!
I believe that I can use it on a server, it is very useful to keep the city clean.

heavy gale wrote:- Everybody can hear the "Empty Trash" sound, no matter how far I'm away when pressing the button.

OOHH! I can not use on a server

heavy gale wrote:- When trowing things into the trash using "q" it doesn't appear in the trash's inventory.

Do not care about that (but maybe important for beginners)

I have an idea!
create a large iron trash with the lid open for ease!(the item hits the lid and falls into the trash)
I really liked it!
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

by lightonflux » Sat Mar 15, 2014 02:47

brunob.santos wrote:I threw an item on the bucket and incredibly disappeared.
Great mod!
I believe that I can use it on a server, it is very useful to keep the city clean.

heavy gale wrote:- Everybody can hear the "Empty Trash" sound, no matter how far I'm away when pressing the button.

OOHH! I can not use on a server


Just delete the sound file or comment the following line out.

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
                        minetest.sound_play("trash", …
 

Kilarin
Member
 
Posts: 649
Joined: Mon Mar 10, 2014 00:36

Re: [Mod] Trash Can [github] [trash_can]

by Kilarin » Tue May 20, 2014 19:48

This mod has proven very useful to me!

Is there any way that the trashcan could be used without having to take it out of inventory? Point being, that when I am mining and end up with too many rocks/dirt/gravel/leaves or whatever, instead of having to place the trashcan, then dispose of the unwanted stuff in it, then hit the trashcan until it goes back into inventory. I was wondering if there is any way could you activate the trash_can still in inventory on right click, or with a special keystroke? I can't think of anyway to do that within the current minetest interface, but I'm new at this.
 

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

Re: [Mod] Trash Can [github] [trash_can]

by Evergreen » Tue May 20, 2014 21:34

Kilarin wrote:This mod has proven very useful to me!

Is there any way that the trashcan could be used without having to take it out of inventory? Point being, that when I am mining and end up with too many rocks/dirt/gravel/leaves or whatever, instead of having to place the trashcan, then dispose of the unwanted stuff in it, then hit the trashcan until it goes back into inventory. I was wondering if there is any way could you activate the trash_can still in inventory on right click, or with a special keystroke? I can't think of anyway to do that within the current minetest interface, but I'm new at this.
Thanks! Yes, I think that's a possibility to have the trash can formspec appear when you use the item. I'll add that to my todo list.
 

Kilarin
Member
 
Posts: 649
Joined: Mon Mar 10, 2014 00:36

Re: [Mod] Trash Can [github] [trash_can]

by Kilarin » Tue May 20, 2014 23:12

Evergreen wrote:I think that's a possibility to have the trash can formspec appear when you use the item

That makes sense! Looking forward to a future update!
 

User avatar
Linuxdirk
Member
 
Posts: 497
Joined: Wed Sep 17, 2014 11:21
GitHub: dsohler
In-game: Linuxdirk

Re: [Mod] Trash Can [github] [trash_can]

by Linuxdirk » Thu Nov 13, 2014 14:41

The trash can looks very huge, more like a trash barrel :D Should be half the size :)
 

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

Re: [Mod] Trash Can [github] [trash_can]

by Evergreen » Thu Nov 13, 2014 16:53

Linuxdirk wrote:The trash can looks very huge, more like a trash barrel :D Should be half the size :)

True. But how is one supposed to throw items in it if it were that size? :P
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
Linuxdirk
Member
 
Posts: 497
Joined: Wed Sep 17, 2014 11:21
GitHub: dsohler
In-game: Linuxdirk

Re: [Mod] Trash Can [github] [trash_can]

by Linuxdirk » Fri Nov 14, 2014 14:05

Evergreen wrote:But how is one supposed to throw items in it if it were that size? :P

Good aim :D

Throwing items in seems not to work anyway with Carbone :)
 

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

Re: [Mod] Trash Can [github] [trash_can]

by Evergreen » Fri Nov 14, 2014 16:20

Linuxdirk wrote:
Evergreen wrote:But how is one supposed to throw items in it if it were that size? :P

Good aim :D

Throwing items in seems not to work anyway with Carbone :)

That's true. It doesn't work correctly sometimes, and I'm not sure why.
"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

Re: [Mod] Trash Can [0.2] [trash_can]

by Evergreen » Tue Jan 12, 2016 20:58

Update:

  • New dumpster nodebox and textures. The nodebox is now only 2x1x1 in size.
  • Fixed the issue of the dumpster merging into nodes when placed. (won't fix existing dumpsters)
  • Added screenshot.png and description.txt
  • Make items thrown into trash can simply add themselves to the inventory of the trash can instead of removing themselves. If the trash can is full, the item(s) will not be added. If the trash can is almost full and more than enough item(s) are dropped, the trash can will take what it can and leave the left over item(s).

Note that this mod has been migrated to the minetest-mods github group. Please use the new repo instead,
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
jp
Member
 
Posts: 705
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith

Re: [Mod] Trash Can [0.2.1] [trash_can]

by jp » Wed Jan 13, 2016 00:11

There's a weird thing in your code : https://github.com/minetest-mods/trash_ ... #L122-L124

You can get rid of the loop and use inv:set_list("trashlist", {}) for emptying efficiently your list.
 

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

Re: [Mod] Trash Can [0.2.1] [trash_can]

by Evergreen » Wed Jan 13, 2016 01:54

@jp I noticed that but didn't have time to fix it. Thanks for bringing it to my attention.

EDIT:
Fixed.
"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

Re: [Mod] Trash Can [0.2.2] [trash_can]

by Sokomine » Fri Mar 11, 2016 04:18

Evergreen wrote: Make items thrown into trash can simply add themselves to the inventory of the trash can instead of removing themselves. If the trash can is full, the item(s) will not be added. If the trash can is almost full and more than enough item(s) are dropped, the trash can will take what it can and leave the left over item(s).

Nice feature. Could be entertaining for normal 3d chests as well.
A list of my mods can be found here.
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

Re: [Mod] Trash Can [0.2] [trash_can]

by lightonflux » Fri Mar 11, 2016 11:58

Evergreen wrote:Update:

Note that this mod has been migrated to the minetest-mods github group. Please use the new repo instead,



Can you link it? If you search for it you find many repos.

Is it this group: https://github.com/minetest-mods ? And this repo: https://github.com/minetest-mods/trash_can
 

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

Re: [Mod] Trash Can [0.2] [trash_can]

by Evergreen » Fri Mar 11, 2016 22:45

lightonflux wrote:
Evergreen wrote:Update:

Note that this mod has been migrated to the minetest-mods github group. Please use the new repo instead,



Can you link it? If you search for it you find many repos.

Is it this group: https://github.com/minetest-mods ? And this repo: https://github.com/minetest-mods/trash_can

I updated the links in the main post already, so use those.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
TailsTheFoxDoes MT
Member
 
Posts: 415
Joined: Mon Jan 18, 2016 20:50
In-game: TailsTheFox

Re: [Mod] Trash Can [0.2.2] [trash_can]

by TailsTheFoxDoes MT » Sun Jul 24, 2016 16:24

Uh, this mod and my mob_pack would have a bad time. Because
C:\Minetest\mods\mob_pack\trash_can
C:\Minetest\mods\trash_can
I'm the TailsTMM of minetest, in other words, i rock.
BRAAAAAZZZZAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!!
BTW it means TailsTheMeseMinecart, but that isn't my name, it's just a way of saying that i basically do the same thing Dantdm does but i do it with minetest And you problably can't see the invisible ink.
My mods:
My first mod:tails_boss

Mob_pack now has voice acting! Do you want YOUR VOICE included? Look in my posts for the thread!
 

KCoombes
Member
 
Posts: 278
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt or Rudilyn

Re: [Mod] Trash Can [0.2.2] [trash_can]

by KCoombes » Sun Jul 24, 2016 17:15

TailsTheFoxDoes MT wrote:Uh, this mod and my mob_pack would have a bad time. Because
C:\Minetest\mods\mob_pack\trash_can
C:\Minetest\mods\trash_can


Nope, two totally different mod names - one is mob_pack, the other is trash_can.
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 14 guests

cron