Add back in regular lover win code that was accidentally removed, and make lover winning with fool configurable since there was a lot of pushback for the change. Still defaults to false though
This commit is contained in:
parent
137a4f2d03
commit
2a0392bc42
@ -1125,7 +1125,13 @@ def stop_game(cli, winner = ""):
|
|||||||
if lvrrol == "clone" and lvr in var.FINAL_ROLES:
|
if lvrrol == "clone" and lvr in var.FINAL_ROLES:
|
||||||
lvrrol = var.FINAL_ROLES[lvr]
|
lvrrol = var.FINAL_ROLES[lvr]
|
||||||
|
|
||||||
if lvr in survived and winner == "monsters" and lvrrol == "monster":
|
if lvr in survived and not winner.startswith("@") and winner != "monsters":
|
||||||
|
iwon = True
|
||||||
|
break
|
||||||
|
elif lvr in survived and winner.startswith("@") and winner == "@" + lvr and botconfig.LOVER_WINS_WITH_FOOL:
|
||||||
|
iwon = True
|
||||||
|
break
|
||||||
|
elif lvr in survived and winner == "monsters" and lvrrol == "monster":
|
||||||
iwon = True
|
iwon = True
|
||||||
break
|
break
|
||||||
if rol == "crazed shaman" or rol == "clone":
|
if rol == "crazed shaman" or rol == "clone":
|
||||||
|
@ -49,6 +49,7 @@ GUARDIAN_ANGEL_CAN_GUARD_SELF = True
|
|||||||
START_WITH_DAY = False
|
START_WITH_DAY = False
|
||||||
WOLF_STEALS_GUN = True # at night, the wolf can steal steal the victim's bullets
|
WOLF_STEALS_GUN = True # at night, the wolf can steal steal the victim's bullets
|
||||||
ROLE_REVEAL = True
|
ROLE_REVEAL = True
|
||||||
|
LOVER_WINS_WITH_FOOL = False # if fool is lynched, does their lover win with them?
|
||||||
|
|
||||||
CARE_BOLD = False
|
CARE_BOLD = False
|
||||||
CARE_COLOR = False
|
CARE_COLOR = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user