added option to read parameters from a local settings file

This commit is contained in:
Sokomine 2015-09-12 03:19:10 +02:00
parent 164479eaaf
commit 52d1b90b89
1 changed files with 5 additions and 0 deletions

View File

@ -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