Commit Graph

67 Commits

Author SHA1 Message Date
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 954125f6e2a3128d29161eb834494e948fb57ee9.
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
Wuzzy
70198eb50b Allow to light Nether portal with any fire 2017-09-19 15:45:23 +02:00
Wuzzy
d55f83346e Fire on bedrock in the End is now eternal 2017-09-08 15:28:38 +02:00
Wuzzy
16c1181a47 Destroy fire by flooding 2017-08-21 16:37:21 +02:00
Wuzzy
02f46da152 Fix some bugs WRT eternal fire spawning 2017-08-17 04:56:14 +02:00
Wuzzy
817c52f92f Fix bugs in flint and ssteel and ender eye 2017-08-17 04:12:34 +02:00
Wuzzy
e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00