Skip to content

Commit

Permalink
disable move and rotate commands, and prep for 2.1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
zolantris committed May 23, 2024
1 parent 4de8bc0 commit 47af7fe
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/ValheimRAFT/Thunderstore/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ValheimRAFT",
"version_number": "2.1.0",
"version_number": "2.1.1",
"website_url": "https://github.com/zolantris/ValheimMods/tree/main/src/ValheimRAFT",
"description": "ValheimRAFT - a water vehicles mod for valheim. V2 has new hulls,walls,slabs.",
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion src/ValheimRAFT/ValheimRAFT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<Platforms>AnyCPU</Platforms>
<PlatformTarget>AnyCPU</PlatformTarget>
<ApplicationVersion>2.1.0</ApplicationVersion>
<ApplicationVersion>2.1.1</ApplicationVersion>
<FileAlignment>512</FileAlignment>
<RootNamespace>ValheimRAFT</RootNamespace>
<LangVersion>latest</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion src/ValheimRAFT/ValheimRAFT/ValheimRaftPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class ValheimRaftPlugin : BaseUnityPlugin
{
// ReSharper disable MemberCanBePrivate.Global
public const string Author = "zolantris";
public const string Version = "2.1.0";
public const string Version = "2.1.1";
public const string ModName = "ValheimRAFT";
public const string BepInGuid = $"{Author}.{ModName}";
public const string HarmonyGuid = $"{Author}.{ModName}";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public static string OnHelp()
"Runs vehicle commands, each command will require parameters to run use help to see the input values." +
$"\n<{VehicleCommandArgs.debug}>: will show a menu with options like rotating or debugging vehicle colliders" +
$"\n<{VehicleCommandArgs.recover}>: will recover any vehicles within range of 1000 and turn them into V2 Vehicles" +
$"\n<{VehicleCommandArgs.rotate}>: defaults to zeroing x and z tilt. Can also provide 3 args: x y z" +
$"\n<{VehicleCommandArgs.move}>: Must provide 3 args: x y z, the movement is relative to those points" +
// $"\n<{VehicleCommandArgs.rotate}>: defaults to zeroing x and z tilt. Can also provide 3 args: x y z" +
// $"\n<{VehicleCommandArgs.move}>: Must provide 3 args: x y z, the movement is relative to those points" +
$"\n<{VehicleCommandArgs.toggleOceanSway}>: stops the vehicle from swaying in the water. It will stay at 0 degrees (x and z) tilt and only allow rotating on y axis";
}

Expand All @@ -66,15 +66,15 @@ private void ParseFirstArg(string[] args)
// case VehicleCommandArgs.locate:
// LocateVehicle.LocateAllVehicles();
// break;
case VehicleCommandArgs.move:
VehicleMove(args);
break;
// case VehicleCommandArgs.move:
// VehicleMove(args);
// break;
// case VehicleCommandArgs.rotate:
// VehicleRotate(args);
// break;
case VehicleCommandArgs.toggleOceanSway:
VehicleStopOceanSway();
break;
case VehicleCommandArgs.rotate:
VehicleRotate(args);
break;
case VehicleCommandArgs.recover:
RecoverRaftConsoleCommand.RecoverRaftWithoutDryRun($"{Name} {VehicleCommandArgs.recover}");
break;
Expand Down Expand Up @@ -231,7 +231,8 @@ private static void ToggleVehicleDebugComponent()
[
// VehicleCommandArgs.locate,
// VehicleCommandArgs.destroy,
VehicleCommandArgs.rotate,
// VehicleCommandArgs.rotate,
// VehicleCommandArgs.move,
VehicleCommandArgs.toggleOceanSway,
VehicleCommandArgs.creative,
VehicleCommandArgs.debug,
Expand Down

0 comments on commit 47af7fe

Please sign in to comment.