Skip to content

Commit

Permalink
v2.4.2 Source Code
Browse files Browse the repository at this point in the history
  • Loading branch information
eDonnes124 committed Jan 21, 2022
1 parent 0414354 commit dec5422
Show file tree
Hide file tree
Showing 52 changed files with 532 additions and 10 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -59,6 +59,7 @@ Join our [Discord](https://discord.gg/ugyc4EVUYZ) if you have any problems or wa
# Releases
| Among Us - Version| Mod Version | Link |
|----------|-------------|-----------------|
| 2021.12.15s & 2021.12.15e | v2.4.2 | [Download](https://github.com/eDonnes124/Town-Of-Us/releases/download/v2.4.1/ToU.v2.4.2.zip) |
| 2021.12.15s & 2021.12.15e | v2.4.1 | [Download](https://github.com/eDonnes124/Town-Of-Us/releases/download/v2.4.1/ToU.v2.4.1.zip) |
| 2021.11.9.5s & 2021.11.9.5e | v2.4.0 | [Download](https://github.com/eDonnes124/Town-Of-Us/releases/download/v2.4.0/ToU.v2.4.0.zip) |
| 2021.6.30s & 2021.6.30e & 2021.7.20e | v2.3.4 | [Download](https://github.com/eDonnes124/Town-Of-Us/releases/download/v2.3.4/ToU.v2.3.4.zip) |
Expand Down Expand Up @@ -88,6 +89,12 @@ Join our [Discord](https://discord.gg/ugyc4EVUYZ) if you have any problems or wa
<details>
<summary> Changelog </summary>
<details>
<summary> v2.4.2 </summary>
<ul> <li>New Hats</li> </ul>
<ul> <li>Bug Fix for Mayor Abstain Button</li> </ul>
<ul> <li>Readded the Missing Modstamp</li> </ul>
</details>
<details>
<summary> v2.4.1 </summary>
<ul> <li>Support for the new version of Among Us on v2021.12.15</li> </ul>
</details>
Expand Down
2 changes: 1 addition & 1 deletion source/Patches/CrewmateRoles/MayorMod/AddAbstain.cs
Expand Up @@ -15,7 +15,7 @@ public static void UpdateButton(Mayor role, MeetingHud __instance)
role.Abstain.gameObject.SetActive(skip.gameObject.active && !role.VotedOnce);
role.Abstain.voteComplete = skip.voteComplete;
role.Abstain.GetComponent<SpriteRenderer>().enabled = skip.GetComponent<SpriteRenderer>().enabled;
// role.Abstain.skipVoteText.text = "Abstain";
role.Abstain.GetComponentsInChildren<TextMeshPro>()[0].text = "Abstain";
}


Expand Down
2 changes: 1 addition & 1 deletion source/Patches/PingTrackerUpdate.cs
Expand Up @@ -16,7 +16,7 @@ public static void Postfix(PingTracker __instance)
position.AdjustPosition();

__instance.text.text =
"<color=#00FF00FF>TownOfUs v2.4.1</color>\n" +
"<color=#00FF00FF>TownOfUs v2.4.2</color>\n" +
__instance.text.text +
(!MeetingHud.Instance
? "\n<color=#00FF00FF>Slushiegoose & Polus.gg</color>\n" + "<color=#00FF00FF>Donners ft. Guus</color>"
Expand Down
2 changes: 1 addition & 1 deletion source/Patches/VersionShowerUpdate.cs
Expand Up @@ -10,7 +10,7 @@ public static void Postfix(VersionShower __instance)
{
var text = __instance.text;
//text.text += "\nloaded <color=#FFBFCCFF>T[FF80D5FF]o[FFCC00FF]w[704FA8FF]n[FF0000FF] of[CC4D00FF] Us [FFFFFFFF]by [00FF00FF]slushiegoose[FFFFFFFF] </color>;
text.text += " - <color=#00FF00FF>TownOfUs v2.4.1</color>";
text.text += " - <color=#00FF00FF>TownOfUs v2.4.2</color>";
}
}
}
Binary file modified source/Resources/Hats/hats0007.png
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/hats0078.png
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/hats0079.png
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/hats0080.png
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/hats0081.png
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/hats0082.png
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/hats0083.png
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/hats0084.png
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/hats0085.png
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/hats0086.png
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/hats0087.png
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/hats0088.png
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/hats0089.png
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/hats0090.png
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/hats0091.png
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/hats0092.png
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/hats0093.png
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/hats0094.png
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/hats0095.png
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/hats0096.png
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/hats0097.png
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/hats0098.png
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/hats0099.png
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/hats0100.png
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/hats0101.png
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/hats0102.png
Binary file added source/Resources/Hats/hats0103.png
Binary file added source/Resources/Hats/hats0104.png
Binary file added source/Resources/Hats/hats0105.png
Binary file added source/Resources/Hats/hats0106.png
Binary file added source/Resources/Hats/hats0107.png
Binary file added source/Resources/Hats/hats0108.png
Binary file added source/Resources/Hats/hats0109.png
Binary file added source/Resources/Hats/hats0110.png
Binary file added source/Resources/Hats/hats0111.png
Binary file added source/Resources/Hats/hats0112.png
Binary file added source/Resources/Hats/hats0113.png
Binary file added source/Resources/Hats/hats0114.png
Binary file added source/Resources/Hats/hats0115.png
Binary file added source/Resources/Hats/hats0116.png
Binary file added source/Resources/Hats/hats0117.png
Binary file added source/Resources/Hats/hats0118.png
Binary file added source/Resources/Hats/hats0119.png
Binary file added source/Resources/Hats/hats0120.png

0 comments on commit dec5422

Please sign in to comment.