mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add core:tests_util module & add base_entities test
This commit is contained in:
parent
c33a92abd6
commit
4d1f44ada1
3 changed files with 35 additions and 3 deletions
8
res/modules/tests_util.lua
Normal file
8
res/modules/tests_util.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
local util = {}
|
||||
|
||||
function util.create_demo_world(generator)
|
||||
app.reconfig_packs({"base"}, {})
|
||||
app.new_world("demo", "2019", generator or "core:default")
|
||||
end
|
||||
|
||||
return util
|
||||
Loading…
Add table
Add a link
Reference in a new issue