mirror of
				https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
				synced 2024-08-15 00:43:45 +00:00 
			
		
		
		
	Compare commits
	
		
			4 commits
		
	
	
		
			61439a0a1d
			...
			6de9fc6be7
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
							 | 
						6de9fc6be7 | ||
| 
							 | 
						2a4db3cc75 | ||
| 
							 | 
						ccb0a11d24 | ||
| 
							 | 
						88cf51e0cb | 
					 3 changed files with 7 additions and 7 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -78,7 +78,7 @@ namespace Rimworld_Animations {
 | 
			
		|||
				Vector3 vector2 = a + ((offset2 != null) ? offset2.GetOffset(renderFlags.FlagSet(PawnRenderFlags.Portrait), pawn.story.bodyType, pawn.story.headType) : Vector3.zero);
 | 
			
		||||
				vector2.y = (ba.inFrontOfBody ? (0.3f + vector2.y) : (-0.3f - vector2.y));
 | 
			
		||||
				float num = ba.angle;
 | 
			
		||||
				if (rotation == Rot4.North)
 | 
			
		||||
				if (((ba.drawnInBed && !forceDrawForBody) || ba.alignWithHead ? pawnAnimator.headFacing : pawnAnimator.bodyFacing) == Rot4.North)
 | 
			
		||||
				{
 | 
			
		||||
					if (ba.layerInvert)
 | 
			
		||||
					{
 | 
			
		||||
| 
						 | 
				
			
			@ -86,7 +86,7 @@ namespace Rimworld_Animations {
 | 
			
		|||
					}
 | 
			
		||||
					num = 0f;
 | 
			
		||||
				}
 | 
			
		||||
				if (rotation == Rot4.East)
 | 
			
		||||
				if (((ba.drawnInBed && !forceDrawForBody) || ba.alignWithHead ? pawnAnimator.headFacing : pawnAnimator.bodyFacing) == Rot4.East)
 | 
			
		||||
				{
 | 
			
		||||
					num = 0f - num;
 | 
			
		||||
					vector2.x = 0f - vector2.x;
 | 
			
		||||
| 
						 | 
				
			
			@ -97,6 +97,7 @@ namespace Rimworld_Animations {
 | 
			
		|||
 | 
			
		||||
				Vector3 orassanv = Vector3.zero;
 | 
			
		||||
				bool orassan = false;
 | 
			
		||||
				/*
 | 
			
		||||
				if ((pawn.def as ThingDef_AlienRace).defName == "Alien_Orassan")
 | 
			
		||||
				{
 | 
			
		||||
					orassan = true;
 | 
			
		||||
| 
						 | 
				
			
			@ -111,7 +112,7 @@ namespace Rimworld_Animations {
 | 
			
		|||
					{
 | 
			
		||||
						orassan = true;
 | 
			
		||||
 | 
			
		||||
						orassanv = new Vector3(0, 0, 0.23f);
 | 
			
		||||
						orassanv = new Vector3(0, 0, 1.23f);
 | 
			
		||||
						if (pawnAnimator.headFacing == Rot4.North)
 | 
			
		||||
						{
 | 
			
		||||
							orassanv.z -= 0.1f;
 | 
			
		||||
| 
						 | 
				
			
			@ -135,9 +136,9 @@ namespace Rimworld_Animations {
 | 
			
		|||
						{
 | 
			
		||||
							orassanv.x = 0.1f;
 | 
			
		||||
						}
 | 
			
		||||
						else
 | 
			
		||||
						else //south
 | 
			
		||||
						{
 | 
			
		||||
							orassanv.z -= 0.1f;
 | 
			
		||||
							orassanv.z += 0.1f;
 | 
			
		||||
							orassanv.y += 1f;
 | 
			
		||||
 | 
			
		||||
							if (ba.bodyPart.defName.Contains("right"))
 | 
			
		||||
| 
						 | 
				
			
			@ -152,8 +153,7 @@ namespace Rimworld_Animations {
 | 
			
		|||
						orassanv = orassanv.RotatedBy(pawnAnimator.headAngle);
 | 
			
		||||
					}
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
				*/
 | 
			
		||||
				if ((ba.drawnInBed && !forceDrawForBody) || ba.alignWithHead)
 | 
			
		||||
				{
 | 
			
		||||
					
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue