forked from VoxeLibre/VoxeLibre
Offset smoke a bit
This commit is contained in:
parent
38a4f13d7c
commit
7706fdf577
|
@ -320,7 +320,7 @@ function mcl_campfires.generate_smoke(pos, haybale)
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.add_particle({
|
minetest.add_particle({
|
||||||
pos = pos,
|
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_particles_smoke.png",
|
||||||
size = 10,
|
size = 10,
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
-- TO-DO:
|
-- TO-DO:
|
||||||
-- * Add Smoke Particles
|
|
||||||
-- * Add Spark Particles
|
-- * Add Spark Particles
|
||||||
-- * Add Working Sounds
|
-- * Add Working Sounds
|
||||||
|
-- * Waterlogging (needs engine change)
|
||||||
|
-- * Fix the mob damage when mobs go back to burning again
|
||||||
local modname = minetest.get_modpath(minetest.get_current_modname())
|
local modname = minetest.get_modpath(minetest.get_current_modname())
|
||||||
|
|
||||||
dofile(modname.."/api.lua") -- Load API File
|
dofile(modname.."/api.lua") -- Load API File
|
||||||
|
|
Loading…
Reference in New Issue