Minetest-WorldEditAdditions/worldeditadditions/utils/parse/init.lua

24 lines
1.3 KiB
Lua
Raw Normal View History

2021-06-03 02:27:04 +00:00
-- ██████ █████ ██████ ███████ ███████
-- ██ ██ ██ ██ ██ ██ ██ ██
-- ██████ ███████ ██████ ███████ █████
-- ██ ██ ██ ██ ██ ██ ██
-- ██ ██ ██ ██ ██ ███████ ███████
local axes = dofile(worldeditadditions.modpath.."/utils/parse/axes.lua")
2022-05-23 21:58:45 +00:00
local parse = dofile(worldeditadditions.modpath.."/utils/parse/axes.lua")
local key_instance = dofile(worldeditadditions.modpath.."/utils/parse/key_instance.lua")
2022-05-23 21:58:45 +00:00
worldeditadditions.key_instance = key_instance
worldeditadditions.parse = parse
2022-05-23 22:02:59 +00:00
-- Old parse functions (marked for deprecation).
2022-05-23 21:58:45 +00:00
-- Use parse.keytable or parse.keyword instead
worldeditadditions.parse.axes = axes.parse_axes
worldeditadditions.parse.axis_name = axes.parse_axis_name
dofile(worldeditadditions.modpath.."/utils/parse/chance.lua")
dofile(worldeditadditions.modpath.."/utils/parse/map.lua")
dofile(worldeditadditions.modpath.."/utils/parse/seed.lua")
dofile(worldeditadditions.modpath.."/utils/parse/weighted_nodes.lua")
dofile(worldeditadditions.modpath.."/utils/parse/tokenise_commands.lua")