Buckaroo Banzai 9cd093046d
schematic rotation (#1)
* schematic rotation

* fixes

* remove auto-rotation code

* schematic encoding v2

* testing

* working encode/decode

* rotate schematic

* spec

* rotate dialog

* skip if rotation == 0

* wip

* wip

* wip

* fix order

* fix metadata rotation

---------

Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2024-02-29 13:15:18 +01:00

27 lines
784 B
Lua

pick_and_place = {}
local MP = minetest.get_modpath("pick_and_place")
dofile(MP .. "/common.lua")
dofile(MP .. "/rotate.lua")
dofile(MP .. "/schematic_rotate.lua")
dofile(MP .. "/schematic_flip.lua")
dofile(MP .. "/schematic_orient.lua")
dofile(MP .. "/schematic_transpose.lua")
dofile(MP .. "/pointed.lua")
dofile(MP .. "/configure.lua")
dofile(MP .. "/remove.lua")
dofile(MP .. "/encode.lua")
dofile(MP .. "/serialize.lua")
dofile(MP .. "/entity.lua")
dofile(MP .. "/handle_node.lua")
dofile(MP .. "/create_tool.lua")
dofile(MP .. "/configure_tool.lua")
dofile(MP .. "/pick_tool.lua")
dofile(MP .. "/place_tool.lua")
dofile(MP .. "/preview.lua")
if minetest.get_modpath("mtt") and mtt.enabled then
dofile(MP .. "/encode.spec.lua")
dofile(MP .. "/schematic_rotate.spec.lua")
end