[Mod] Biofuel [0.5] [biofuel]

User avatar
Lokrates
Member
 
Posts: 17
Joined: Sun Dec 17, 2017 10:22
Location: Lake Lucerne
GitHub: Lokrates

[Mod] Biofuel [0.5] [biofuel]

by Lokrates » Sun Aug 05, 2018 16:22

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
Attachments
Recipes_04.png
(13.7 KiB) Not downloaded yet
Refinery_04.png
(23.75 KiB) Not downloaded yet
screenshot_04.png
(22.97 KiB) Not downloaded yet
Last edited by Lokrates on Sun Jun 30, 2019 16:37, edited 4 times in total.
Hätte ich doch nur Englisch gelernt.
 

amadin
Member
 
Posts: 544
Joined: Tue Jun 16, 2015 16:23

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

by amadin » Mon Aug 06, 2018 11:15

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
 

User avatar
Lokrates
Member
 
Posts: 17
Joined: Sun Dec 17, 2017 10:22
Location: Lake Lucerne
GitHub: Lokrates

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

by Lokrates » Tue Aug 07, 2018 18:13

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.
Hätte ich doch nur Englisch gelernt.
 

User avatar
ShallowDweller
Member
 
Posts: 56
Joined: Thu Nov 02, 2017 22:23

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

by ShallowDweller » Fri Aug 10, 2018 02:28

FINALY! A use for all those endless seed stacks!
 

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

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

by Sokomine » Fri Aug 10, 2018 21:57

The machine to create the biofuel looks particulary nice.
A list of my mods can be found here.
 

User avatar
Lokrates
Member
 
Posts: 17
Joined: Sun Dec 17, 2017 10:22
Location: Lake Lucerne
GitHub: Lokrates

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

by Lokrates » Sun Aug 19, 2018 16:46

Update to version 0.2

BuckarooBanzay added protection calls and Pipeworks-Support.
additional Pooper-Support.
Hätte ich doch nur Englisch gelernt.
 

User avatar
Lokrates
Member
 
Posts: 17
Joined: Sun Dec 17, 2017 10:22
Location: Lake Lucerne
GitHub: Lokrates

[Update] Biofuel 0.4 [2019.06.06]

by Lokrates » Thu Jun 06, 2019 13:07

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.
Hätte ich doch nur Englisch gelernt.
 

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

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

by ThorfinnS » Thu Jun 06, 2019 14:15

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.
 

User avatar
FreeGamers
Member
 
Posts: 282
Joined: Sat May 25, 2019 00:15
Location: United States

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

by FreeGamers » Fri Jun 07, 2019 05:12

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.
"i showed u my source code, pls respond"
 

User avatar
FreeGamers
Member
 
Posts: 282
Joined: Sat May 25, 2019 00:15
Location: United States

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

by FreeGamers » Fri Jun 07, 2019 05:16

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.
"i showed u my source code, pls respond"
 

User avatar
FreeGamers
Member
 
Posts: 282
Joined: Sat May 25, 2019 00:15
Location: United States

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

by FreeGamers » Fri Jun 07, 2019 05:21

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.
"i showed u my source code, pls respond"
 

User avatar
FreeGamers
Member
 
Posts: 282
Joined: Sat May 25, 2019 00:15
Location: United States

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

by FreeGamers » Fri Jun 07, 2019 06:58

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.
"i showed u my source code, pls respond"
 

User avatar
Lokrates
Member
 
Posts: 17
Joined: Sun Dec 17, 2017 10:22
Location: Lake Lucerne
GitHub: Lokrates

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

by Lokrates » Fri Jun 07, 2019 08:00

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.
Hätte ich doch nur Englisch gelernt.
 

User avatar
FreeGamers
Member
 
Posts: 282
Joined: Sat May 25, 2019 00:15
Location: United States

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

by FreeGamers » Sat Jun 08, 2019 02:42

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.
"i showed u my source code, pls respond"
 

User avatar
FreeGamers
Member
 
Posts: 282
Joined: Sat May 25, 2019 00:15
Location: United States

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

by FreeGamers » Sat Jun 08, 2019 21:18

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".
"i showed u my source code, pls respond"
 

User avatar
Lokrates
Member
 
Posts: 17
Joined: Sun Dec 17, 2017 10:22
Location: Lake Lucerne
GitHub: Lokrates

Update [Mod] Biofuel [0.5] [biofuel]

by Lokrates » Sun Jun 30, 2019 16:41

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.
Hätte ich doch nur Englisch gelernt.
 

User avatar
FreeGamers
Member
 
Posts: 282
Joined: Sat May 25, 2019 00:15
Location: United States

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

by FreeGamers » Sun Jun 30, 2019 18:31

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!
"i showed u my source code, pls respond"
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 10 guests