[Mod] New Campfire [0.3.0] [new_campfire]

User avatar
googol
Member
Posts: 83
Joined: Mon Dec 09, 2013 09:23

[Mod] New Campfire [0.3.0] [new_campfire]

by googol » Post

This mod provides a nicer campfire.

Image

Using the mod:

Simply craft one and place it, then wield flint and steel and right-click on the campfire to ignite it.

If you want to cook with it, craft a grille and place it over the campfire/fireplace (whether it's burning or not). Add sticks and ignite the fire, if needed, then right-click on it with some food. After a short pause, the food is done, but get it off the grille quick, or it'll burn up into a puff of smoke!

A fire will burn down into embers after a while; just add more sticks by right-clicking with them to re-ignite the flames (it takes a couple of seconds for the flames to appear). You cannot cook over embers.

After a while, the embers will degrade into ashes -- the fire is completely extinguished now. Gather up the ashes, add sticks, and use flint and steel to re-ignite it.

Crafting and technical:

To get the initial campfire, use sticks and cobblestone slabs, like so:

Image

For the grille, use steel bars and steel wire:

Image

You can change the following parameters:

Code: Select all

new_campfire.cooking = 1        -- nil - not cooked, 1 - cooked
new_campfire.limited = 1        -- nil - unlimited campfire, 1 - limited
new_campfire.flames_ttl = 30    -- Time in seconds until a fire burns down into embers
new_campfire.embers_ttl = 60    -- seconds until embers burn out completely leaving ash and an empty fireplace.
new_campfire.flare_up = 2       -- seconds from adding a stick to embers before it flares into a fire again
new_campfire.stick_time = new_campfire.flames_ttl/2;   -- How long does the stick increase. In sec.
License: Code: LGPLv2.1+, textures: CC BY-SA 3.0 Unported

Mod dependencies: default, fire, basic_materials

Downloads:
Get it as a zip: https://github.com/mt-mods/new_campfire ... master.zip
...or browse the code: https://github.com/mt-mods/new_campfire

Discussion / Issues: Discussion should take place here, on the forum post. Bugs should be filed against VanessaE's Gitlab fork (link above), or here in this forum topic if necessary.

Video (for old versions, but still useful):
On youtube: https://youtu.be/DEoYb-Jz0Mw
[0.1.0] - 2017-02-07
- Release

[0.1.1] - 2017-02-08
- added initllib support
- improved texture fire

[0.1.3] - 2017-03-15
- added: sound file, new textures, changed model, config_file
- added campfire life time

[0.2.0] - 2017-02-13
- added animation particles of fire and smoke

[0.2.3] - 2017-03-15
- added: sound file, new textures, changed model, config_file
- added campfire life time

[0.2.4] - 2017-04-20
- added: fireplace, ash
- flammable nodes around the campfire can fire
- removed config_file
- changed recipe

[0.3.0] - 2017-06-05
- added: cooking

2020-06-02
- Forked by VanessaE:
- grille required for cooking
- fires burn down into embers, then into ashes
- empty fireplace or embers can be refueled. Browse the code via mercurial: https://bitbucket.org/g00g01/new_campfire

Bugs in old versions may be reported there; please limit forum-reported issues to new versions taken from VanessaE's fork, to avoid confusion.

For Minetest 0.4.16 through 0.4.17.1:

Download v.0.3.0
Download v.0.2.4
Download v.0.2.3

For Minetest 0.4.14 - 0.4.15:

Download v.0.1.3
Download v.0.1.1
Attachments
Screenshot.png
Screenshot.png (399.34 KiB) Viewed 2834 times
crafting, grille.png
crafting, grille.png (9.71 KiB) Viewed 2834 times
crafting, campfire.png
crafting, campfire.png (16.91 KiB) Viewed 2834 times
Last edited by googol on Thu Jun 08, 2017 06:22, edited 10 times in total.

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [Mod] New Campfire [0.1.1] [new_campfire]

by TumeniNodes » Post

I like it!
A Wonderful World

User avatar
googol
Member
Posts: 83
Joined: Mon Dec 09, 2013 09:23

Re: [Mod] New Campfire [0.1.1] [new_campfire]

by googol » Post

Thank you.

User avatar
googol
Member
Posts: 83
Joined: Mon Dec 09, 2013 09:23

Re: [Mod] New Campfire [0.2.0] [new_campfire]

by googol » Post

New version for minetest 4.15-dev or above!!!
I am groot!

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] New Campfire [0.2.0] [new_campfire]

by azekill_DIABLO » Post

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

echosa
Member
Posts: 107
Joined: Tue Aug 30, 2016 04:01

Re: [Mod] New Campfire [0.2.0] [new_campfire]

by echosa » Post

What is the difference between this mod and viewtopic.php?f=11&t=10569? I'm asking because I currently use that other one in my subgame.

