Skip to content

Commit 84de769

Browse files
committed
v5.0.1 Source Code
1 parent e950f7b commit 84de769

File tree

8 files changed

+32
-2
lines changed

8 files changed

+32
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ Join our [Discord](https://discord.gg/ugyc4EVUYZ) if you have any problems or wa
8484
# Releases
8585
| Among Us - Version| Mod Version | Link |
8686
|----------|-------------|-----------------|
87+
| 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) |
8788
| 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) |
8889
| 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) |
8990
| 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) |
@@ -144,6 +145,10 @@ Join our [Discord](https://discord.gg/ugyc4EVUYZ) if you have any problems or wa
144145
<details>
145146
<summary> Changelog </summary>
146147
<details>
148+
<summary> v5.0.1 </summary>
149+
<ul> <li>Bug Fix: Airship Ladders work again</li> </ul>
150+
</details>
151+
<details>
147152
<summary> v5.0.0 </summary>
148153
<ul> <li>New Role: Doomsayer</li> </ul>
149154
<ul> <li>New Role: Vampire</li> </ul>

source/Patches/CustomHats/Patches/HatLoad.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,15 @@ public static bool Prefix(HatParent __instance)
5858
}
5959
}
6060

61+
[HarmonyPatch(typeof(HatParent), nameof(HatParent.SetClimbAnim))]
62+
public static class PF_climb_patch
63+
{
64+
public static bool Prefix(HatParent __instance)
65+
{
66+
if (!HatCache.hatViewDatas.ContainsKey(__instance.Hat.ProductId)) return true;
67+
__instance.FrontLayer.sprite = null;
68+
return false;
69+
}
70+
}
6171
}
6272
}

source/Resources/Hats/hats0493.png

75.9 KB
Loading

source/Resources/Hats/hats0494.png

46.9 KB
Loading

source/Resources/Hats/hats0495.png

31.7 KB
Loading

source/Resources/Hats/metadata.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2465,6 +2465,21 @@
24652465
"name": "Golden Wreath hat",
24662466
"artist": "SugaNope"
24672467
},
2468+
{
2469+
"id": "hats0493",
2470+
"name": "Little Antoinette hat",
2471+
"artist": "Pigoletto"
2472+
},
2473+
{
2474+
"id": "hats0494",
2475+
"name": "Little Golem hat",
2476+
"artist": "Pigoletto"
2477+
},
2478+
{
2479+
"id": "hats0495",
2480+
"name": "Little Jason hat",
2481+
"artist": "Pigoletto"
2482+
},
24682483
{
24692484
"id": "misc0000",
24702485
"name": "ZeroXFusionz hat",

source/TownOfUs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace TownOfUs
3030
public class TownOfUs : BasePlugin
3131
{
3232
public const string Id = "com.slushiegoose.townofus";
33-
public const string VersionString = "5.0.0";
33+
public const string VersionString = "5.0.1";
3434
public static System.Version Version = System.Version.Parse(VersionString);
3535

3636
public static AssetLoader bundledAssets;

source/TownOfUs.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>net6.0</TargetFramework>
4-
<Version>5.0.0</Version>
4+
<Version>5.0.1</Version>
55
<DebugType>embedded</DebugType>
66
<LangVersion>latest</LangVersion>
77
</PropertyGroup>

0 commit comments

Comments
 (0)