Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CyclopsDockingMod/BaseItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public BaseItem(string classID, string name, string desc, string icon) : this(Pr
}

[SetsRequiredMembers]
public BaseItem(string classID, string name, string desc, Atlas.Sprite icon) : this(PrefabInfo.WithTechType(classID, name, desc, unlockAtStart: true).WithFileName(DefaultResourcePath + classID).WithIcon(icon))
public BaseItem(string classID, string name, string desc, Sprite icon) : this(PrefabInfo.WithTechType(classID, name, desc, unlockAtStart: true).WithFileName(DefaultResourcePath + classID).WithIcon(icon))
{
}

Expand Down
72 changes: 14 additions & 58 deletions CyclopsDockingMod/CyclopsDockingMod.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -86,69 +86,13 @@
<Dependencies>$(SubnauticaDir)\Subnautica_Data\Managed</Dependencies>
</PropertyGroup>
<ItemGroup>
<Reference Include="BepInEx">
<HintPath>$(SubnauticaDir)\BepInEx\core\BepInEx.dll</HintPath>
</Reference>
<Reference Include="0Harmony">
<HintPath>$(SubnauticaDir)\BepInEx\core\0Harmony.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>$(Dependencies)\publicized_assemblies\Assembly-CSharp_publicized.dll</HintPath>
<!--<HintPath>$(Dependencies)\Assembly-CSharp.dll</HintPath>-->
</Reference>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>$(Dependencies)\publicized_assemblies\Assembly-CSharp-firstpass_publicized.dll</HintPath>
<!--<HintPath>$(Dependencies)\Assembly-CSharp-firstpass.dll</HintPath>-->
</Reference>
<Reference Include="SMLHelper" Condition="'$(Configuration)' == 'Debug' or '$(Configuration)' == 'DebugLegacy' or '$(Configuration)' == 'Release' or '$(Configuration)' == 'ReleaseLegacy'">
<HintPath>$(SubnauticaDir)\BepInEx\plugins\Modding Helper\SMLHelper.dll</HintPath>
</Reference>
<Reference Include="Nautilus" Condition="'$(Configuration)' == 'DebugNauti' or '$(Configuration)' == 'ReleaseNauti'">
<HintPath>$(SubnauticaDir)\BepInEx\plugins\Nautilus\Nautilus.dll</HintPath>
</Reference>
<Reference Include="Unity.Addressables" Condition="'$(Configuration)' == 'DebugNauti' or '$(Configuration)' == 'ReleaseNauti'">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(Dependencies)\Unity.Addressables.dll</HintPath>
</Reference>
<Reference Include="UnityEngine">
<HintPath>$(Dependencies)\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.AnimationModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(Dependencies)\UnityEngine.AnimationModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.AssetBundleModule">
<HintPath>$(Dependencies)\UnityEngine.AssetBundleModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(Dependencies)\UnityEngine.CoreModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.InputLegacyModule">
<HintPath>$(Dependencies)\UnityEngine.InputLegacyModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.PhysicsModule">
<HintPath>$(Dependencies)\UnityEngine.PhysicsModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextRenderingModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(Dependencies)\UnityEngine.TextRenderingModule.dll</HintPath>
</Reference>
<Reference Include="Unity.TextMeshPro">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(Dependencies)\Unity.TextMeshPro.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(Dependencies)\UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="Unity.ResourceManager">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(Dependencies)\Unity.ResourceManager.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.IMGUIModule">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(Dependencies)\UnityEngine.IMGUIModule.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<AppDesigner Include="Properties\" />
Expand Down Expand Up @@ -180,8 +124,6 @@
<Compile Include="Fixers\CyclopsHelmHUDManagerFixer.cs" />
<Compile Include="Fixers\IngameMenuFixer.cs" />
<Compile Include="Fixers\MainMenuLoadButtonFixer.cs" />
<Compile Include="Fixers\MySignFixerComponent.cs" />
<Compile Include="Fixers\MyuGUI_SignInputFixer.cs" />
<Compile Include="Fixers\StabilizerFixer.cs" />
<Compile Include="Fixers\SubControlFixer.cs" />
<Compile Include="Fixers\SubRootFixer.cs" />
Expand All @@ -198,6 +140,20 @@
<Compile Include="StylesHelper.cs" />
<Compile Include="UI\CyclopsDockingModUI.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="BepInEx.Analyzers" Version="1.0.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="BepInEx.Core" Version="5.4.21" />
<PackageReference Include="PolySharp" Version="1.15.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Subnautica.GameLibs" Version="82304.0.0-r.0" />
<PackageReference Include="Subnautica.Nautilus" Version="1.0.0-pre.46" />
<PackageReference Include="UnityEngine.Modules" Version="2019.4.36" IncludeAssets="compile" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy /Y /I &quot;$(TargetPath)&quot; &quot;C:\Program Files (x86)\Steam\steamapps\common\Subnautica\BepInEx\plugins\CyclopsDockingMod\&quot;" />
</Target>
Expand Down
Loading