[Mod] compost [git][compost]

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

[Mod] compost [git][compost]

by cd2 » Post

Compost

With this mod, you are able to compost grass, leaves, flowers...
To compost plants you need a barrel. Punch it while you are wielding the plant and wait.
After some minutes, you can punch it again and you will get compost.
You can craft garden soil out of 2 compost blocks.

Image

Download https://github.com/cdqwertz/compost/archive/master.zip
GitHub https://github.com/cdqwertz/compost
License: LGPL 2.1 or later

Dependencies: default

Report bugs or request help on the forum topic.
Spoiler
Spoiler

Code: Select all

W X W
W X W
W S W

W : wood
S : wooden slab
X : nothing
Attachments
screenshot_20160328_124444.png
screenshot_20160328_124444.png (285.52 KiB) Viewed 4036 times
Last edited by cd2 on Thu Jun 09, 2016 17:06, edited 3 times in total.

User avatar
cx384
Member
Posts: 654
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [mod]compost[wip][git][compost]

by cx384 » Post

Nice mod! :D
A long time ago I want to make such a mod, too.
Last edited by cx384 on Sat Apr 08, 2017 15:11, edited 1 time in total.
Can your read this?

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [mod]compost[wip][git][compost]

by cd2 » Post

cx384 wrote:Nice mod! :D
A long time ago i want to make such a mod, too.
Thank you :D

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Mod] compost [wip][git][compost]

by Nathan.S » Post

Very cool. Nice idea.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [Mod] compost [wip][git][compost]

by cd2 » Post

Nathan.S wrote:Very cool. Nice idea.
Thank you :D

User avatar
Onyx
Member
Posts: 132
Joined: Fri Sep 25, 2015 08:36
In-game: Onyx
Location: On your planet

Re: [Mod] compost [wip][git][compost]

by Onyx » Post

Hi,

Very original idea, a little ecology in MT, well thought. ; )
"One chunk, two chunks, three chunks..."

Thomas-S
Member
Posts: 115
Joined: Sun Sep 06, 2015 12:23
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S
Location: Bavaria, Germany

Re: [Mod] compost [wip][git][compost]

by Thomas-S » Post

This is a really good idea. Thanks for creating such a interesting mod.

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 [wip][git][compost]

by azekill_DIABLO » Post

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

User avatar
Diamond knight
Member
Posts: 475
Joined: Sun Apr 19, 2015 19:50
GitHub: Diamondknight
In-game: Ferrumprinceps
Location: Chilling in Constantinople
Contact:

Re: [Mod] compost [wip][git][compost]

by Diamond knight » Post

this would be good for skyblock and dirtless mapgen servers, give sapling and 1 dirt in give_initial_stuff and eventually you can terraform server back to normal

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [Mod] compost [wip][git][compost]

by cd2 » Post

Onyx wrote:Hi,

Very original idea, a little ecology in MT, well thought. ; )
Thomas-S wrote:This is a really good idea. Thanks for creating such a interesting mod.
azekill_DIABLO wrote::) it's a nice little mod!
Thank you for your feedback :D
Diamond knight wrote:this would be good for skyblock and dirtless mapgen servers, give sapling and 1 dirt in give_initial_stuff and eventually you can terraform server back to normal
yes

User avatar
veikk0
New member
Posts: 7
Joined: Tue Feb 05, 2013 16:35

Re: [Mod] compost [wip][git][compost]

by veikk0 » Post

This is really cool! I can finally become the number 1 dirt manufacturer.

I have some suggestions for improvements:

- Make the barrel craftable from group:wood instead of just default:wood
- Have the barrels accept more types of leaves and other organic material. Currently default:acacia_leaves and default:aspen_leaves can't be used. Being able to compost food would also be nice. There's also a lot of mods that add more tree leaves and other compostable stuff (like More Trees and Farming Redo) and it would be nice to have your mod support those too.
- Require more than one item to fill up the barrel. Right now one item makes one whole block of dirt. This doesn't make much sense since leaves are the kind of material that would compress very well and I think you could fit at least 3 leaf blocks into a barrel. This is even more true for flowers.

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [Mod] compost [wip][git][compost]

by cd2 » Post

veikk0 wrote:This is really cool! I can finally become the number 1 dirt manufacturer.

I have some suggestions for improvements:

- Make the barrel craftable from group:wood instead of just default:wood
- Have the barrels accept more types of leaves and other organic material. Currently default:acacia_leaves and default:aspen_leaves can't be used. Being able to compost food would also be nice. There's also a lot of mods that add more tree leaves and other compostable stuff (like More Trees and Farming Redo) and it would be nice to have your mod support those too.
- Require more than one item to fill up the barrel. Right now one item makes one whole block of dirt. This doesn't make much sense since leaves are the kind of material that would compress very well and I think you could fit at least 3 leaf blocks into a barrel. This is even more true for flowers.
Thank you :D
1. I think the barrel was be craftable from group:wood, you would be able to craft it from slabs or stairs...
2. maybe I will add support for groups - so it would support many different mods. Composting of food is a great idea :D I will add that.
3. Good idea, I will add that.

u34

Re: [Mod] compost [wip][git][compost]

by u34 » Post

+1

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [Mod] compost [wip][git][compost]

by cd2 » Post

cHyper wrote:+1
Thank you :D

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [Mod] compost [wip][git][compost]

by cd2 » Post

UPDATE
I added some new things you can compost:
  • aspen leaves
  • acacia leaves
  • wheat
  • more flowers

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] compost [wip][git][compost]

by Sokomine » Post

