mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
add 'spawn_spread' and 'spawn_shape'
This commit is contained in:
parent
86b83a5377
commit
39893ee940
4 changed files with 68 additions and 2 deletions
|
|
@ -4,6 +4,9 @@ function on_block_broken(id, x, y, z, playerid)
|
|||
spawn_interval=0.0001,
|
||||
explosion={4, 4, 4},
|
||||
texture="blocks:"..block.get_textures(id)[1],
|
||||
random_sub_uv=0.1
|
||||
random_sub_uv=0.1,
|
||||
size={0.1, 0.1, 0.1},
|
||||
spawn_shape="box",
|
||||
spawn_spread={0.4, 0.4, 0.4}
|
||||
})
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue