diff --git a/config.lua b/config.lua index be08447..ed89fc5 100644 --- a/config.lua +++ b/config.lua @@ -27,7 +27,7 @@ mg_villages.VILLAGE_DETECT_RANGE = 400; mg_villages.REQUIRE_PRIV_FOR_TELEPORT = false; -- if set to true, players cannot modify spawned villages without buying the house from the village first -mg_villages.ENABLE_PROTECTION = true; +mg_villages.ENABLE_PROTECTION = false; -- the first village - the one the player spawns in - will be of this type mg_villages.FIRST_VILLAGE_TYPE = 'medieval'; @@ -35,7 +35,7 @@ mg_villages.FIRST_VILLAGE_TYPE = 'medieval'; -- the mapgen will disregard mapchunks where min.y > mg_villages.MAX_HEIGHT_TREATED; -- you can set this value to 64 if you have a slow machine and a mapgen which does not create extreme mountains -- (or if you don't care if extreme mountains may create burried villages occasionally) -mg_villages.MAX_HEIGHT_TREATED = 200; +mg_villages.MAX_HEIGHT_TREATED = 400; -- choose the debug level you want mg_villages.DEBUG_LEVEL = mg_villages.DEBUG_LEVEL_NORMAL diff --git a/init.lua b/init.lua index 2463866..b4017db 100644 --- a/init.lua +++ b/init.lua @@ -104,7 +104,7 @@ dofile(mg_villages.modpath.."/terrain_blend.lua") -- also takes care of spawning the player dofile(mg_villages.modpath.."/mapgen.lua") -dofile(mg_villages.modpath.."/spawn_player.lua") +-- dofile(mg_villages.modpath.."/spawn_player.lua") -- reconstruct the connection of the roads inside a village dofile(mg_villages.modpath.."/roads.lua") diff --git a/plotmarker_formspec.lua b/plotmarker_formspec.lua index 0dd65ad..f54f4cf 100644 --- a/plotmarker_formspec.lua +++ b/plotmarker_formspec.lua @@ -366,9 +366,9 @@ end mg_villages.form_input_handler = function( player, formname, fields) -- mg_villages.print(mg_villages.DEBUG_LEVEL_NORMAL,minetest.serialize(fields)); - if( not( mg_villages.ENABLE_PROTECTION )) then - return false; - end +-- if( not( mg_villages.ENABLE_PROTECTION )) then +-- return false; +-- end -- teleport to a plot or mob if( fields[ 'teleport_to' ]