mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Handle some properties for enzygotic siblings without a story
This commit is contained in:
		
							parent
							
								
									511e5286dc
								
							
						
					
					
						commit
						9ae8f3966d
					
				
					 2 changed files with 21 additions and 17 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -429,14 +429,13 @@ namespace RJW_Menstruation
 | 
				
			||||||
                if (baby == null) break;
 | 
					                if (baby == null) break;
 | 
				
			||||||
                if (division > 1)
 | 
					                if (division > 1)
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    if (i == 0) firstbaby = baby;
 | 
					 | 
				
			||||||
                    else enzygoticSiblings?.Add(baby, firstbaby);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    if (baby.story == null) continue;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    if (i == 0)
 | 
					                    if (i == 0)
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
 | 
					                        firstbaby = baby;
 | 
				
			||||||
                        request.FixedGender = baby.gender;
 | 
					                        request.FixedGender = baby.gender;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                        if (baby.story != null)
 | 
				
			||||||
 | 
					                        {
 | 
				
			||||||
                            firstheadpath = (string)baby.story.GetMemberValue("headGraphicPath");
 | 
					                            firstheadpath = (string)baby.story.GetMemberValue("headGraphicPath");
 | 
				
			||||||
                            if (firstheadpath == null)
 | 
					                            if (firstheadpath == null)
 | 
				
			||||||
                            {
 | 
					                            {
 | 
				
			||||||
| 
						 | 
					@ -444,15 +443,20 @@ namespace RJW_Menstruation
 | 
				
			||||||
                                if (head != null) baby.story.SetMemberValue("headGraphicPath", head.GraphicPath);
 | 
					                                if (head != null) baby.story.SetMemberValue("headGraphicPath", head.GraphicPath);
 | 
				
			||||||
                                firstheadpath = (string)baby.story.GetMemberValue("headGraphicPath");
 | 
					                                firstheadpath = (string)baby.story.GetMemberValue("headGraphicPath");
 | 
				
			||||||
                            }
 | 
					                            }
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    else
 | 
					                    else
 | 
				
			||||||
 | 
					                    {
 | 
				
			||||||
 | 
					                        enzygoticSiblings?.Add(baby, firstbaby);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                        if (baby.story != null)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            baby.story.hairDef = firstbaby.story.hairDef;
 | 
					                            baby.story.hairDef = firstbaby.story.hairDef;
 | 
				
			||||||
                            baby.story.hairColor = firstbaby.story.hairColor;
 | 
					                            baby.story.hairColor = firstbaby.story.hairColor;
 | 
				
			||||||
                            baby.story.bodyType = firstbaby.story.bodyType;
 | 
					                            baby.story.bodyType = firstbaby.story.bodyType;
 | 
				
			||||||
                            baby.story.crownType = firstbaby.story.crownType;
 | 
					                            baby.story.crownType = firstbaby.story.crownType;
 | 
				
			||||||
                            baby.story.SetMemberValue("headGraphicPath", firstheadpath);
 | 
					                            baby.story.SetMemberValue("headGraphicPath", firstheadpath);
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        if (baby.IsHAR())
 | 
					                        if (baby.IsHAR())
 | 
				
			||||||
                            HARCompatibility.CopyHARProperties(baby, firstbaby);
 | 
					                            HARCompatibility.CopyHARProperties(baby, firstbaby);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue