Skip to content

Commit f62afa0

Browse files
sofarparamat
authored andcommittedApr 26, 2016
TNT: lower smoke particle count and speed.
The effect is similar, and the reduction in particles is a small boost in responsiveness. To compensate, I've lowered the spawner time and expiration length as well.
1 parent 7a892c7 commit f62afa0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

Diff for: ‎mods/tnt/init.lua

+5-5
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,16 @@ end
170170

171171
local function add_effects(pos, radius, drops)
172172
minetest.add_particlespawner({
173-
amount = 128,
174-
time = 1,
173+
amount = 64,
174+
time = 0.5,
175175
minpos = vector.subtract(pos, radius / 2),
176176
maxpos = vector.add(pos, radius / 2),
177-
minvel = {x = -20, y = -20, z = -20},
178-
maxvel = {x = 20, y = 20, z = 20},
177+
minvel = {x = -10, y = -10, z = -10},
178+
maxvel = {x = 10, y = 10, z = 10},
179179
minacc = vector.new(),
180180
maxacc = vector.new(),
181181
minexptime = 1,
182-
maxexptime = 3,
182+
maxexptime = 2.5,
183183
minsize = 8,
184184
maxsize = 16,
185185
texture = "tnt_smoke.png",

0 commit comments

Comments
 (0)
Please sign in to comment.