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:
For the grille, use steel bars and steel wire:
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.
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