mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-21 14:50:23 +02:00
Jump drive support for seats (#87)
* psuedo code for jump drive support * avoid re-calculating node hash in loop * cache new position for next move * clean comment and minetest -> core * cache seat offset for sofas * use first found sitting position * cleanup some comments * bugfix: reported seat occupied when it wasn't --------- Co-authored-by: Luke aka SwissalpS <Luke@SwissalpS.ws>
This commit is contained in:
@ -49,6 +49,7 @@ minetest.register_node(":lrfurn:sofa", {
|
||||
return lrfurn.sit(pos, node, clicker, itemstack, pointed_thing, 2)
|
||||
end,
|
||||
on_destruct = lrfurn.on_seat_destruct,
|
||||
on_movenode = lrfurn.on_seat_movenode,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
Reference in New Issue
Block a user