Page 1 of 1

[Mod] Biofuel [0.5] [biofuel]

PostPosted: Sun Aug 05, 2018 16:22
by Lokrates
A Minetest-Mod to produce biofuel from unused plants.
Forked from Compost Mod by Vitalie

Image

Image

Image

1 Vial (Burntime 10 sec)
4 Vials = 1 Bottle (Burntime 40 sec)
9 Bottles = 1 Can (Burntime 370 sec)

Supported modifications:
Pipeworks
Farming_Redo
Wine
Cucina Vegana
Pooper

Download V0.5
Download V0.3

Re: [Mod] Biofuel [0.1] [biofuel]

PostPosted: Mon Aug 06, 2018 11:15
by amadin
When I saw the name, I thought it was fuel from excrement of cows and pigs or biodiesel. Biofuel is in the standard game - coal

Re: [Mod] Biofuel [0.1] [biofuel]

PostPosted: Tue Aug 07, 2018 18:13
by Lokrates
amadin wrote:When I saw the name, I thought it was fuel from excrement of cows and pigs or biodiesel.


It is fuel from plants like biodiesel. But I can add support for the Pooper-Mod. Then you can play with excrement.

amadin wrote: Biofuel is in the standard game - coal


Coal is fossil fuel.

Re: [Mod] Biofuel [0.1] [biofuel]

PostPosted: Fri Aug 10, 2018 02:28
by ShallowDweller
FINALY! A use for all those endless seed stacks!

Re: [Mod] Biofuel [0.1] [biofuel]

PostPosted: Fri Aug 10, 2018 21:57
by Sokomine
The machine to create the biofuel looks particulary nice.

Re: [Mod] Biofuel [0.2] [biofuel]

PostPosted: Sun Aug 19, 2018 16:46
by Lokrates
Update to version 0.2

BuckarooBanzay added protection calls and Pipeworks-Support.
additional Pooper-Support.

[Update] Biofuel 0.4 [2019.06.06]

PostPosted: Thu Jun 06, 2019 13:07
by Lokrates
Update to version 0.4

- The refinery now processes additional plants from Cucina Vegana and Farming Redo.
- The modification was somewhat overpowered, the refinery now produces only vials of fuel.
- You can now fill oil and spirits from Wine, Farming Redo and Cucina Vegana in the canister.

Re: [Mod] Biofuel [0.4] [biofuel]

PostPosted: Thu Jun 06, 2019 14:15
by ThorfinnS
Very cool. Thanks!

How about using some group, say, biofuel=1, for whether something is biofuel-able, so all the mod maker (like Clyde for vegana or runs for cool trees or whatever) need do is set that group when he defines the node and it's supported? Keeps you from having to issue new releases to keep up with new mods.

Re: [Mod] Biofuel [0.4] [biofuel]

PostPosted: Fri Jun 07, 2019 05:12
by FreeGamers
I don't have "wine" by TenPlus1 currently activated on my server and I'm getting this in my error log.

2019-06-07 00:08:46: ERROR[Main]: ModError: Failed to load and run script from /usr/share/games/minetest/mods/lib_items/biofuel/init.lua:
2019-06-07 00:08:46: ERROR[Main]: .../share/games/minetest/mods/lib_items/biofuel/biofuel.lua:73: Attempt to override non-existent item wine:bottle_rum
2019-06-07 00:08:46: ERROR[Main]: stack traceback:
2019-06-07 00:08:46: ERROR[Main]: [C]: in function 'error'
2019-06-07 00:08:46: ERROR[Main]: /usr/share/games/minetest/builtin/game/register.lua:388: in function 'override_item'
2019-06-07 00:08:46: ERROR[Main]: .../share/games/minetest/mods/lib_items/biofuel/biofuel.lua:73: in main chunk
2019-06-07 00:08:46: ERROR[Main]: [C]: in function 'dofile'
2019-06-07 00:08:46: ERROR[Main]: /usr/share/games/minetest/mods/lib_items/biofuel/init.lua:1: in main chunk


Looks like you have a hard dependency there. I have Pooper and Farming Redo installed so I haven't tested dependencies against those.

Re: [Mod] Biofuel [0.4] [biofuel]

