Added compatibility for Among Us v2021.6.30s

This commit is contained in:
Brybry committed 2021-09-05 18:38:35 +02:00
1 parent c21fba261d
commit d953dd1c03
3 files changed
+36 -12

No files matched your search

+25 -9
View File
@@ -1,21 +1,37 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>1.1.2</Version>
<GameVersion>2021.3.31.3s</GameVersion>
<Mappings>NuclearPowered/Mappings:0.3.0</Mappings>
<Version>1.1.3</Version>
<Description>Mod allowing some enhancements in Polus Map</Description>
<Description>An Among Us mod that tweaks Polus, allowing a more balanced experience.</Description>
<Authors>Brybry</Authors>
</PropertyGroup>
<ItemGroup>
<Deobfuscate Include="$(AmongUs)\BepInEx\plugins\Reactor-$(GameVersion).dll" />
<PropertyGroup Condition="'$(GamePlatform)' == 'Steam'">
<GameVersion>2021.6.30s</GameVersion>
<DefineConstants>$(DefineConstants);STEAM</DefineConstants>
</PropertyGroup>
<PackageReference Include="Reactor.OxygenFilter.MSBuild" Version="0.3.0" />
<PropertyGroup Condition="'$(GamePlatform)' == 'Itch'">
<GameVersion>2021.6.30i</GameVersion>
<DefineConstants>$(DefineConstants);ITCH</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="$(AmongUs)\BepInEx\core\*.dll">
<Private>false</Private>
</Reference>
<Reference Include="$(AmongUs)\BepInEx\unhollowed\*.dll">
<Private>false</Private>
</Reference>
<Reference Remove="$(AmongUs)\BepInEx\unhollowed\netstandard.dll;$(AmongUs)\BepInEx\unhollowed\Newtonsoft.Json.dll" />
<Reference Include="$(AmongUs)\BepInEx\plugins\Reactor.dll" />
</ItemGroup>
<Target Name="Copy" AfterTargets="Reobfuscate">
<Copy SourceFiles="$(OutputPath)reobfuscated/$(AssemblyName)-$(GameVersion).dll" DestinationFolder="$(AmongUs)/BepInEx/plugins/" Condition="'$(Configuration)' == 'Debug'" />
<Target Name="Copy" AfterTargets="Build">
<Copy SourceFiles="$(OutputPath)$(AssemblyName).dll" DestinationFiles="$(AmongUs)/BepInEx/plugins/$(AssemblyName)-$(Version).dll" />
</Target>
</Project>
+3 -3
View File
@@ -26,9 +26,9 @@ namespace BetterPolus
ReactorVersionShower.TextUpdated += (text) =>
{
int index = text.Text.LastIndexOf('\n');
text.Text = text.Text.Insert(index == -1 ? text.Text.Length - 1 : index,
"\nLoaded [5E4CA6FF]BetterPolus v1.1.2-R []by Brybry");
int index = text.text.LastIndexOf('\n');
text.text = text.text.Insert(index == -1 ? text.text.Length - 1 : index,
"\nLoaded <color=#5E4CA6FF>BetterPolus v1.1.3-R</color> by Brybry");
};
Harmony.PatchAll();
+8
View File
@@ -86,12 +86,20 @@ There are two ways to install the mod :
## Releases
| Among Us Version | Mod Version | All-in-one pack | DLL file |
| ---------------- | ----------- | :-------------: | :------: |
| v2021.6.30 | Ver. 1.1.3 | **[Download](https://github.com/Brybry16/BetterPolus/releases/download/v1.1.3/BetterPolus_All-in-one-Pack-1.1.3.zip)** | **[Download](https://github.com/Brybry16/BetterPolus/releases/download/v1.1.3/BetterPolus-1.1.3.dll)** |
| v2021.3.31.3 | Ver. 1.1.2 | **[Download](https://github.com/Brybry16/BetterPolus/releases/download/v1.1.2/BetterPolus_All-in-one-Pack-1.1.2.zip)** | **[Download](https://github.com/Brybry16/BetterPolus/releases/download/v1.1.2/BetterPolus-2021.3.31.3s.dll)** |
| v2021.3.5s | Ver. 1.1.1 | **[Download](https://github.com/Brybry16/BetterPolus/releases/download/v1.1.1/BetterPolus_All-in-one-Pack-1.1.1.zip)** | **[Download](https://github.com/Brybry16/BetterPolus/releases/download/v1.1.1/BetterPolus-2021.3.5s.dll)** |
| v2020.12.9s | Ver. 1.1 | **[Download](https://github.com/Brybry16/BetterPolus/releases/download/v1.1/BetterPolus_All-in-one-Pack-1.1.zip)** | **[Download](https://github.com/Brybry16/BetterPolus/releases/download/v1.1/BetterPolus-2020.12.9s.dll)** |
| v2020.12.9s | Ver. 1.0 | **[Download](https://github.com/Brybry16/BetterPolus/releases/download/v1.0.0/BetterPolus_All-in-one-Pack.zip)** | **[Download](https://github.com/Brybry16/BetterPolus/releases/download/v1.0.0/BetterPolus-2020.12.9s.dll)** |
### Changelog
<details>
<summary>Version 1.1.6</summary>
<ul>
<li>Added compatibility with Among Us v2021.6.30s</li>
</ul>
</details>
<details>
<summary>Version 1.1.2</summary>
<ul>