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: Add win condition.
[plomrogue]
/
plugins
/
client
/
TheCrawlingEater.py
diff --git
a/plugins/client/TheCrawlingEater.py
b/plugins/client/TheCrawlingEater.py
index 1685f33866a5d742e2d75154a5f57d679d763267..6798e9c23f5d022eb47d475a7b54354857c23e69 100644
(file)
--- a/
plugins/client/TheCrawlingEater.py
+++ b/
plugins/client/TheCrawlingEater.py
@@
-29,6
+29,7
@@
def win_map(self):
"4": "#",
"5": "X",
"*": "O",
"4": "#",
"5": "X",
"*": "O",
+ "&": "0",
}
win_size = self.size
offset = [0, 0]
}
win_size = self.size
offset = [0, 0]
@@
-109,6
+110,8
@@
def win_map(self):
attribute = water_colors[wetval + (mapval - 1)]
else:
attribute = earth_colors[mapval]
attribute = water_colors[wetval + (mapval - 1)]
else:
attribute = earth_colors[mapval]
+ if char == "&":
+ attribute = col_player
if char in charmap:
char = charmap[char]
elif char == "@":
if char in charmap:
char = charmap[char]
elif char == "@":