User avatar
googol
Member
Posts: 83
Joined: Mon Dec 09, 2013 09:23

Re: [Mod] New Campfire [0.2.0] [new_campfire]

by googol » Post

echosa wrote:What is the difference between this mod and viewtopic.php?f=11&t=10569? I'm asking because I currently use that other one in my subgame.
1. Other fire
Spoiler
ImageImage
2. Other code
3. Not for cook
4. My is eternal fire

For fun

P.S. You forced me to edit the old code to run it on minetest 4.15 :(
I am groot!

echosa
Member
Posts: 107
Joined: Tue Aug 30, 2016 04:01

Re: [Mod] New Campfire [0.2.0] [new_campfire]

by echosa » Post

Awesome! Thanks for that breakdown! That makes it much more clear. :-)

User avatar
googol
Member
Posts: 83
Joined: Mon Dec 09, 2013 09:23

Re: [Mod] New Campfire [0.2.0] [new_campfire]

by googol » Post

Somebody uses this fire on the server?
There is a problem?
I am groot!

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] New Campfire [0.2.0] [new_campfire]

by burli » Post

It would be awesome if I can cook food in this campfire, but not for smelting

Chibi ghost
Member
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [Mod] New Campfire [0.2.0] [new_campfire]

by Chibi ghost » Post

I tried it and the flame looks squashed other than that very nice

User avatar
googol
Member
Posts: 83
Joined: Mon Dec 09, 2013 09:23

Re: [Mod] New Campfire [0.2.0] [new_campfire]

by googol » Post

Chibi ghost wrote:I tried it and the flame looks squashed other than that very nice
Your version minetest is 4.15
And you test campfire 0.1.1
Is right?
can you do screenshot?
I am groot!

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] New Campfire [0.2.0] [new_campfire]

by azekill_DIABLO » Post

wow the particle work is great! flames are awesome!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
googol
Member
Posts: 83
Joined: Mon Dec 09, 2013 09:23

Re: [Mod] New Campfire [0.2.3] [new_campfire]

by googol » Post

Old version 0.1.3
- added: sound file, new textures, changed model, config_file
- added campfire life time

New version 0.2.3
- added: sound file, new textures, changed model, config_file
- added campfire life time
I am groot!

User avatar
googol
Member
Posts: 83
Joined: Mon Dec 09, 2013 09:23

Re: [Mod] New Campfire [0.2.4] [new_campfire]

by googol » Post

New version 0.2.4
added: fireplace, ash
- flamable nodes around the campfire can fire
- removed config_file
- changed recipe
I am groot!

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] New Campfire [0.2.4] [new_campfire]

by azekill_DIABLO » Post

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

User avatar
googol
Member
Posts: 83
Joined: Mon Dec 09, 2013 09:23

Re: [Mod] New Campfire [0.3.0] [new_campfire]

by googol » Post

New version 0.3.0
Now can cook. Right click to.
Last edited by googol on Thu Jun 08, 2017 06:13, edited 1 time in total.
I am groot!

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] New Campfire [0.3.0] [new_campfire]

by azekill_DIABLO » Post

cool, but you robably mean: ""now can cook""?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

Chibi ghost
Member
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [Mod] New Campfire [0.3.0] [new_campfire]

by Chibi ghost » Post

put raw meat etc in get cooked meat etc out
nathan's mod has a similar mechanic

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] New Campfire [0.3.0] [new_campfire]

by azekill_DIABLO » Post

Chibi ghost wrote:put raw meat etc in get cooked meat etc out
thanks i had understood.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
googol
Member
Posts: 83
Joined: Mon Dec 09, 2013 09:23

Re: [Mod] New Campfire [0.3.0] [new_campfire]

by googol » Post

Chibi ghost wrote:...nathan's mod has a similar mechanic
What your mean?

My pre release video
https://www.youtube.com/watch?v=6ob-X1jG_GU
I am groot!

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod] New Campfire [0.3.0] [new_campfire]

by Napiophelios » Post

I really like the changes you make to this mod.
I add it to my W.I.P. subgame with some changes of course :)

Image
uses default textures
uses default textures
preview.gif (245.15 KiB) Viewed 2835 times
Last edited by Napiophelios on Fri Sep 08, 2017 00:50, edited 1 time 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] New Campfire [0.3.0] [new_campfire]

by azekill_DIABLO » Post

i love it, the flmaes are far more consistent!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
googol
Member
Posts: 83
Joined: Mon Dec 09, 2013 09:23

Re: [Mod] New Campfire [0.3.0] [new_campfire]

by googol » Post

Hi all.
That you think about this concept of campfire?
Image
https://www.youtube.com/watch?v=FznVgWduYDk
I am groot!

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] New Campfire [0.3.0] [new_campfire]

by azekill_DIABLO » Post

looks different but nice! maybe it would fit better in a low poly game tough. But it really looks like ifre here.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

Post Reply

Who is online

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