mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-19 21:44:12 +02:00
Offset smoke a bit
This commit is contained in:
parent
f9afc74077
commit
107420c80f
@ -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
Block a user