Add better smoke particles
|
@ -324,7 +324,7 @@ function mcl_campfires.generate_smoke(pos, haybale)
|
||||||
minetest.add_particle({
|
minetest.add_particle({
|
||||||
pos = vector.offset(pos, math.random(-0.5, 0.5), 0, math.random(-0.5, 0.5)),
|
pos = vector.offset(pos, math.random(-0.5, 0.5), 0, math.random(-0.5, 0.5)),
|
||||||
velocity = vector.new(0, 1, 0),
|
velocity = vector.new(0, 1, 0),
|
||||||
texture = "mcl_particles_smoke.png",
|
texture = "mcl_campfires_particle_" .. math.random(1, 12) .. ".png",
|
||||||
size = 10,
|
size = 10,
|
||||||
acceleration = vector.new(0, 0.5, 0),
|
acceleration = vector.new(0, 0.5, 0),
|
||||||
collisiondetection = true,
|
collisiondetection = true,
|
||||||
|
|
After Width: | Height: | Size: 105 B |
After Width: | Height: | Size: 239 B |
After Width: | Height: | Size: 286 B |
After Width: | Height: | Size: 336 B |
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 276 B |
After Width: | Height: | Size: 299 B |
After Width: | Height: | Size: 275 B |
After Width: | Height: | Size: 301 B |
After Width: | Height: | Size: 386 B |
After Width: | Height: | Size: 382 B |
After Width: | Height: | Size: 399 B |