don't be an idiot
This commit is contained in:
parent
5e3baa317c
commit
f57b054db1
@ -1079,7 +1079,7 @@ def goat(cli, nick, chan, rest):
|
|||||||
if var.PHASE != "day":
|
if var.PHASE != "day":
|
||||||
cli.notice(nick, "You can only do that in the day.")
|
cli.notice(nick, "You can only do that in the day.")
|
||||||
return
|
return
|
||||||
if var.GOATED and nick != var.ROLES["goat herder"]:
|
if var.GOATED and nick in var.ROLES["goat herder"]:
|
||||||
cli.notice(nick, "You can only do that once per day.")
|
cli.notice(nick, "You can only do that once per day.")
|
||||||
return
|
return
|
||||||
ul = list(var.USERS.keys())
|
ul = list(var.USERS.keys())
|
||||||
@ -2398,7 +2398,7 @@ def start(cli, nick, chann_, rest):
|
|||||||
var.GUNNERS[gnr] = math.ceil(var.SHOTS_MULTIPLIER * len(pl))
|
var.GUNNERS[gnr] = math.ceil(var.SHOTS_MULTIPLIER * len(pl))
|
||||||
del var.ROLES["gunner"]
|
del var.ROLES["gunner"]
|
||||||
|
|
||||||
var.ROLES["goat herder"] = None
|
var.ROLES["goat herder"] = []
|
||||||
if var.GOAT_HERDER:
|
if var.GOAT_HERDER:
|
||||||
var.ROLES["goat herder"] = [ random.choice(pl) ]
|
var.ROLES["goat herder"] = [ random.choice(pl) ]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user