Tekkit Telekom/Scripts
Appearance
This page contains various Lua scripts or functions used by the Tekkit Telekom
Utility
getCenterXPos
function getCenterXPos(lenX, maxX)
return math.ceil(maxX/2 - lenX/2)
end
getCenterYPos
function getCenterYPos(lenY, maxY)
return math.ceil(maxY/2 - lenY/2)
end