schemconvert/schematics.lua
2022-08-25 15:32:46 +01:00

34 lines
1.1 KiB
Lua

---------------------------------------------------------------------------------------------------
-- schemconvert mod by A S Lewis
-- Lieence: LGPL 2.1
---------------------------------------------------------------------------------------------------
-- You can add LUA schematics to this file
-- They will be processed together with the .mts files loaded from ../input
--
-- For some examples of LUA schematics, see the schematic_tables.txt file in minetest-game
--
-- Each LUA schematic should be added with a function call in the usual format:
--
-- schemconvert.add_schem("apple_tree", {
-- size = {x = 7, y = 8, z = 7},
-- data = {
-- _, _, _, _, _, _, _,
-- _, _, _, _, _, _, _,
-- _, _, _, _, _, _, _,
-- -- ...and so on
-- },
-- })
--
-- You could also write to the table directly, if you prefer:
--
-- schemconvert.schem_table["apple_tree"] = {
-- size = {x = 7, y = 8, z = 7},
-- data = {
-- _, _, _, _, _, _, _,
-- _, _, _, _, _, _, _,
-- _, _, _, _, _, _, _,
-- -- ...and so on
-- },
-- }