From 52d1b90b8906b28d4b5ba93cd271b3865b316d00 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Sat, 12 Sep 2015 03:19:10 +0200 Subject: [PATCH] added option to read parameters from a local settings file --- config.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.lua b/config.lua index d496f18..f29e46e 100644 --- a/config.lua +++ b/config.lua @@ -29,3 +29,8 @@ end -- for most cases, the default values ought to work --markers.AREA_RANGE = 100000; + +if( io.open(minetest.get_worldpath().."/markers_settings.txt","r")) then + io.close() + dofile(minetest.get_worldpath().."/markers_settings.txt") +end