Make nobody win if all the safes and all the wolves die off at once in evilvillage
This commit is contained in:
parent
56f61c18eb
commit
7fd98331f4
@ -566,7 +566,12 @@ class EvilVillageMode(GameMode):
|
|||||||
evt.stop_processing = True
|
evt.stop_processing = True
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if lrealwolves == 0:
|
if lrealwolves == 0 and lsafes == 0:
|
||||||
|
evt.data["winner"] = "none"
|
||||||
|
evt.data["message"] ("Game over! All the villagers are dead, but the cult needed to sacrifice " +
|
||||||
|
"the wolves to accomplish that. The cult disperses shortly thereafter, " +
|
||||||
|
"and nobody wins.")
|
||||||
|
elif lrealwolves == 0:
|
||||||
evt.data["winner"] = "villagers"
|
evt.data["winner"] = "villagers"
|
||||||
evt.data["message"] = ("Game over! All the wolves are dead! The villagers " +
|
evt.data["message"] = ("Game over! All the wolves are dead! The villagers " +
|
||||||
"round up the remaining cultists, hang them, and live " +
|
"round up the remaining cultists, hang them, and live " +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user