mirror of
https://github.com/mt-mods/xcompat.git
synced 2024-12-22 17:10:18 +01:00
655486f465
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
10 lines
376 B
Lua
10 lines
376 B
Lua
|
|
-- emerge a part of the world (basic smoketest)
|
|
mtt.emerge_area({ x=0, y=0, z=0 }, { x=10, y=10, z=10 })
|
|
|
|
-- check nodelist
|
|
local mtt_nodelist = minetest.settings:get("mtt_nodelist")
|
|
if mtt_nodelist then
|
|
-- nodelist specified, check if all the required nodes are present
|
|
mtt.validate_nodenames(minetest.get_modpath("xcompat") .. "/test/nodelist/" .. mtt_nodelist)
|
|
end |