mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Offset smoke a bit
This commit is contained in:
parent
f9afc74077
commit
107420c80f
2 changed files with 3 additions and 2 deletions
|
@ -320,7 +320,7 @@ function mcl_campfires.generate_smoke(pos, haybale)
|
|||
end
|
||||
|
||||
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),
|
||||
texture = "mcl_particles_smoke.png",
|
||||
size = 10,
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
-- TO-DO:
|
||||
-- * Add Smoke Particles
|
||||
-- * Add Spark Particles
|
||||
-- * 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())
|
||||
|
||||
dofile(modname.."/api.lua") -- Load API File
|
||||
|
|
Loading…
Reference in a new issue