Updated values to be consts where possible

This commit is contained in:
Chomp
2025-03-08 09:33:04 +00:00
parent 0b38563aa3
commit 33c56e0730
13 changed files with 29 additions and 29 deletions
@@ -53,7 +53,7 @@ public class HideoutCraftQuestIdGenerator(
// Figure out our source and target directories
var projectDir = Directory.GetParent("./").Parent.Parent.Parent.Parent.Parent;
var productionPath = "Libraries\\SPTarkov.Server.Assets\\Assets\\database\\hideout\\production.json";
const string productionPath = "Libraries\\SPTarkov.Server.Assets\\Assets\\database\\hideout\\production.json";
var productionFilePath = Path.Combine(projectDir.FullName, productionPath);
var updatedProductionJson = _jsonUtil.Serialize(_databaseServer.GetTables().Hideout.Production, true);
+1 -1
View File
@@ -304,7 +304,7 @@ public class ItemTplGenerator(
private bool IsValidItem(TemplateItem item)
{
var shrapnelId = "5943d9c186f7745a13413ac9";
const string shrapnelId = "5943d9c186f7745a13413ac9";
if (item.Type != "Item")
{