loading rig pose, textures, body settings

This commit is contained in:
MihailRis
2024-07-09 21:19:29 +03:00
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