diff --git a/ActualMop/Properties/AssemblyInfo.cs b/ActualMop/Properties/AssemblyInfo.cs index 0361f6d..438c036 100644 --- a/ActualMop/Properties/AssemblyInfo.cs +++ b/ActualMop/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.1.0")] -[assembly: AssemblyFileVersion("1.0.1.0")] +[assembly: AssemblyVersion("1.0.2.0")] +[assembly: AssemblyFileVersion("1.0.2.0")] diff --git a/ActualMop/Resources/changelog.txt b/ActualMop/Resources/changelog.txt index 1061007..6f432d4 100644 --- a/ActualMop/Resources/changelog.txt +++ b/ActualMop/Resources/changelog.txt @@ -1,2 +1,5 @@ Added: -- Mop position will reset on new game \ No newline at end of file +- "Use" icon will now appear when mop is in hand + +Bug Fixes: +- Player can't 'clean yourself' with mop \ No newline at end of file diff --git a/ActualMop/src/ActualMop.cs b/ActualMop/src/ActualMop.cs index 25e1654..f2edd26 100644 --- a/ActualMop/src/ActualMop.cs +++ b/ActualMop/src/ActualMop.cs @@ -24,7 +24,7 @@ public class ActualMop : Mod public override string ID => "ActualMop"; //Your mod ID (unique) public override string Name => "Actual Mop"; //You mod name public override string Author => "Athlon"; //Your Username - public override string Version => "1.0.1"; //Version + public override string Version => "1.0.2"; //Version // Set this to true if you will be load custom assets from Assets folder. // This will create subfolder in Assets folder for your mod. diff --git a/ActualMop/src/MopBehaviour.cs b/ActualMop/src/MopBehaviour.cs index 1915eb6..538117b 100644 --- a/ActualMop/src/MopBehaviour.cs +++ b/ActualMop/src/MopBehaviour.cs @@ -124,9 +124,13 @@ public void Initialize(MopSaveData mopSaveData) void Update() { // If player holds the object and presses Use button, toggle isEquipped - if (transform.parent == itemPivot && cInput.GetButtonDown("Use")) + if (transform.parent == itemPivot) { - isEquipped ^= true; + if (!isEquipped) + PlayMakerGlobals.Instance.Variables.GetFsmBool("GUIuse").Value = true; + + if (cInput.GetButtonDown("Use")) + isEquipped ^= true; } // If is equipped, equip the mop @@ -222,7 +226,7 @@ IEnumerator DisableRoutine() pissRenderer.enabled = true; // Remove the dirtiness given by the game for finishing pissing - PlayMakerGlobals.Instance.Variables.FindFsmFloat("PlayerDirtiness").Value -= 5; + PlayMakerGlobals.Instance.Variables.FindFsmFloat("PlayerDirtiness").Value -= 2.5f; // Restore last PissRate value pissAreas.FsmVariables.FindFsmFloat("PissRate").Value = lastPissRate; } diff --git a/CHANGELOG.md b/CHANGELOG.md index b082ff0..5cc718e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 1.0.2 (01.03.2020) + +### Added + +- "Use" icon will now appear when mop is in hand + +### Bug Fixes + +- Player can't 'clean yourself' with mop + ## 1.0.1 (16.02.2020) ### Added