pandorabox-io / pandorabox.io

Pandorabox infrastructure code
https://pandorabox.io
31 stars 4 forks source link

Travel-restriction #197

Closed thomasrudin closed 5 years ago

thomasrudin commented 5 years ago

Rebalance: #192

Stage 1: teleport-hooks in mods

Stage 2: limiting formula

Height above y=0 limited:

thomasrudin commented 5 years ago
    local req_xp = 0

    if pos.y > 5000 then
        -- moon
        req_xp = 10000
    end

    if pos.y > 6000 then
        -- asteroids
        req_xp = 20000
    end

    if pos.y > 10000 then
        -- mars
        req_xp = 50000
    end

    if pos.y > 17000 then
        -- warzone
        req_xp = 100000
    end