Finally! Some way of recycling organic material. I'm sure it'll look very decorative in gardens and be useful there. However, getting dirt is only of limited use - most worlds contain so much of it already. Fertilizer that speeds up plant (or tree!) growth might be quite welcome in those worlds which have already lots of dirt.
A list of my mods can be found here.

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [Mod] compost [wip][git][compost]

by cd2 » Post

Sokomine wrote:Finally! Some way of recycling organic material. I'm sure it'll look very decorative in gardens and be useful there. However, getting dirt is only of limited use - most worlds contain so much of it already. Fertilizer that speeds up plant (or tree!) growth might be quite welcome in those worlds which have already lots of dirt.
Thank you :D
I think I will change the item you get to a new item named compost. You will be able to craft 1 garden soil out of 2 compost.

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [Mod] compost [wip][git][compost]

by cd2 » Post

I added garden soil. If you use garden soil you dont need water to build a farm:

Image
Attachments
screenshot_20160423_093930.png
screenshot_20160423_093930.png (342.25 KiB) Viewed 4036 times

User avatar
cheapie
Member
Posts: 316
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

Re: [Mod] compost [wip][git][compost]

by cheapie » Post

cd2 wrote:I added garden soil. If you use garden soil you dont need water to build a farm:
It might be a good idea to add an ABM (or something) to garden soil that runs every so often, and makes the plant on top (if present) grow a bit, in addition to what the plant already does.

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [Mod] compost [wip][git][compost]

by cd2 » Post

cheapie wrote:
cd2 wrote:I added garden soil. If you use garden soil you dont need water to build a farm:
It might be a good idea to add an ABM (or something) to garden soil that runs every so often, and makes the plant on top (if present) grow a bit, in addition to what the plant already does.
Thats a good idea, I think I will add that :)

Thomas-S
Member
Posts: 115
Joined: Sun Sep 06, 2015 12:23
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S
Location: Bavaria, Germany

Re: [Mod] compost [wip][git][compost]

by Thomas-S » Post

Please remember, that an extra abm will cause extra lag. Also remember the different plants/farming mods with their different growing functions. I suggest to make this function optional.

Martno
Member
Posts: 80
Joined: Thu May 28, 2015 07:09
Location: Hungary

Re: [Mod] compost [wip][git][compost]

by Martno » Post

Great mod.
But I think it's a little easy. The garden soil is very good (no need for hoe, and doesn't need water) but it's too cheap. Also, you can make compost too fast.
Suggestions:
- Make harder (more expensive) to craft garden soil (more compost, maybe a dirt block in the recipe?)
- Plant changing to compost should be slower
Additionally a plantlife modpack support would be great.

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] compost [wip][git][compost]

by Don » Post

Instead of registering items you might want to consider registering groups instead. That's what l did in mymulch.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here

User avatar
cd2
Member
Posts: 562
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
In-game: cd cd2
Location: Linux
Contact:

Re: [Mod] compost [wip][git][compost]

by cd2 » Post

Thomas-S wrote:Please remember, that an extra abm will cause extra lag. Also remember the different plants/farming mods with their different growing functions. I suggest to make this function optional.
Good idea :)
Martno wrote:Great mod.
But I think it's a little easy. The garden soil is very good (no need for hoe, and doesn't need water) but it's too cheap. Also, you can make compost too fast.
Suggestions:
- Make harder (more expensive) to craft garden soil (more compost, maybe a dirt block in the recipe?)
- Plant changing to compost should be slower
Additionally a plantlife modpack support would be great.
Thank you :D
1. I will change that
2. I know that the compost is very fast, I will make it slower - It is very fast, bc I still test some things :)
Don wrote:Instead of registering items you might want to consider registering groups instead. That's what l did in mymulch.
cd2 wrote: 2. maybe I will add support for groups - so it would support many different mods. Composting of food is a great idea

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

Re: [Mod] compost [wip][git][compost]

by vitalie » Post

Here's my variation of the compost bin.

Changes:
  • ABM removed. Composting progress is controlled by timer (+10% every 30 seconds).
  • Two node variants instead of four. Now it's either empty, or full.
  • Crafting recipe changed. Now any wood would do. The bottom is still plain "slab_wood" only (because there's no "slab" group).
  • Composting output simplified. Now it's just "default:dirt".
  • Composting inputs changed. Now anything from "group:leaves" and "group:flora" (flowers and grasses) is compostable. Food not compostable for aesthetic reasons.
  • Composting is more expensive. Now it takes 8 inputs to create one output.
  • Composting takes more time. Now it's 5 minutes to create one block of output.
  • Formspec added. Right-clicking a compost opens a menu: eight slots for organic inputs and one slot for soil.
  • Punching mechanics changed. If you wield something compostable and there's room in the bin, punching the bin will move it inside. If there's compost inside and your hand is bare, punching the bin will move the compost from the bin into your hand. Two actions can be combined: punch with a compostable and get dirt instead.
  • Infotext added. Now you can see composting progress by pointing at the bin.
Download https://github.com/ciubotaru/compost/archive/stable.zip
GitHub https://github.com/ciubotaru/compost
License: GPL 3.0 or later

Image

Image
Attachments
2016-05-04-021553_802x630_scrot.png
2016-05-04-021553_802x630_scrot.png (137.82 KiB) Viewed 4036 times
2016-05-04-021546_802x630_scrot.png
2016-05-04-021546_802x630_scrot.png (296.42 KiB) Viewed 4036 times

Post Reply

Who is online

Users browsing this forum: No registered users and 43 guests