From 4e4ead80f385180a7f07e174588b3259e2330d96 Mon Sep 17 00:00:00 2001
From: t0stiman <18124323+t0stiman@users.noreply.github.com>
Date: Sun, 12 Nov 2023 16:35:28 +0100
Subject: [PATCH] cleanup
---
Director.Build.targets | 8 --
dumb282tweaks/CarPatch.cs | 8 +-
dumb282tweaks/InteriorPatch.cs | 6 +-
dumb282tweaks/Settings.cs | 5 -
dumb282tweaks/dumb282tweaks.csproj | 192 ++++++++++++++---------------
package.ps1 | 7 --
sendtomods.ps1 | 3 -
zDerailValley.url | 7 --
8 files changed, 99 insertions(+), 137 deletions(-)
delete mode 100644 Director.Build.targets
delete mode 100644 sendtomods.ps1
delete mode 100644 zDerailValley.url
diff --git a/Director.Build.targets b/Director.Build.targets
deleted file mode 100644
index 966110d..0000000
--- a/Director.Build.targets
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\
-
- $(AssemblySearchPaths);$(ReferencePath);
-
-
diff --git a/dumb282tweaks/CarPatch.cs b/dumb282tweaks/CarPatch.cs
index a9205cf..a4bbbe9 100644
--- a/dumb282tweaks/CarPatch.cs
+++ b/dumb282tweaks/CarPatch.cs
@@ -1,13 +1,9 @@
using DV.ThingTypes;
using HarmonyLib;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using static dumb282tweaks.Main;
using UnityEngine;
+using static dumb282tweaks.Main;
+
namespace dumb282tweaks;
[HarmonyPatch(typeof(TrainCar), "Start")]
diff --git a/dumb282tweaks/InteriorPatch.cs b/dumb282tweaks/InteriorPatch.cs
index 4919e28..be03b23 100644
--- a/dumb282tweaks/InteriorPatch.cs
+++ b/dumb282tweaks/InteriorPatch.cs
@@ -1,10 +1,6 @@
using HarmonyLib;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using UnityEngine;
+
using static dumb282tweaks.Main;
namespace dumb282tweaks;
diff --git a/dumb282tweaks/Settings.cs b/dumb282tweaks/Settings.cs
index c9c5a31..2030f2a 100644
--- a/dumb282tweaks/Settings.cs
+++ b/dumb282tweaks/Settings.cs
@@ -1,9 +1,4 @@
-using System;
-using System.Collections.Generic;
using System.ComponentModel;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using UnityModManagerNet;
using static dumb282tweaks.Settings;
diff --git a/dumb282tweaks/dumb282tweaks.csproj b/dumb282tweaks/dumb282tweaks.csproj
index bcb50c7..f1f5184 100644
--- a/dumb282tweaks/dumb282tweaks.csproj
+++ b/dumb282tweaks/dumb282tweaks.csproj
@@ -7,10 +7,6 @@
CS8600;CS8602;CS8603
-
-
-
-
@@ -22,96 +18,99 @@
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityModManager\0Harmony.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\Assembly-CSharp.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\Assembly-CSharp-firstpass.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.BrakeSystem.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Common.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.ControllerAnchors.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Highlighting.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Interaction.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Inventory.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Localization.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.NAudio.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.PointSet.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.RadioPlayer.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Scenarios.CRUD.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Simulation.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Telemetry.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.TerrainSystem.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.TerrainTools.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.ThingTypes.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.UI.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.UIFramework.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.UserManagement.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.Utils.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\DV.WeatherSystem.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityEngine.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityEngine.AssetBundleModule.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityEngine.CoreModule.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityEngine.IMGUIModule.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityEngine.UI.dll
-
-
- G:\SteamLibrary\steamapps\common\Derail Valley\DerailValley_Data\Managed\UnityModManager\UnityModManager.dll
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -119,7 +118,8 @@
-
-
+
+
+
diff --git a/package.ps1 b/package.ps1
index 7899ace..0a2de59 100644
--- a/package.ps1
+++ b/package.ps1
@@ -21,13 +21,6 @@ $ZipOutDir = "$ZipWorkDir/$modId"
New-Item "$ZipOutDir" -ItemType Directory -Force
Copy-Item -Force -Path $FilesToInclude -Destination "$ZipOutDir"
-# Get-ChildItem $sourceDir -filter "*" -recurse | `
-# foreach{
-# $targetFile = $targetDir + $_.FullName.SubString($sourceDir.Length);
-# New-Item -ItemType File -Path $targetFile -Force;
-# Copy-Item $_.FullName -destination $targetFile
-# }
-
if (!$NoArchive)
{
$FILE_NAME = "$DistDir/${modId}_v$modVersion.zip"
diff --git a/sendtomods.ps1 b/sendtomods.ps1
deleted file mode 100644
index 93cceb4..0000000
--- a/sendtomods.ps1
+++ /dev/null
@@ -1,3 +0,0 @@
-powershell -executionpolicy bypass .\package.ps1 -NoArchive -OutputDirectory `'G:\SteamLibrary\steamapps\common\Derail Valley\Mods`'
-# Start-Sleep -Seconds 1
-# steam steam://rungameid/588030
\ No newline at end of file
diff --git a/zDerailValley.url b/zDerailValley.url
deleted file mode 100644
index 250a594..0000000
--- a/zDerailValley.url
+++ /dev/null
@@ -1,7 +0,0 @@
-[{000214A0-0000-0000-C000-000000000046}]
-Prop3=19,0
-[InternetShortcut]
-IDList=
-IconIndex=0
-URL=steam://rungameid/588030
-IconFile=C:\Program Files (x86)\Steam\steam\games\ce91a672ac33c3038e50fc02fffa67e7133d2bf1.ico