@@ -46,6 +46,7 @@ public class EndCondition
4646 public static EndCondition ChallengerWin = new EndCondition ( 135 , Roles . NeutralRoles . Challenger . RoleColor , "challenger" , 1 , Module . CustomGameMode . Standard ) ;
4747 public static EndCondition OracleWin = new EndCondition ( 136 , Roles . NeutralRoles . Oracle . RoleColor , "oracle" , 1 , Module . CustomGameMode . Standard ) ;
4848 public static EndCondition GhostWin = new EndCondition ( 137 , new ( 1f , 1f , 1f ) , "ghost" , 1 , Module . CustomGameMode . Standard ) ;
49+ public static EndCondition PuppeteerWin = new EndCondition ( 138 , Roles . NeutralRoles . Puppeteer . RoleColor , "puppeteer" , 1 , Module . CustomGameMode . Standard ) ;
4950
5051
5152 public static HashSet < EndCondition > AllEnds = new HashSet < EndCondition > ( ) {
@@ -55,7 +56,7 @@ public class EndCondition
5556 JesterWin , JackalWin , ArsonistWin , EmpiricWin , PaparazzoWin , VultureWin , SpectreWin , SantaWin ,
5657 LoversWin , TrilemmaWin , AvengerWin ,
5758 NoGame , NobodyWin , NobodySkeldWin , NobodyMiraWin , NobodyPolusWin , NobodyAirshipWin ,
58- PavlovWin , MoriartyWin , MoriartyWinByKillHolmes , CascrubinterWin , GuesserWin , YandereWin , WerewolfWin , ChallengerWin , OracleWin , GhostWin
59+ PavlovWin , MoriartyWin , MoriartyWinByKillHolmes , CascrubinterWin , GuesserWin , YandereWin , WerewolfWin , ChallengerWin , OracleWin , GhostWin , PuppeteerWin
5960 } ;
6061
6162 public static EndCondition GetEndCondition ( GameOverReason gameOverReason )
@@ -740,6 +741,8 @@ public class PlayerStatistics
740741 public int AliveOracleWithSidekick ;
741742 public int AliveInLoveOracleWithSidekick ;
742743
744+ public int AlivePuppeteer ;
745+
743746 public int AliveZombieSidekick ;
744747
745748 public bool IsValid ;
@@ -809,6 +812,7 @@ public PlayerStatistics(ShipStatus __instance)
809812 AliveInLoveOracleWithSidekick = 0 ;
810813
811814 AliveZombieSidekick = 0 ;
815+ AlivePuppeteer = 0 ;
812816
813817
814818 Roles . Side side ;
@@ -1061,6 +1065,8 @@ public PlayerStatistics(ShipStatus __instance)
10611065
10621066 if ( data . role == Roles . Roles . ZombieSidekick ) AliveZombieSidekick ++ ;
10631067
1068+ if ( data . role == Roles . Roles . Puppeteer ) AlivePuppeteer ++ ;
1069+
10641070 IsValid = true ;
10651071 }
10661072 catch ( Exception e )
0 commit comments