Beispiel #1
0
 public void PostInitialise()
 {
     if (Mother != null)
     {
         Mother.AddChild(this);
     }
     if (Father != null)
     {
         Father.AddChild(this);
     }
     if (Religion == null)
     {
         Religion = Capital?.Province?.Religion ?? (DynastyID == 0 ? null : World.CK2Dynasties[DynastyID].Religion);
     }
     if (Culture == null)
     {
         Culture = Capital?.Province?.Culture ?? (DynastyID == 0 ? null : World.CK2Dynasties[DynastyID].Culture);
         if (ID == 1522394)
         {
             Console.WriteLine( );
         }
     }
 }