teknomunk
94586e0a6d
Address review comments
2024-11-21 05:38:56 -06:00
teknomunk
44ae70d498
Add crash guards against corrupt map data in mcl_core/functions.lua, update fire spread algorithm to limit spread while still burning things down, make burn spread dependent on area's humidity (more humid areas have less spread)
2024-11-21 05:14:21 -06:00
teknomunk
5ee1bd0373
Ensure fire always ages
2024-11-21 05:12:02 -06:00
teknomunk
b70aeda0b4
Change print to minetest.log
2024-11-21 05:12:02 -06:00
teknomunk
bf60dada59
Limit fire spread by making fires age and less likely to spread the longer they have been burning
2024-11-21 05:12:02 -06:00
JoseDouglas26
744b47088b
Fixes flint and steel adding wear when not setting node on fire ( #4368 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4368
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: JoseDouglas26 <josedouglas20002014@gmail.com>
Co-committed-by: JoseDouglas26 <josedouglas20002014@gmail.com>
2024-06-16 18:33:19 +02:00
emptyshore
b121d0f804
Prevent placement of fire into nodes above water
...
This addresses the edge case where fire is set to the top of a non-water
block that represents water (such as kelp).
Note this is forbidding theoretically legitimate setups for fire over
water where fire is set to the side of a block diagonally from the
water.
Fire is still permitted next to water (so it can be set to the face of a
block diagonally from a water column).
2023-02-16 08:56:17 +13:00
cora
48d6a2fd72
Add some ABM limits for lava ABMs
2022-11-03 14:11:03 +01:00
cora
86ca401e4e
do not randomseed twice
2022-02-25 00:08:26 +00:00
cora
840b705a22
make fire use abms instead of laggy node timers
2022-02-25 00:08:26 +00:00
AFCMS
cd33d406b2
fix many codestyle issues (functions, strings, modpaths)
2021-05-29 16:12:33 +02:00
AFCMS
9e074af07f
unify code style [1]
2021-05-25 12:52:25 +02:00
Elias Fleckenstein
c41bd3932c
Add global smoke spawning API
2021-04-14 18:14:21 +02:00
iliekprogrammar
03be45b983
Fix indentation from iliekprogrammar's previous PRs
2021-03-20 09:17:43 +08:00
AFCMS
c1da231f9d
Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2
2021-03-15 09:37:54 +01:00
iliekprogrammar
c30e9e511d
Fix inconsistent setting for cached smoke pdef
2021-03-15 10:09:56 +08:00
iliekprogrammar
8519730ee4
Further tweak fire particles.
...
Highlights:
- Reduce amount of smoke significantly
- Reduced smoke size
- Rarer chance of smoke rising up to 8 blocks
- Better smoke colors
2021-03-15 10:04:47 +08:00
AFCMS
fe6b7cb89b
improve mcl_fire
...
cache functions used in ABM/globalsteps
remove depends.txt
2021-03-15 01:10:33 +01:00
iliekprogrammar
b23495b9c1
Implement new fire particles
2021-03-15 02:57:13 +08:00
Elias Fleckenstein
071ba77bb0
mcl_burning fully working
2021-01-01 19:25:47 +01:00
kay27
8eed6eaf4e
Slightly optimize fire ignition by lava and make it more MC-like
2020-12-15 00:27:20 +04:00
kay27
15cb94b9b3
Close minor issues with fishing rod timing and permanent_flame alias, https://git.minetest.land/Wuzzy/MineClone2/issues/834 & https://git.minetest.land/Wuzzy/MineClone2/issues/836
2020-09-20 03:38:31 +04:00
Wuzzy
ce0b31123b
Increase smoke anim duration for fire smoke
2020-08-19 20:44:12 +02:00
Wuzzy
c2afc82754
Disable some demanding particles by default
...
Fire smoke, lava droplets
2020-08-19 20:39:05 +02:00
Wuzzy
101391cbcc
Fire nodes spawn smoke particles
2020-08-19 19:32:23 +02:00
Wuzzy
13963d00e5
Fix missing definition of age_next in mcl_fire
2020-08-05 18:04:37 +02:00
Wuzzy
728db50baf
Fire doesn't destroy flammable=-1 nodes
2020-05-09 18:55:50 +02:00
Wuzzy
621946546b
Ignite TNT by fire
2020-05-09 18:52:03 +02:00
Wuzzy
ffcad31871
Update falling nodes when fire replaces a block
2020-05-09 17:53:32 +02:00
Wuzzy
bfb1e3e447
Add age to of fire to greatly limit fire spread
2020-05-09 17:44:23 +02:00
Wuzzy
0929ce4f20
Remove fire below air
2020-04-22 01:31:30 +02:00
Wuzzy
a1ea41e760
Lava: Don't ignite 2 blocks above if 1 layer above is blocked
2020-04-08 03:17:34 +02:00
Wuzzy
c5e4ec5e27
Use ephemeral sounds
2020-04-07 00:55:45 +02:00
Wuzzy
b56ead7a23
Don't allow to set fire on fire
2020-03-24 19:53:08 +01:00
Wuzzy
101c9b7322
Use minetest.LIGHT_MAX
2019-12-14 18:57:17 +01:00
Wuzzy
ed336829b4
Fade out rain and fire sounds
2019-09-05 00:07:32 +02:00
Wuzzy
ab81dfb4b4
Stop fire spread if enable_fire=false
2019-04-09 15:25:27 +02:00
Wuzzy
661e10e992
Fix crash when dying cuz fire, lava or magmablock
2019-03-15 07:10:18 +01:00
Wuzzy
86e5eb748f
More fire fixes
2019-03-15 04:36:17 +01:00
Wuzzy
f5c1e19781
Add help for disabled fire and translate
2019-03-15 04:25:54 +01:00
Wuzzy
049c632276
Generalize node damage death message
2019-03-08 21:59:16 +01:00
Wuzzy
a29626881f
New translation system, part 7: Items, part 3
2019-03-08 00:00:09 +01:00
Wuzzy
aa3739528b
Fix weird arguments given to is_protected
2019-02-11 21:27:17 +01:00
Wuzzy
a918696509
Revert "Update fire help"
...
This reverts commit 954125f6e2
.
2019-02-01 22:17:42 +01:00
Wuzzy
954125f6e2
Update fire help
2019-02-01 08:42:23 +01:00
Wuzzy
0586c0ea18
Destroy items in fire
2019-02-01 08:31:17 +01:00
Wuzzy
e789801662
Replace getpos() with get_pos()
2019-02-01 06:33:07 +01:00
Wuzzy
16bb9b8901
Localize various unneeded global variables
2018-01-26 22:37:42 +01:00
Wuzzy
b0c87f74fe
Move world-related functions to mcl_worlds
2017-11-24 03:10:02 +01:00
Wuzzy
b4f1d2c521
Move eternal fire ignition code to the actual node
2017-11-11 19:52:11 +01:00