diff --git a/1.4/Assemblies/RJW_Menstruation.dll b/1.4/Assemblies/RJW_Menstruation.dll index 138faa7..d18fe4a 100644 Binary files a/1.4/Assemblies/RJW_Menstruation.dll and b/1.4/Assemblies/RJW_Menstruation.dll differ diff --git a/1.4/source/RJW_Menstruation/RJW_Menstruation/Patch/Gizmo_Patch.cs b/1.4/source/RJW_Menstruation/RJW_Menstruation/Patch/Gizmo_Patch.cs index 4571fae..86ef4d9 100644 --- a/1.4/source/RJW_Menstruation/RJW_Menstruation/Patch/Gizmo_Patch.cs +++ b/1.4/source/RJW_Menstruation/RJW_Menstruation/Patch/Gizmo_Patch.cs @@ -43,7 +43,7 @@ namespace RJW_Menstruation private static Gizmo CreateGizmo_WombStatus(Pawn pawn, HediffComp_Menstruation comp) { - Texture2D icon, icon_overay; + Texture2D icon, icon_overlay; StringBuilder description = new StringBuilder(); if (Configurations.Debug) { @@ -69,15 +69,15 @@ namespace RJW_Menstruation float gestationProgress = comp.StageProgress; if (hediff is Hediff_BasePregnancy || hediff is HediffWithParents) { - if (gestationProgress < 0.2f) icon_overay = comp.GetCumIcon(); - else icon_overay = ContentFinder.Get(("Womb/Empty"), true); + if (gestationProgress < 0.2f) icon_overlay = comp.GetCumIcon(); + else icon_overlay = ContentFinder.Get(("Womb/Empty"), true); } - else icon_overay = ContentFinder.Get(("Womb/Empty"), true); + else icon_overlay = ContentFinder.Get(("Womb/Empty"), true); } else { icon = comp.GetWombIcon(); - icon_overay = comp.GetCumIcon(); + icon_overlay = comp.GetCumIcon(); } } else @@ -91,7 +91,7 @@ namespace RJW_Menstruation { icon = comp.GetWombIcon(); } - icon_overay = comp.GetCumIcon(); + icon_overlay = comp.GetCumIcon(); } foreach (string s in comp.GetCumsInfo) description.AppendFormat("{0}\n", s); @@ -103,7 +103,7 @@ namespace RJW_Menstruation defaultLabel = pawn.LabelShort, defaultDesc = description.ToString(), icon = icon, - icon_overay = icon_overay, + icon_overlay = icon_overlay, shrinkable = Configurations.AllowShrinkIcon, cumcolor = c, comp = comp, diff --git a/1.4/source/RJW_Menstruation/RJW_Menstruation/UI/Dialog_WombStatus.cs b/1.4/source/RJW_Menstruation/RJW_Menstruation/UI/Dialog_WombStatus.cs index 2c8b4c8..0448aac 100644 --- a/1.4/source/RJW_Menstruation/RJW_Menstruation/UI/Dialog_WombStatus.cs +++ b/1.4/source/RJW_Menstruation/RJW_Menstruation/UI/Dialog_WombStatus.cs @@ -462,8 +462,8 @@ namespace RJW_Menstruation statvalue = Configurations.ImplantationChance * comp.ImplantChance; float fertchance = comp.GetFertilityChance(); FillableBarLabeled(lineRect, " " + xxx.reproduction.LabelCap.CapitalizeFirst() + " " + statvalue.ToStringPercent(), statvalue, TextureCache.LutealTexture, Texture2D.blackTexture, Translations.FertilityDesc(string.Format("{0:0.##}", fertchance * 100))); - Rect overayRect = new Rect(lineRect.x, lineRect.y, lineRect.width * Math.Min(1.0f, fertchance), lineRect.height); - GUI.DrawTexture(overayRect, TextureCache.FertChanceTex); + Rect overlayRect = new Rect(lineRect.x, lineRect.y, lineRect.width * Math.Min(1.0f, fertchance), lineRect.height); + GUI.DrawTexture(overlayRect, TextureCache.FertChanceTex); lineRect.y += height; } diff --git a/1.4/source/RJW_Menstruation/RJW_Menstruation/UI/Gizmo_Womb.cs b/1.4/source/RJW_Menstruation/RJW_Menstruation/UI/Gizmo_Womb.cs index c303d4e..aaaa96f 100644 --- a/1.4/source/RJW_Menstruation/RJW_Menstruation/UI/Gizmo_Womb.cs +++ b/1.4/source/RJW_Menstruation/RJW_Menstruation/UI/Gizmo_Womb.cs @@ -5,7 +5,7 @@ namespace RJW_Menstruation { public class Gizmo_Womb : Command_Action { - public Texture2D icon_overay; + public Texture2D icon_overlay; public Color cumcolor; public HediffComp_Menstruation comp; @@ -14,23 +14,23 @@ namespace RJW_Menstruation public override void DrawIcon(Rect rect, Material buttonMat, GizmoRenderParms parms) { Texture badTex = icon; - Texture2D overay = icon_overay; + Texture2D overlay = icon_overlay; Color color = cumcolor; if (badTex == null) { badTex = BaseContent.BadTex; } - if (overay == null) + if (overlay == null) { - overay = BaseContent.BadTex; + overlay = BaseContent.BadTex; } if (color == null) color = Color.white; rect.position += new Vector2(iconOffset.x * rect.size.x, iconOffset.y * rect.size.y); GUI.color = IconDrawColor; Widgets.DrawTextureFitted(rect, badTex, this.iconDrawScale * 0.85f, this.iconProportions, this.iconTexCoords, this.iconAngle, buttonMat); GUI.color = color; - Widgets.DrawTextureFitted(rect, overay, iconDrawScale * 0.85f, iconProportions, iconTexCoords, iconAngle, buttonMat); + Widgets.DrawTextureFitted(rect, overlay, iconDrawScale * 0.85f, iconProportions, iconTexCoords, iconAngle, buttonMat); GUI.color = Color.white; if (Configurations.DrawEggOverlay) comp.DrawEggOverlay(rect, false); Rect progressRect = new Rect(rect.x + 2f, rect.y, rect.width - 4f, progressbarHeight);