mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
loading rig pose, textures, body settings
This commit is contained in:
parent
a68be271c6
commit
d8c9fa1fe2
11 changed files with 96 additions and 17 deletions
|
|
@ -25,7 +25,8 @@ function on_grounded()
|
|||
if block.is_replaceable_at(ix, iy, iz) then
|
||||
block.set(ix, iy, iz, block.index(blockid))
|
||||
else
|
||||
entities.spawn("base:drop", pos, {item={id=item.index(blockid..".item"), count=1}})
|
||||
local picking_item = block.get_picking_item(block.index(blockid))
|
||||
entities.spawn("base:drop", pos, {item={id=picking_item, count=1}})
|
||||
end
|
||||
entity:despawn()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue