From 375a5701c97c78598267c6af2e581a3d6f7eb6c6 Mon Sep 17 00:00:00 2001 From: kilbith Date: Mon, 28 Jul 2014 21:31:30 +0200 Subject: [PATCH] Update abms.lua Better parameters for smoke particles. --- fake_fire/modfiles/abms.lua | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/fake_fire/modfiles/abms.lua b/fake_fire/modfiles/abms.lua index 2d179d88..9951ae98 100644 --- a/fake_fire/modfiles/abms.lua +++ b/fake_fire/modfiles/abms.lua @@ -32,7 +32,6 @@ minetest.register_abm({ end end }) ---]] @@ -45,6 +44,8 @@ minetest.register_abm({ -- you should decrease the particles amount or increase the smoke column lenght. -- Or conversely... -- ~ JP + + --]] minetest.register_abm({ nodenames = { @@ -57,14 +58,14 @@ minetest.register_abm({ chance = 2, action = function(pos, node) minetest.add_particlespawner( - 10, --particles amount - 5, --time - {x=pos.x-0.3, y=pos.y-0, z=pos.z-0.3}, --smoke column starting - {x=pos.x+0.3, y=pos.y+8, z=pos.z+0.3}, --smoke column ending - {x=-0.2, y=0.1, z=-0.2}, --min. particle course - {x=0.2, y=2, z=0.2}, --max. particle course - {x=0,y=0,z=0}, --min. particle deviation - {x=0,y=0,z=0}, --max. particle deviation + 8, --particles amount + 1, --time + {x=pos.x-0.3, y=pos.y+0.4, z=pos.z-0.3}, --min. smoke position + {x=pos.x+0.3, y=pos.y+8, z=pos.z+0.3}, --max. smoke position + {x=-0.2, y=0.2, z=-0.2}, --min. particle velocity + {x=0.2, y=2, z=0.2}, --max. particle velocity + {x=0,y=0,z=0}, --min. particle acceleration + {x=0,y=0,z=0}, --max. particle acceleration 0.5, --min. time particle expiration 3, --max. time particle expiration 8, --min. particle size