home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TCE: Some balancing.
[plomrogue]
/
plugins
/
server
/
TheCrawlingEater.py
diff --git
a/plugins/server/TheCrawlingEater.py
b/plugins/server/TheCrawlingEater.py
index 887cdf5811045c1ebeedc2ece2f4853bc4934f14..6625273e1b6d7db159fd47ff6812a678f7e320c8 100644
(file)
--- a/
plugins/server/TheCrawlingEater.py
+++ b/
plugins/server/TheCrawlingEater.py
@@
-424,17
+424,17
@@
def turn_over():
elif world_db["MAP"][pos] == ord("$"):
height = -3
if height == -2 and wetness > 1 \
elif world_db["MAP"][pos] == ord("$"):
height = -3
if height == -2 and wetness > 1 \
- and 0 == rand.next() % ((2 ** 1
1
) / (2 ** wetness)):
+ and 0 == rand.next() % ((2 ** 1
0
) / (2 ** wetness)):
world_db["MAP"][pos] = ord("*")
world_db["HUMIDITY"] += wetness
if height == -1 and wetness > 1 \
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 \
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) \
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:
world_db["wetmap"][pos] -= 1
world_db["HUMIDITY"] += 1
if world_db["HUMIDITY"] > 0: