Skip to content

Commit

Permalink
v5.0.1 Source Code
Browse files Browse the repository at this point in the history
  • Loading branch information
eDonnes124 committed Jul 10, 2023
1 parent e950f7b commit 84de769
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ Join our [Discord](https://discord.gg/ugyc4EVUYZ) if you have any problems or wa
# Releases
| Among Us - Version| Mod Version | Link |
|----------|-------------|-----------------|
| 2023.6.13s & 2023.6.13e | v5.0.1 | [Download](https://github.com/eDonnes124/Town-Of-Us/releases/download/v5.0.1/ToU.v5.0.1.zip) |
| 2023.6.13s & 2023.6.13e | v5.0.0 | [Download](https://github.com/eDonnes124/Town-Of-Us/releases/download/v5.0.0/ToU.v5.0.0.zip) |
| 2023.3.28s & 2023.3.28e | v4.0.6 | [Download](https://github.com/eDonnes124/Town-Of-Us/releases/download/v4.0.6/ToU.v4.0.6.zip) |
| 2023.3.28s & 2023.3.28e | v4.0.5 | [Download](https://github.com/eDonnes124/Town-Of-Us/releases/download/v4.0.5/ToU.v4.0.5.zip) |
Expand Down Expand Up @@ -144,6 +145,10 @@ Join our [Discord](https://discord.gg/ugyc4EVUYZ) if you have any problems or wa
<details>
<summary> Changelog </summary>
<details>
<summary> v5.0.1 </summary>
<ul> <li>Bug Fix: Airship Ladders work again</li> </ul>
</details>
<details>
<summary> v5.0.0 </summary>
<ul> <li>New Role: Doomsayer</li> </ul>
<ul> <li>New Role: Vampire</li> </ul>
Expand Down
10 changes: 10 additions & 0 deletions source/Patches/CustomHats/Patches/HatLoad.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,15 @@ public static bool Prefix(HatParent __instance)
}
}

[HarmonyPatch(typeof(HatParent), nameof(HatParent.SetClimbAnim))]
public static class PF_climb_patch
{
public static bool Prefix(HatParent __instance)
{
if (!HatCache.hatViewDatas.ContainsKey(__instance.Hat.ProductId)) return true;
__instance.FrontLayer.sprite = null;
return false;
}
}
}
}
Binary file added source/Resources/Hats/hats0493.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 source/Resources/Hats/hats0494.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 source/Resources/Hats/hats0495.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions source/Resources/Hats/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2465,6 +2465,21 @@
"name": "Golden Wreath hat",
"artist": "SugaNope"
},
{
"id": "hats0493",
"name": "Little Antoinette hat",
"artist": "Pigoletto"
},
{
"id": "hats0494",
"name": "Little Golem hat",
"artist": "Pigoletto"
},
{
"id": "hats0495",
"name": "Little Jason hat",
"artist": "Pigoletto"
},
{
"id": "misc0000",
"name": "ZeroXFusionz hat",
Expand Down
2 changes: 1 addition & 1 deletion source/TownOfUs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace TownOfUs
public class TownOfUs : BasePlugin
{
public const string Id = "com.slushiegoose.townofus";
public const string VersionString = "5.0.0";
public const string VersionString = "5.0.1";
public static System.Version Version = System.Version.Parse(VersionString);

public static AssetLoader bundledAssets;
Expand Down
2 changes: 1 addition & 1 deletion source/TownOfUs.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>5.0.0</Version>
<Version>5.0.1</Version>
<DebugType>embedded</DebugType>
<LangVersion>latest</LangVersion>
</PropertyGroup>
Expand Down

0 comments on commit 84de769

Please sign in to comment.