Page 1 of 1

[Mod] Compost Bin [0.0.2] [compost]

Posted: Thu May 05, 2016 06:37
by vitalie
Image
This mod is based on another compost mod. The original author suggested (here) that I release my changes separately. Hence this topic.

Mod details
Compost bins turn organic matter like leaves, flowers, grass etc into soil.

Crafting a composting bin requires 6 pieces of any wood and a wooden slab. An empty compost bin looks like a hollow block of wood. To operate the bin, right- or left-click it. Right-clicking a compost opens a menu: eight slots for organic inputs and one slot for soil. To compost your leaves, flowers and grasses (not food), place them into the input slots. Alternatively, punch (left-click) the bin with something compostable. As soon as there are 8 items inside, the process begins. It takes 5 minutes to produce one block of soil. To see composting progress, just point at the bin. The result of composting is normal dirt. To take it from the bin, right-click and move it into your inventory or, alternatively, punch the bin with a bare hand.

Composting might be very useful in dirtless worlds and in hostile biomes. It can also be a good educational tool in promoting environmental awareness, ecology and recycling.

New nodes: Compost Bin (empty or full)

Crafting recipe

Code: Select all

group:wood --------- group:wood
group:wood --------- group:wood
group:wood slab_wood group:wood
Mod dependencies: default, stairs
Download https://github.com/ciubotaru/compost/archive/stable.zip
GitHub https://github.com/ciubotaru/compost

License
  • Code: GPLv3 or later
  • Resources: CC-BY-SA 3.0
Thanks
Credit for the idea goes to cd2, whose work was used as a basis. Current functionality was inspired by comments (from Diamond knight, veikk0, Martno, Don et al.) in his topic. Thank you all!

P.S.: My first mod.

Re: [Mod] Compost Bin [0.0.1] [compost]

Posted: Thu May 05, 2016 10:20
by azekill_DIABLO
just to say : i saw your job and i posted my fork before you: compressor mod XD (sorry)

nice mod!!

Re: [Mod] Compost Bin [0.0.1] [compost]

Posted: Mon May 09, 2016 05:39
by vitalie
azekill_DIABLO wrote:just to say : i saw your job and i posted my fork before you: compressor mod XD (sorry)
Great. Nice to see that people find my code useful.
azekill_DIABLO wrote:nice mod!!
Thank you!

Feel free to share your thoughts and suggestions.

Re: [Mod] Compost Bin [0.0.1] [compost]

Posted: Mon May 09, 2016 19:26
by Casimir
Since I started with minetest I wanted to do a compost bin like this, but I somehow never came around to make it. Now you wrote it just like I imagined it! It is wonderful!

Re: [Mod] Compost Bin [0.0.1] [compost]

Posted: Fri Sep 30, 2016 07:28
by im-poke
Great mod

Re: [Mod] Compost Bin [0.0.2] [compost]

Posted: Wed Mar 01, 2017 14:50
by vitalie
Version 0.0.2 is out.

Changes:
  • new compostable items (flower group and various grasses)
  • intllib support added
  • PT, RO and RU translations added
Download https://github.com/ciubotaru/compost/archive/v0.0.2.zip

P.S.: Special thanks to BrunoMine for his interest and help.

Re: [Mod] Compost Bin [0.0.2] [compost]

Posted: Fri Sep 24, 2021 18:33
by j0j0n4th4n
Does plant like nodes from mods work with this mod or they need to be put in a table?

Re: [Mod] Compost Bin [0.0.2] [compost]

Posted: Mon Oct 18, 2021 16:21
by ThorfinnS
j0j0n4th4n wrote:
Fri Sep 24, 2021 18:33
Does plant like nodes from mods work with this mod or they need to be put in a table?
Depends. If the node was defined to be in group leaves, flora or flower, it is good to go. runs' Cool Trees, for example, is largely if not completely compatible.

If not, you need to add it specifically, or, maybe easier, add the group category to the mod which did not use groups, and ideally submit a pull request to the author of that mod.