[Mod] compost [git][compost]

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

[Mod] compost [git][compost]

by cd2 » Mon Mar 28, 2016 11:04

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.


+ Crafting
Attachments
screenshot_20160328_124444.png
(285.52 KiB) Not downloaded yet
Last edited by cd2 on Thu Jun 09, 2016 17:06, edited 3 times in total.
 

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

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

by cx384 » Mon Mar 28, 2016 11:10

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
Location: Linux
GitHub: cdqwertz
In-game: cd cd2

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

by cd2 » Mon Mar 28, 2016 11:11

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: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

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

by Nathan.S » Mon Mar 28, 2016 13:05

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
Location: Linux
GitHub: cdqwertz
In-game: cd cd2

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

by cd2 » Mon Mar 28, 2016 13:14

Nathan.S wrote:Very cool. Nice idea.

Thank you :D
 

User avatar
Onyx
Member
 
Posts: 104
Joined: Fri Sep 25, 2015 08:36
Location: Steinheim-NodesNation
In-game: onyx58

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

by Onyx » Mon Mar 28, 2016 17:13

Hi,

Very original idea, a little ecology in MT, well thought. ; )
"Science sans conscience n'est que ruine de l'âme."
-----------------------------------------------------------------------------------------
Steinheim NodesNation : steinheim-minetest.servegame.com Pt : 28000
 

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

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

by Thomas-S » Mon Mar 28, 2016 17:19

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

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

User avatar
Diamond knight
Member
 
Posts: 442
Joined: Sun Apr 19, 2015 19:50
Location: stalker...
GitHub: Diamondknight
In-game: Ferrumprinceps

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

by Diamond knight » Mon Mar 28, 2016 20:51

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
The IMPERIVM FERRVM shall once more blossom!
viewtopic.php?f=3&t=20851

My modding team:
https://github.com/Ferrumian-modding-team
https://discord.gg/FDjC2ah
 

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

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

by cd2 » Tue Mar 29, 2016 12:07

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 » Tue Mar 29, 2016 12:44

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
Location: Linux
GitHub: cdqwertz
In-game: cd cd2

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

by cd2 » Thu Mar 31, 2016 12:05

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.
 

User avatar
cHyper
Member
 
Posts: 762
Joined: Fri May 06, 2011 08:49
Location: Austria
GitHub: cHyper-0815OL
IRC: cHyper
In-game: cHyper
 

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

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

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

by cd2 » Tue Apr 05, 2016 16:03

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

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

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

by Sokomine » Fri Apr 22, 2016 14:33

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
Location: Linux
GitHub: cdqwertz
In-game: cd cd2

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

by cd2 » Sat Apr 23, 2016 07:14

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
Location: Linux
GitHub: cdqwertz
In-game: cd cd2

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

by cd2 » Sat Apr 23, 2016 07:47

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

Image
Attachments
screenshot_20160423_093930.png
(342.25 KiB) Not downloaded yet
 

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

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

by cheapie » Mon Apr 25, 2016 05:11

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
Location: Linux
GitHub: cdqwertz
In-game: cd cd2

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

by cd2 » Tue Apr 26, 2016 16:37

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: 82
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S

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

by Thomas-S » Tue Apr 26, 2016 17:01

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: 77
Joined: Thu May 28, 2015 07:09
Location: Hungary

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

by Martno » Thu Apr 28, 2016 14:57

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: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

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

by Don » Thu Apr 28, 2016 16:11

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
Location: Linux
GitHub: cdqwertz
In-game: cd cd2

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

by cd2 » Fri Apr 29, 2016 15:05

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 » Tue May 03, 2016 17:21

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
(137.82 KiB) Not downloaded yet
2016-05-04-021546_802x630_scrot.png
(296.42 KiB) Not downloaded yet
 

Next

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 5 guests