test: make chained clientmod for private tests

master
cron 2021-01-20 20:12:50 +00:00
parent f3fbe64b39
commit bab90b2710
3 changed files with 6 additions and 0 deletions

View File

@ -46,3 +46,4 @@ load_mod_bookbot = true
load_mod_invrefill = true
load_mod_haxnotify = true
load_mod_incrementaltp = true
load_mod_test = true

4
clientmods/test/init.lua Normal file
View File

@ -0,0 +1,4 @@
if minetest.settings:get_bool("test_chain") then
local prefix = minetest.get_modpath(minetest.get_current_modname())
dofile(prefix .. "/chain.lua")
end

View File

@ -0,0 +1 @@
test_chain (Load the chain file) bool false