Fix guardian winconds; now a game will always end with a team winning
This commit is contained in:
parent
d59f2ec4a8
commit
81263bd822
@ -707,8 +707,8 @@
|
||||
"guardian_wolf_win": "Game over! There are more wolves than uninjured villagers. With the ancestral guardians dead, the wolves overpower the defenseless villagers and win.",
|
||||
"guardian_wolf_tie_no_guards": "Game over! There are the same number of wolves as uninjured villagers. With the ancestral guardians dead, the wolves overpower the defenseless villagers and win.",
|
||||
"guardian_villager_win": "Game over! All the wolves are dead! The remaining villagers throw a party in honor of the guardian angels that watched over the village, and live happily ever after.",
|
||||
"guardian_lose_no_guards": "Game over! The remaining villagers managed to destroy the wolves, however the guardians that used to watch over the village are nowhere to be found. The village lives on in an uneasy peace, not knowing when they will be destroyed completely now that they are defenseless. Nobody wins.",
|
||||
"guardian_lose_with_guards": "Game over! The guardians, angered by the loss of everyone they were meant to guard, engage the wolves in battle and mutually assured destruction. After the dust settles the village is completely dead, and nobody wins.",
|
||||
"guardian_lose_no_guards": "Game over! The remaining villagers managed to destroy the wolves, however the guardians that used to watch over the village are nowhere to be found. The village lives on in an uneasy peace, not knowing when they will be destroyed completely now that they are defenseless.",
|
||||
"guardian_lose_with_guards": "Game over! The guardians, angered by the loss of everyone they were meant to guard, engage the wolves in battle. After the dust settles, the wolves remain standing.",
|
||||
"sleepy_nightmare_begin": "While walking through the woods, you hear the clopping of hooves behind you. Turning around, you see a large black horse with dark red eyes and flames where its mane and tail would be. After a brief period of time, it starts chasing after you! You think if you can cross the bridge over the nearby river you'll be safe, but your surroundings are almost unrecognizable in this darkness.",
|
||||
"sleepy_nightmare_navigate": "You can pm me \"north\", \"east\", \"south\", and \"west\", or their abbreviations \"n\", \"e\", \"s\", and \"w\" to navigate.",
|
||||
"sleepy_nightmare_0": "You find yourself deep in the heart of the woods, with imposing trees covering up what little light exists with their dense canopy. The paths here are very twisty, and it's easy to wind up going in circles if one is not careful. Directions are {0}.",
|
||||
|
@ -743,10 +743,10 @@ class GuardianMode(GameMode):
|
||||
evt.data["winner"] = "villagers"
|
||||
evt.data["message"] = messages["guardian_villager_win"]
|
||||
elif not lrealwolves and not lguardians:
|
||||
evt.data["winner"] = "no_team_wins"
|
||||
evt.data["winner"] = "villagers"
|
||||
evt.data["message"] = messages["guardian_lose_no_guards"]
|
||||
elif lwolves == lguardians and lpl - lwolves - lguardians == 0:
|
||||
evt.data["winner"] = "no_team_wins"
|
||||
evt.data["winner"] = "wolves"
|
||||
evt.data["message"] = messages["guardian_lose_with_guards"]
|
||||
else:
|
||||
evt.data["winner"] = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user