LazyJ's Fork of Semmett9's, Minetest Mod, "Fake Fire"This fork of 'Fake Fire' is based off of Semmett9's 2014_03_14 release of the
mod.
At
LinuxGaming.us, we have a creative-leaning
Minetest server. Destruction by
arson is not something we like. When the Fake Fire mod was installed we finally
could make warm hearths and campfires without fear of burning down our builds.
We could also use Fake Fire to simulate things burning without worrying our
neighbors about the fires spreading and destroying their stuff.
As a creative bunch of Minetesters, we often come up with new ideas for things.
This fork of "Fake Fire" incorporates some of those ideas.
NEW! - Ice Fire and Smoking/Non-Smoking Options
Originally, "Fake Fire" only had one flame type and *no* smoke. I added rising, dissipating, animated smoke. Then, a few months later, I added the ability to punch the smoke feature on and off in addition to a new flame type -
Ice Fire! Ice Fire's blue flames only appear when the fint-and-steel tool is used on snow and ice stuff.
NEW! - 2 Smoke Columns! - Animated, Intermittent and Drifting Away with the Clouds
The smoke column will rise about 14 spaces above the flame with intermittent puffs of smoke. I've updated the smoke to use particles instead of an animated node. The effect is much more realistic. Particles allow the smoke to drift away, as seen on the left. Perfect for outdoor campfires and cook-outs. The vertical column, as seen on the right, is better suited for use *inside* chimneys.
NEW! - Chimney Tops
Chimney Tops are special blocks that emit smoke without a fire. Like the smoke from the various flame types, it can be punched on or off. The chimney tops currently come in two color choices, sandstone for warm-toned builds and stone for cool-toned builds.
The new particle smoke has been added to the chimney tops too. The drifting smoke looks much more realistic when coming out the top of a chimney. The vertical column smoke may look better if surrounded by a lot of wind-breaks.
The grey, stone chimney_top can be used to simulate a boiling pot over an open flame.
Chimney_tops can also be placed inside extra tall, large chimneys to extend the smoke as may be the case with very large builds.
Chimney Proportion Dilemma Solved!
One of the prevailing challenges of building in Minetest is overcoming its thick, oversized, mismatched proportions. Chimneys are just one example.
The new block-type, "Chimney Tops", solves the problem for chimneys by allowing players to make 1x1 chimneys that are proportionate to the build. Otherwise they would have to build chimneys that are at least 3x3 to allow the smoke to rise or not have rising smoke at all.
The build on the right visually demonstrates the problem while the build on the left displays the solution.
NEW! - Embers Block
Another new block-type I added is the "Embers" block. Embers blocks are animated with glowing embers and emit a mid-level light. Perfect for placing under a flame or without a flame as in the case of open-pit or BBQ cooking.
Minetest version: 0.4.9 and 0.4.10
I've tested on both, particularly later releases of 0.4.10. This fork does not use deprecated code that will cause later releases of 0.4.10 to crash due to the code no longer being supported. Strike that. I forgot I have my mod testing version of Minetest configured to abort on usage of deprecated calls.
Depends: default
Recommended Additional Mods: none
License: GPL v2
Source Code: http://github.com/LazyJ/fake_fireDownload (.zip): http://github.com/LazyJ/fake_fire/archive/master.zipInstall: - After downloading, unzip the file.
- Rename the directory "fake_fire_fork-master" to "fake_fire"
- Copy the "fake_fire" directory into either
../minetest/worlds/yourworld'sname/worldmods/
or
../minetest/mods/
- If you put "fake_fire" in the ../minetest/mods/ directory, either
enable the mod from within Minetest's "Configure" button
(main menu, bottom right) or by adding this line to the
world's "world.mt" file:
load_mod_fake_fire = true
"Firelike" DrawtypeI've considered the new "firelike" drawtype and yet, I still prefer the waving ability of the "plantlike" drawtype. The "firelike" drawtype, in my opinion, looks too full, too much like a raging, destructive, out-of-control blaze. Plantlike's waving and less intense flames seem better suited to a warm hearth, comfortable campfire and overall fits the non-destructive intent of "Fake Fire".
For those of you who prefer the "firelike" drawtype, go through "Fake Fire's" code and where you find:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
replace it with:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Update: 2014_08_10 - See changelog below.
Sandstone Chimney Top
Stone Chimney Top
Embers
Flint
Flint and Steel
Cobble to Gravel
Gravel to Sand
Sand to Desert Sand
Desert Sand to Sand
2014_08_10: - Added changelog.txt, 2014_06_19. Some changes are much older than this.
I've been making little tweaks to it for several months and finally decided
to give it an overhaul.
- Code clean-up.
- Split the init.lua file stuff into separate files and moved them into the
"modfiles" folder.
- I had added a lump of coal to be dropped when the flame was dug but, as
one of our moderators pointed out, once word got out, new players would
snuff-out every fake_fire they found just to get easy coal. The coal drop
was removed.
- Changed the flint crafting recipe to require 2 gravel instead of one.
This resolves a crafting conflict with another mod. The recipe is also
shapless now.
- Added crafting recipes for 1 cobble to 1 gravel, then 1 gravel to 1 sand.
For Wazuland2 these recipes are commented out because another mod takes
care of them (the reason for changing the flint recipe).
- Health-damage disabled. This fork is strictly for decoration.
- Waving added to flames and smoke.
- Rising, disappearing smoke-puffs added. Smoke columns will rise to 14
spaces above the flame or chimney top.
- Smoke can be punched to remove.
- Never-ending flint and steel disabled; may add it as a priv later.
- Extinguishing with water and lava(??) disabled. Again, this fork is
strictly for decoration so dousing the flames with water or lava would just
make a big, needless mess. Much easier and cleaner to just punch the flame.
- Flame images are hidden from creative inventory but are still provided
for in the code and image files if you want them to be visible. Just remove
the "not_in_creative_inventory" part from the groups of the flame types and
they will be visible again. Having the images in inventory is useful when
playing in creative mode or if you want to torture griefers who put in the
time and effort to get the materials to make the fire hoping to be able to
burn things only to discover that it is *fake* and *harmless*. Bwa-hahaha!
- Added ice-fire, a blue-colored flame that only ignites on snow and ice
stuff.
- Added added ability to switch between smoking and non-smoking flames by
punching them. Default is non-smoking.
- Added stone and sandstone chimney caps that can produce smoke when punched
(smoking and non-smoking versions). Useful for small builds where a 3x3
chimney would be too oversized in proportion to the reset of the build.
- Added animated, glowing embers. This hearth-warming block emits a
mid-level light and simulates the hot coals under a flame. Flames are not
required and the embers blocks are smokeless.
2014_06_23: - Flames - "sunlight_propagates = true,"
Adding sunlight_propagtes and leaving comments as a future reference.
If true, sunlight will go infinitely through this (no shadow is cast).
Because fire produces light it should be "true" so fire *doesn't* have
a shadow.
- Embers - "sunlight_propagates = true,"
Adding sunlight_propagtes and leaving comments as a future reference.
If true, sunlight will go infinitely through this (no shadow is cast).
Because embers produce some light it should be somewhat "true" but this
is an area where Minetest lacks in subtlety so I'm opting for 100% that
embers *don't* have a shadow.
- Bug Fix - Server Crash when Flint-Steel Clicked on Nothing (sky).
Players can see farther than they can reach. Even though the player
was aiming for a node several spaces ahead of them, Minetest's targeting
range doesn't extend that far. The player saw the node they were aiming
at, Minetest's target range ended and Minetest saw "nothing"
(a nil value). The bug was a conflict in the code so when that
particular nil value popped up, Minetest was confused by the bug, threw
up it's hands in frustration and said "I quit!" by crashing.
- Original init.lua Added
What I thought was the original init.lua file turned out to be one I had
tinkered with months ago. So I extracted the actual original init.lua
file from a zip file of the original mod. Why bother including it in my
fork? Because it's a reference to compare to and learn from.
2014_07_31:
- Textures
-- "texture_source_info.txt" added listing who made what textures.
-- White, grey, and black smoke added.
- Smoke
-- Smoke changed from an animated node to particles.
-- Alias added to remove previous animated-node smoke.
-- Added two smoke column types. One is narrow and vertical; intended for
use *inside* chimneys. The second smoke column type is intended for
outdoor use as it drifts and fans-out to the south, following the
direction of the clouds.
-- Added clearance-space check. If there is nothing directly to the south
of the flame or chimney_top (z -1) and nothing in the 14 nodes above,
then the drifting column of smoke will appear. If the there is something
in the way, then the narrow, vertical column of smoke will be used.
Additional clearance checks added to prevent the smoke from forming in
places it shouldn't like floors above or inside builds next to the
drifting smoke flames and chimney_tops.
-- ABMs to generate the three stages of smoke.
-- Borrowed some of VanessaE's code to generate multiple shades of smoke
in the first two stages of smoke.
-- *Not* using deprecated particle code that causes newer, unstable release
versions of Minetest 0.4.10 to crash. I've tested on Minetest v0.4.9,
and v0.4.10 (2014_07_29 release), compiled myself in Linux.
Strike that. I forgot I have my mod testing version of Minetest
configured to abort on usage of deprecated calls.
- Flames
-- Increased the speed of the flames animation just a tad to better fit
with the new smoke each time it puffs into being.
- Flint_and_Steel
-- Borrowed some of VanessaE's code so players can not place flames in
protected areas they do not own. Changed the chat notice wording to
scold them with. ;)
- General
-- Added more observation notes and tidied-up some of the mess I left from
the last time.