Compare commits

..

1 Commits

Author SHA1 Message Date
f7f6541e9d updated states 2021-03-14 14:20:50 +01:00
2 changed files with 13 additions and 4 deletions

View File

@@ -17,9 +17,11 @@ StartGame : Assign Player Roles
StartGame : Show Introduction
StartGame --> MainPhaseNight : No Cupin
StartGame --> NightPhaseCupin: Cupin
StartGame --> CupinSelect: Cupin
NightPhaseCupin --> InformLovedOnes: Cupin selected
state "Inform Loved Ones" as InformLovedOnes
+ 154
CupinSelect --> InformLovedOnes: Cupin selected
InformLovedOnes --> MainPhaseNight: ack
state MainPhaseNight {
!include https://gitea.d1v3.de/matthias/pywerewolf/raw/branch/master/README.md!TheNight

View File

@@ -153,9 +153,16 @@ class Game(object):
TransitionObject(
name = "StartGame 2 MainPhaseNight",
inputType=GameMasterStartGame,
condition=[self.players_ready],
condition=[self.players_ready, self.no_cupin],
transition=self.assign_roles,
next=GameState.start_game,
next=GameState.night_phase,
),
TransitionObject(
name = "StartGame 2 CupinSelect",
inputType=GameMasterStartGame,
condition=[self.has_cupin],
transition=self.assign_roles,
next=GameState.night_phase,
)
],
}