Skip to content

Commit

Permalink
Below Zero as standalone BepInEx plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
repkins committed May 17, 2024
1 parent db9a347 commit a7db6e3
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 22 deletions.
18 changes: 18 additions & 0 deletions TerraformingBZ/Plugin.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using BepInEx;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Terraforming
{
[BepInPlugin("subnautica-zero.repkins.terraforming", "TerraformingBZ", "1.4.4.1")]
public class Plugin: BaseUnityPlugin
{
public void Awake()
{
MainPatcher.Patch();
}
}
}
4 changes: 2 additions & 2 deletions TerraformingBZ/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.4.4.0")]
[assembly: AssemblyFileVersion("1.4.4.0")]
[assembly: AssemblyVersion("1.4.4.1")]
[assembly: AssemblyFileVersion("1.4.4.1")]
12 changes: 6 additions & 6 deletions TerraformingBZ/TerraformingBZ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>E:\Program Files %28x86%29\Steam\steamapps\common\SubnauticaZero\QMods\TerraformingBZ\</OutputPath>
<OutputPath>E:\Program Files %28x86%29\Steam\steamapps\common\SubnauticaZero\BepInEx\plugins\TerraformingBZ\</OutputPath>
<DefineConstants>TRACE;BelowZero</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand All @@ -48,6 +48,10 @@
<HintPath>E:\Program Files (x86)\Steam\steamapps\common\SubnauticaZero\SubnauticaZero_Data\Managed\publicized_assemblies\Assembly-CSharp-firstpass_publicized.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="BepInEx">
<HintPath>E:\Program Files (x86)\Steam\steamapps\common\SubnauticaZero\BepInEx\core\BepInEx.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>E:\Program Files (x86)\Steam\steamapps\common\SubnauticaZero\SubnauticaZero_Data\Managed\Newtonsoft.Json.dll</HintPath>
<Private>False</Private>
Expand Down Expand Up @@ -85,6 +89,7 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Plugin.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Resources\Identifiers.Designer.cs">
<DependentUpon>Identifiers.resx</DependentUpon>
Expand All @@ -97,11 +102,6 @@
<DesignTime>True</DesignTime>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="mod.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\Identifiers.resx">
<Generator>ResXFileCodeGenerator</Generator>
Expand Down
14 changes: 0 additions & 14 deletions TerraformingBZ/mod.json

This file was deleted.

0 comments on commit a7db6e3

Please sign in to comment.