world_db["MAP"][t["pos"]] = ord("0")
if world_db["GRACE"] == 0:
log("You can now eat ALL walls.")
- if world_db["GRACE"] == 8:
+ elif world_db["GRACE"] == 8:
log("You now have the DEATH touch.")
- if world_db["GRACE"] == 16:
+ elif world_db["GRACE"] == 16:
log("You will now LEVITATE over holes.")
- if world_db["GRACE"] == 24:
+ elif world_db["GRACE"] == 24:
log("You are now READY to fly through the exit portal.")
+ elif world_db["GRACE"] == 32:
+ log("You already have all the GRACE you can get.")
if world_db["GRACE"] <= 24:
world_db["GRACE"] += 8
elif t == world_db["Things"][0]:
ord("0") == world_db["wetmap"][pos]:
world_db["wetmap"][pos] = ord("3")
i_water += 1
- n_altars = 4
+ n_altars = 8
i_altars = 0
while (i_altars < n_altars):
y, x, pos = new_pos()
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: