Move some TPR functions...

...to "config.lua".
This commit is contained in:
Panquesito7 2019-07-25 14:12:26 -05:00 committed by GitHub
parent 6054324e72
commit 05797f2252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,6 +27,8 @@ local S, NS = dofile(MP.."/intllib.lua")
timeout_delay = 60
version = "1.5"
chatmsg, source, target, name2,
map_size = 30912
function can_teleport(to)
return to.x < map_size and to.x > -map_size and to.y < map_size and to.y > -map_size and to.z < map_size and to.z > -map_size