Compare commits
1 Commits
faf7fa388a
...
f7f6541e9d
| Author | SHA1 | Date | |
|---|---|---|---|
| f7f6541e9d |
@@ -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
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user