PostPosted: Fri Jun 07, 2019 05:16
by FreeGamers
2019-06-07 00:15:10: ERROR[Main]: ModError: Failed to load and run script from /usr/share/games/minetest/mods/lib_items/biofuel/init.lua:
2019-06-07 00:15:10: ERROR[Main]: .../share/games/minetest/mods/lib_items/biofuel/biofuel.lua:102: Attempt to override non-existent item cucina_vegana:sunflower_seeds_oil
2019-06-07 00:15:10: ERROR[Main]: stack traceback:
2019-06-07 00:15:10: ERROR[Main]: [C]: in function 'error'
2019-06-07 00:15:10: ERROR[Main]: /usr/share/games/minetest/builtin/game/register.lua:388: in function 'override_item'
2019-06-07 00:15:10: ERROR[Main]: .../share/games/minetest/mods/lib_items/biofuel/biofuel.lua:102: in main chunk
2019-06-07 00:15:10: ERROR[Main]: [C]: in function 'dofile'
2019-06-07 00:15:10: ERROR[Main]: /usr/share/games/minetest/mods/lib_items/biofuel/init.lua:1: in main chunk


I reenabled wine and then got this error. I don't have the vegan mod installed.

Re: [Mod] Biofuel [0.4] [biofuel]

PostPosted: Fri Jun 07, 2019 05:21
by FreeGamers
It works fine if I comment out the lines referring to the crafting recipes of the other mods. That was in the biofuels.lua file. Perhaps you could add some sort of IF statement to look for mod-paths of the other mods before executing these lines as they're creating hard dependencies for your mod? I'm not that great at programming (yet) or I'd add them for you.

My thoughts on this mod are: "Cool!". I like any mod that further extends existing functionality of items already in the game. I've been using the compost mod you forked this from to reuse plant parts that have been storing up in my storage chests. This mod also got me to re-add the "Pooper" mod to my server too since I was starting to view that mod as a bit useless after awhile.

Re: [Mod] Biofuel [0.4] [biofuel]

PostPosted: Fri Jun 07, 2019 06:58
by FreeGamers
I've just got around to using it in game. Here are some thoughts:

It crafts *really* fast. It goes from 0% to 100% in about 4-5 seconds.

The names are a bit confusing. Phial Fuel, Bottle Fuel, and Fuel Canister do not conform to convey clarity. Wouldn't something along the line of "Vial of Biofuel", "Bottle of Biofuel", and "Canister of Biofuel" be a bit more obvious to users? Even the alternative "Biofule Vial", "Biofuel Bottle", or "Biofuel Canister" work fine. I tested crafting it, using it in a furnace, crafting higher tier biofuels, and crafting a canister from ethanol drinks in "wine". Good mod! I'm going to adjust the values in my server like I've listed above.

Re: [Mod] Biofuel [0.4.1] [biofuel]

PostPosted: Fri Jun 07, 2019 08:00
by Lokrates
I have fixed the dependency bug provisional. Looks like I have not tested the mod enough. I will include the other suggestions in the next version. My programming skills and English skills are rather modest.

Re: [Mod] Biofuel [0.4.1] [biofuel]

PostPosted: Sat Jun 08, 2019 02:42
by FreeGamers
Lokrates wrote:I have fixed the dependency bug provisional. Looks like I have not tested the mod enough. I will include the other suggestions in the next version. My programming skills and English skills are rather modest.


The mod seems to work fine. I've been making biofuel out of poop all day. Don't worry about missing that, things get over looked sometimes. I'm glad you updated the mod! I'll check it out in git.

Re: [Mod] Biofuel [0.4.1] [biofuel]

PostPosted: Sat Jun 08, 2019 21:18
by FreeGamers
Would you consider adding support for the "nettle" mod?
viewtopic.php?f=9&t=22309

EDIT: actually, it seemed to work fine "out of the box".

Update [Mod] Biofuel [0.5] [biofuel]

PostPosted: Sun Jun 30, 2019 16:41
by Lokrates
New in version 0.5

- Dependencies bug fixed
- settingtypes.txt for easy configuration added
- api.txt for easy support of modifications added
- French, Italian and Spanish translations added with the google translator

Some beta tests would be fine before I upload the modification to the content database.

Re: Update [Mod] Biofuel [0.5] [biofuel]

PostPosted: Sun Jun 30, 2019 18:31
by FreeGamers
Lokrates wrote:New in version 0.5

- Dependencies bug fixed
- settingtypes.txt for easy configuration added
- api.txt for easy support of modifications added
- French, Italian and Spanish translations added with the google translator

Some beta tests would be fine before I upload the modification to the content database.


I threw version 0.5 into my server. No error messages this time around and I see you cleaned up the names. I think it looks really good. I still think the biomass processes into fuel very quickly out of the box. I sort of like how compost slowly converts it over time. But I was able to use the settingtypes.conf parameter to adjust the behavior by adding the line "fuel_production_time = 300" to my minetest.conf file.

Looks good!