mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add particles.stop(...)
This commit is contained in:
parent
0cd5136fdb
commit
3ecb7b447f
4 changed files with 16 additions and 10 deletions
|
|
@ -1,6 +1,6 @@
|
|||
function on_block_broken(id, x, y, z, playerid)
|
||||
particles.emit({x+0.5, y+0.5, z+0.5}, 100, {
|
||||
lifetime=2.0,
|
||||
particles.emit({x+0.5, y+0.5, z+0.5}, 64, {
|
||||
lifetime=1.0,
|
||||
spawn_interval=0.0001,
|
||||
explosion={4, 4, 4},
|
||||
texture="blocks:"..block.get_textures(id)[1],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue