home · contact · privacy
TCE: Some balancing.
[plomrogue] / plugins / server / TheCrawlingEater.py
index ff921afa88f331e9636f231962b99431137b78ea..6625273e1b6d7db159fd47ff6812a678f7e320c8 100644 (file)
@@ -340,7 +340,7 @@ def make_map():
                 ord("0") == world_db["wetmap"][pos]:
             world_db["wetmap"][pos] = ord("3")
             i_water += 1
-    n_altars = 16
+    n_altars = 8
     i_altars = 0
     while (i_altars < n_altars):
         y, x, pos = new_pos()
@@ -424,17 +424,17 @@ def turn_over():
             elif world_db["MAP"][pos] == ord("$"):
                 height = -3
             if height == -2 and wetness > 1 \
-                    and 0 == rand.next() % ((2 ** 11) / (2 ** wetness)):
+                    and 0 == rand.next() % ((2 ** 10) / (2 ** wetness)):
                 world_db["MAP"][pos] = ord("*")
                 world_db["HUMIDITY"] += wetness
             if height == -1 and wetness > 1 \
-                    and 0 == rand.next() % ((2 ** 10) / (2 ** wetness)):
+                    and 0 == rand.next() % ((2 ** 9) / (2 ** wetness)):
                 world_db["MAP"][pos] = ord("+")
             if height == 0 and wetness > 1 \
-                    and 0 == rand.next() % ((2 ** 9) / (2 ** wetness)):
+                    and 0 == rand.next() % ((2 ** 8) / (2 ** wetness)):
                 world_db["MAP"][pos] = ord("-")
             if ((wetness > 0 and height > 0) or wetness > 1) \
-                and 0 == rand.next() % 5:
+                and 0 == rand.next() % 16:
                 world_db["wetmap"][pos] -= 1
                 world_db["HUMIDITY"] += 1
         if world_db["HUMIDITY"] > 0: