Compare commits
5 Commits
9798921c21
...
608462d1fa
Author | SHA1 | Date |
---|---|---|
Don | 608462d1fa | |
Don | 15a78376e2 | |
AntumDeluge | 1f03ae4d8d | |
AntumDeluge | 5e14f3440f | |
DonBatman | e15fa9971c |
|
@ -7,7 +7,7 @@ This gives the illusion that that world is round and you can walk all the way ar
|
|||
You can change the worlds edge by changing the first variable in init.lua
|
||||
local edge = 30000
|
||||
|
||||
License of code: WTFPL
|
||||
License of code: DWYWPL
|
||||
|
||||
Written by Amaz
|
||||
Modified by Don
|
||||
Modified by Don
|
||||
|
|
8
init.lua
8
init.lua
|
@ -2,11 +2,15 @@
|
|||
-- TODO: Check for terrain height
|
||||
|
||||
-- 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
|
||||
local radius = 2
|
||||
--------------
|
||||
|
||||
if minetest.settings:get_bool("log_mods") then
|
||||
minetest.log("action", "World edge: " .. edge)
|
||||
end
|
||||
|
||||
local count = 0
|
||||
local waiting_list = {}
|
||||
--[[ Explanation of waiting_list table
|
||||
|
@ -140,4 +144,4 @@ minetest.register_entity("worldedge:lock", {
|
|||
on_activate = function(staticdata, dtime_s)
|
||||
--self.object:set_armor_groups({immortal = 1})
|
||||
end
|
||||
})
|
||||
})
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
DO WHAT YOU WANT TO PUBLIC LICENSE
|
||||
or abbreviated DWYWPL
|
||||
|
||||
December 2nd 2015
|
||||
License Copyright (C) 2015 Michael Tomaino (PlatinumArts@gmail.com)
|
||||
www.sandboxgamemaker.com/DWYWPL/
|
||||
|
||||
DO WHAT YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
1. You are allowed to do whatever you want to with what content is using this license.
|
||||
2. This content is provided 'as-is', without any express or implied warranty. In no event
|
||||
will the authors be held liable for any damages arising from the use of this content.
|
Loading…
Reference in New Issue