Skip to content

Fix: Update for Nautilus compatibility and build on Linux#6

Open
techie-luddite wants to merge 1 commit intoK07H:mainfrom
techie-luddite:main
Open

Fix: Update for Nautilus compatibility and build on Linux#6
techie-luddite wants to merge 1 commit intoK07H:mainfrom
techie-luddite:main

Conversation

@techie-luddite
Copy link

(Gemini helped me with all of this, I appologize in advance if I have done something wrong, please let me know and I will try to correct it.)

This commit addresses several issues to make the CyclopsDockingMod compatible with modern Subnautica versions using Nautilus:

  • Corrected RecipeData.Ingredients assignment for Nautilus compatibility.
  • Updated project references in .csproj to use correct Linux paths (now commented for Windows default) and forward slashes.
  • Added Polyfills.cs to support C# 11+ attributes on netstandard2.0.
  • Uncommented MySignFixerComponent.cs.
  • Commented out deprecated API usages (CraftData.GetPoweredPrefabName and CyclopsEngineChangeState.mouseHover).
  • Replaced SetRecipe() with CraftDataHandler.SetRecipeData().
  • Updated BaseItem to use Sprite instead of Atlas.Sprite.

This commit addresses several issues to make the CyclopsDockingMod compatible with modern Subnautica versions using Nautilus:

- Corrected RecipeData.Ingredients assignment for Nautilus compatibility.
- Updated project references in .csproj to use correct Linux paths (now commented for Windows default) and forward slashes.
- Added Polyfills.cs to support C# 11+ attributes on netstandard2.0.
- Uncommented MySignFixerComponent.cs.
- Commented out deprecated API usages (CraftData.GetPoweredPrefabName and CyclopsEngineChangeState.mouseHover).
- Replaced SetRecipe() with CraftDataHandler.SetRecipeData().
- Updated BaseItem to use Sprite instead of Atlas.Sprite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant