summaryrefslogtreecommitdiff
path: root/settings.lua
diff options
context:
space:
mode:
authorShadowNinja <noreply@gmail.com>2013-09-03 01:33:08 -0400
committerShadowNinja <noreply@gmail.com>2013-09-03 01:33:08 -0400
commit7b0ff512f7f44fde11204e57f5b9b30ae550e4bb (patch)
tree61a8584c2320341858c9dc2c063e85743ba65195 /settings.lua
parent3d866330bf01409e5113ece322e500aaa095417a (diff)
Shorten lines
Diffstat (limited to 'settings.lua')
-rw-r--r--settings.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/settings.lua b/settings.lua
index ba579ff..d126c83 100644
--- a/settings.lua
+++ b/settings.lua
@@ -11,13 +11,15 @@ end
areas.filename =
minetest.setting_get("areas.filename") or worldpath.."/areas.dat"
--- Allow players with a privilege create their own areas within the max_size and number
+-- Allow players with a privilege create their own areas
+-- within the max_size and number
areas.self_protection =
setting_getbool_default("areas.self_protection", false)
areas.self_protection_privilege =
minetest.setting_get("areas.self_protection_privilege") or "interact"
areas.self_protection_max_size =
- minetest.setting_get_pos("areas.self_protection_max_size") or {x=50, y=100, z=50}
+ minetest.setting_get_pos("areas.self_protection_max_size") or
+ {x=50, y=100, z=50}
areas.self_protection_max_areas =
tonumber(minetest.setting_get("areas.self_protection_max_areas")) or 3