aboutsummaryrefslogtreecommitdiffstats
path: root/xml/!town.xml
diff options
context:
space:
mode:
Diffstat (limited to 'xml/!town.xml')
-rw-r--r--xml/!town.xml12
1 files changed, 2 insertions, 10 deletions
diff --git a/xml/!town.xml b/xml/!town.xml
index 26a62a1..b2d96a5 100644
--- a/xml/!town.xml
+++ b/xml/!town.xml
@@ -16,18 +16,10 @@
x = 0
ground = function()
- if (x == 330) then
+ if (x == 320) then
height = -1
else
- if (x < 10) then
- height = 800
- else
- if (x < 30) then
- height = -100 * math.tan(0.08 * (x - 10) + 1.77) + 75
- else
- height = 60
- end
- end
+ height = 1 / math.pow(2, (x - 50) / 2) + 60
end
x = x + 1
end