mirror of
https://github.com/minetest-mods/worldedge.git
synced 2024-12-23 08:10:21 +01:00
Use config setting 'world_edge' to determine size of world:
Defaults to '30000' if setting not found.
This commit is contained in:
parent
e15fa9971c
commit
1f03ae4d8d
2
init.lua
2
init.lua
@ -2,7 +2,7 @@
|
|||||||
-- TODO: Check for terrain height
|
-- TODO: Check for terrain height
|
||||||
|
|
||||||
-- Defines the edge of a world
|
-- Defines the edge of a world
|
||||||
local edge = 30000
|
local edge = tonumber(minetest.settings:get("world_edge")) or 30000
|
||||||
-- Radius which should be checked for a good teleportation place
|
-- Radius which should be checked for a good teleportation place
|
||||||
local radius = 2
|
local radius = 2
|
||||||
--------------
|
--------------
|
||||||
|
Loading…
Reference in New Issue
Block a user