From f785f17cdb286449e8d98be747213740172629c5 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sun, 22 Oct 2017 16:45:57 -0400 Subject: removed random gen, indoor changes --- xml/!town.xml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'xml/!town.xml') 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 -- cgit v1.2.3