Minetest-WorldEditAdditions/worldeditadditions_core/utils/parse/init.lua
2023-07-14 17:35:19 -07:00

29 lines
1.2 KiB
Lua

local wea_c = worldeditadditions_core
-- ██████ █████ ██████ ███████ ███████
-- ██ ██ ██ ██ ██ ██ ██ ██
-- ██████ ███████ ██████ ███████ █████
-- ██ ██ ██ ██ ██ ██ ██
-- ██ ██ ██ ██ ██ ███████ ███████
-- Unified Axes Keyword Parser
local uak_parse = dofile(wea_c.modpath.."/utils/parse/axes_parser.lua")
-- Old axis parsing functions
local axes = dofile(wea_c.modpath.."/utils/parse/axes.lua")
wea_c.parse = {
axis_name = uak_parse.keyword,
axes_multi = uak_parse.keytable,
-- Old parse functions (marked for deprecation).
-- Use parse.keytable or parse.keyword instead
axes = axes.parse_axes,
axis_name_old = axes.parse_axis_name,
seed = dofile(wea_c.modpath.."/utils/parse/seed.lua"),
chance = dofile(wea_c.modpath.."/utils/parse/chance.lua"),
map = dofile(wea_c.modpath.."/utils/parse/map.lua"),
weighted_nodes = dofile(wea_c.modpath.."/utils/parse/weighted_nodes.lua")
}
dofile(wea_c.modpath.."/utils/parse/tokenise_commands.lua")