forked from VoxeLibre/VoxeLibre
Move note particle to mcl_particles
This commit is contained in:
parent
f91ae540c2
commit
7f1e90ada9
Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 126 B |
|
@ -1 +1,2 @@
|
||||||
mesecons
|
mesecons
|
||||||
|
mcl_particles
|
||||||
|
|
|
@ -183,7 +183,7 @@ mesecon.noteblock_play = function (pos, param2)
|
||||||
local note_color = param2_to_note_color(param2)
|
local note_color = param2_to_note_color(param2)
|
||||||
|
|
||||||
minetest.add_particle({
|
minetest.add_particle({
|
||||||
texture = "mesecons_noteblock_note.png^[colorize:"..note_color..":92",
|
texture = "mcl_particles_note.png^[colorize:"..note_color..":92",
|
||||||
pos = { x = pos.x, y = pos.y + 0.35, z = pos.z },
|
pos = { x = pos.x, y = pos.y + 0.35, z = pos.z },
|
||||||
velocity = { x = 0, y = 2, z = 0 },
|
velocity = { x = 0, y = 2, z = 0 },
|
||||||
acceleration = { x = 0, y = -2, z = 0 },
|
acceleration = { x = 0, y = -2, z = 0 },
|
||||||
|
|
Loading…
Reference in New Issue