updated states

This commit is contained in:
2021-03-14 14:04:57 +01:00
parent 06acfdc1e2
commit 7437d683ad
2 changed files with 24 additions and 6 deletions

View File

@@ -149,6 +149,22 @@ class Game(object):
next=GameState.start_game,
)
],
GameState.start_game: [
TransitionObject(
name = "StartGame 2 MainPhaseNight",
inputType=GameMasterStartGame,
condition=[self.players_ready, self.no_cupin],
transition=self.assign_roles,
next=GameState.night_phase,
),
TransitionObject(
name = "StartGame 2 CupinSelect",
inputType=GameMasterStartGame,
condition=[self.has_cupin],
transition=self.assign_roles,
next=GameState.night_phase,
)
],
}
if game_id is None: