Skip to content

Commit

Permalink
edb prepc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Killface1980 committed Nov 21, 2017
1 parent 908fdc3 commit 440ef68
Show file tree
Hide file tree
Showing 19 changed files with 8 additions and 6 deletions.
Binary file modified Assemblies/FacialStuff.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/RW_FacialStuff/CompFace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public override void PostDraw()
base.PostDraw();

// Children & Pregnancy || Werewolves transformed
if (this.pawn?.Map == null || !this.pawn.Spawned || this.pawn.Dead || this.IsChild || this.DontRender)
if (this.pawn.Map == null || !this.pawn.Spawned || this.pawn.Dead || this.IsChild || this.DontRender)
{
return;
}
Expand Down
2 changes: 1 addition & 1 deletion Source/RW_FacialStuff/FacialStuff.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<Private>False</Private>
</Reference>
<Reference Include="EdBPrepareCarefully">
<HintPath>..\..\..\unofficial-EdBPrepareCarefully\Assemblies\EdBPrepareCarefully.dll</HintPath>
<HintPath>..\..\..\..\..\..\workshop\content\294100\735106432\Assemblies\EdBPrepareCarefully.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Core" />
Expand Down
4 changes: 2 additions & 2 deletions Source/RW_FacialStuff/Graphics/FaceGraphic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,13 @@ private void InitializeGraphicsWrinkles()

this.WrinkleGraphic = GraphicDatabase.Get<Graphic_Multi_NaturalHeadParts>(
pawnFaceWrinkleDef.texPath + "_" + this.compFace.PawnCrownType + "_" + this.compFace.PawnHeadType,
ShaderDatabase.CutoutSkin,
ShaderDatabase.Transparent,
Vector2.one,
wrinkleColor);

this.RottingWrinkleGraphic = GraphicDatabase.Get<Graphic_Multi_NaturalHeadParts>(
pawnFaceWrinkleDef.texPath + "_" + this.compFace.PawnCrownType + "_" + this.compFace.PawnHeadType,
ShaderDatabase.CutoutSkin,
ShaderDatabase.Transparent,
Vector2.one,
wrinkleColor * FaceTextures.SkinRottingMultiplyColor);
}
Expand Down
2 changes: 1 addition & 1 deletion Source/RW_FacialStuff/Harmony/HarmonyPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public static void AddFaceEditButton(Page_ConfigureStartingPawns __instance, Rec

GUI.DrawTexture(rect2, ContentFinder<Texture2D>.Get("Buttons/ButtonFace", true));
GUI.color = Color.white;
string tip = "FacialStuffEditor.FaceStylerTitle".Translate();
string tip = "FacialStuffEditor.EditFace".Translate();
TooltipHandler.TipRegion(rect2, tip);

// ReSharper disable once InvertIf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static void AddFaceEditButton(PanelBackstory __instance, State state)
}

GUI.DrawTexture(rect, ContentFinder<Texture2D>.Get("Buttons/ButtonFace", true));
string tip = "FacialStuffEditor.FaceStylerTitle".Translate();
string tip = "FacialStuffEditor.EditFace".Translate();
TooltipHandler.TipRegion(rect, tip);

// ReSharper disable once InvertIf
Expand Down
2 changes: 2 additions & 0 deletions Source/RW_FacialStuff/PawnExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,7 @@ public static bool HasPawnFace([CanBeNull] this Pawn pawn)

return false;
}


}
}
Binary file added Textures/MergedHair/LSB01_back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/MergedHair/LSB01_front.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/MergedHair/LSB01_side.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/MergedHair/LSB03_back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/MergedHair/LSB03_front.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/MergedHair/LSB03_side.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/MergedHair/LSB05_back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/MergedHair/LSB05_front.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/MergedHair/LSB05_side.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/MergedHair/LSG06_back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/MergedHair/LSG06_front.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/MergedHair/LSG06_side.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 440ef68

Please sign in to comment.