2021-06-03 00:57:46 +00:00
|
|
|
-- ████████ █████ ██████ ██ ███████ ███████
|
|
|
|
-- ██ ██ ██ ██ ██ ██ ██ ██
|
|
|
|
-- ██ ███████ ██████ ██ █████ ███████
|
|
|
|
-- ██ ██ ██ ██ ██ ██ ██ ██
|
|
|
|
-- ██ ██ ██ ██████ ███████ ███████ ███████
|
|
|
|
|
|
|
|
-- Functions that operate on tables.
|
|
|
|
-- Lua doesn't exactly come with batteries included, so this is quite an
|
|
|
|
-- extensive collection of functions :P
|
|
|
|
|
|
|
|
-- TODO: Refactor into its own worldeditadditions.tables namespace.
|
|
|
|
|
2021-06-03 02:18:49 +00:00
|
|
|
dofile(worldeditadditions.modpath.."/utils/tables/sets.lua")
|
2021-06-03 00:57:46 +00:00
|
|
|
dofile(worldeditadditions.modpath.."/utils/tables/shallowcopy.lua")
|
|
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_apply.lua")
|
2021-06-03 02:18:49 +00:00
|
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_filter.lua")
|
2021-06-03 00:57:46 +00:00
|
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_get_last.lua")
|
|
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_map.lua")
|
2021-06-03 02:18:49 +00:00
|
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_tostring.lua")
|
2021-06-03 00:57:46 +00:00
|
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_unique.lua")
|
2021-06-03 02:18:49 +00:00
|
|
|
dofile(worldeditadditions.modpath.."/utils/tables/table_unpack.lua")
|