[Mod] Compost Bin [0.0.2] [compost]

Post Reply
vitalie
Member
Posts: 66
Joined: Wed Feb 24, 2016 07:38
GitHub: ciubotaru

[Mod] Compost Bin [0.0.2] [compost]

by vitalie » Post

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.
Attachments
3.png
3.png (281.11 KiB) Viewed 1452 times
Last edited by vitalie on Wed Mar 01, 2017 14:51, edited 3 times in total.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

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

by azekill_DIABLO » Post

just to say : i saw your job and i posted my fork before you: compressor mod XD (sorry)

nice mod!!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

vitalie
Member
Posts: 66
Joined: Wed Feb 24, 2016 07:38
GitHub: ciubotaru

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

by vitalie » Post

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.

User avatar
Casimir
Member
Posts: 1206
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi

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

by Casimir » Post

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!

im-poke
Member
Posts: 1084
Joined: Sat Apr 18, 2015 15:50
IRC: poke
In-game: poke
Location: Somewhere in the Universe, on a weird planet called Earth/

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

by im-poke » Post

Great mod
ARE YOU A NYAN CAT?????
--ABJ

vitalie
Member
Posts: 66
Joined: Wed Feb 24, 2016 07:38
GitHub: ciubotaru

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

by vitalie » Post

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.

User avatar
j0j0n4th4n
Member
Posts: 249
Joined: Tue Jan 26, 2021 06:45

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

by j0j0n4th4n » Post

Does plant like nodes from mods work with this mod or they need to be put in a table?
cdb_894a100ddd76

ThorfinnS
Member
Posts: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

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

by ThorfinnS » Post

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.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 21 guests