From 0ffd22bd908f05f4e13472de7d62eba8a4aefc08 Mon Sep 17 00:00:00 2001 From: MelodicAlbuild <43552157+MelodicAlbuild@users.noreply.github.com> Date: Mon, 4 Jan 2021 00:17:13 -0600 Subject: [PATCH] Added all the Item Things --- QuestingUpdate/QuestingMod.cs | 2 +- QuestingUpdate/QuestingUpdate.csproj | 8 +++--- QuestingUpdate/lib/QuestingItems.cs | 12 ++++++--- QuestingUpdate/lib/QuestingModifier.cs | 35 ++++++++++++++++++++++++++ 4 files changed, 49 insertions(+), 8 deletions(-) diff --git a/QuestingUpdate/QuestingMod.cs b/QuestingUpdate/QuestingMod.cs index d07f337..9df30ee 100644 --- a/QuestingUpdate/QuestingMod.cs +++ b/QuestingUpdate/QuestingMod.cs @@ -6,7 +6,7 @@ namespace QuestingUpdate { public class QuestingMod : GameMod { - public const string version = "0.2.0"; + public const string version = "0.2.1"; private string update = ""; private string updateName = ""; public static readonly string path = System.Environment.GetEnvironmentVariable("USERPROFILE") + "/appdata/locallow/volcanoid/volcanoids/QuestingUpdate.log"; diff --git a/QuestingUpdate/QuestingUpdate.csproj b/QuestingUpdate/QuestingUpdate.csproj index 2416417..d8da854 100644 --- a/QuestingUpdate/QuestingUpdate.csproj +++ b/QuestingUpdate/QuestingUpdate.csproj @@ -177,9 +177,9 @@ copy "$(TargetPath)" "%25userprofile%25\appdata\locallow\Volcanoid\Volcanoids\Mo mkdir "%25userprofile%25\appdata\locallow\Volcanoid\Volcanoids\Mods\Resources" robocopy "$(ProjectDir)Resources" "%25userprofile%25\appdata\locallow\Volcanoid\Volcanoids\Mods\Resources" /S -SET UnityPath=c:\Program Files\Unity\Hub\Editor\2020.1.17f1 -SET MonoPath=%25UnityPath%25\Editor\Data\MonoBleedingEdge -"%25MonoPath%25\bin\mono.exe" "%25MonoPath%25\lib\mono\4.5\pdb2mdb.exe" "$(TargetPath)" -copy "$(TargetPath).mdb" "%25userprofile%25\appdata\locallow\Volcanoid\Volcanoids\Mods\" +:: SET UnityPath=c:\Program Files\Unity\Hub\Editor\2020.1.17f1 +:: SET MonoPath=%25UnityPath%25\Editor\Data\MonoBleedingEdge +:: "%25MonoPath%25\bin\mono.exe" "%25MonoPath%25\lib\mono\4.5\pdb2mdb.exe" "$(TargetPath)" +:: copy "$(TargetPath).mdb" "%25userprofile%25\appdata\locallow\Volcanoid\Volcanoids\Mods\" \ No newline at end of file diff --git a/QuestingUpdate/lib/QuestingItems.cs b/QuestingUpdate/lib/QuestingItems.cs index 5205043..98f536b 100644 --- a/QuestingUpdate/lib/QuestingItems.cs +++ b/QuestingUpdate/lib/QuestingItems.cs @@ -68,7 +68,7 @@ public void InitItems() "29B8BE6CAB6E43BB99ED496C06553B0A", "IronIngot", Sprite2("Resources/Icon/QuestingLogo.png")); // Tier 1 Upgrades - CreateItem("UpgradeResourceRefining1", 5, "Basic Resource Refining Upgrade", "The Upgrade to Alloy for Further Resource Refining \r\n" + "Part of the Questing Update", + CreateItem("UpgradeResourceRefining1", 5, "Basic Resource Refining Upgrade", "The Upgrade to Allow for Further Resource Refining \r\n" + "Part of the Questing Update", "DA9BBD26D3A44E3DA094BEA4BE6D0B90", "UpgradeStarterRefinery", Sprite2("Resources/Schematics/NullSchematic.png")); CreateItem("UpgradeCopperworking", 5, "Copperworking Upgrade", "The Upgrade to Allow Production of Copper Parts \r\n" + "Part of the Questing Update", "16AE4FFC37F044C7B31E6D37726763E0", "UpgradeStarterRefinery", Sprite2("Resources/Schematics/NullSchematic.png")); @@ -90,12 +90,18 @@ public void InitItems() "B7B1EF06BF1E484383863687DCAD6FD8", "UpgradeStarterRefinery", Sprite2("Resources/Schematics/NullSchematic.png")); CreateItem("UpgradeAdvancedTurrets1", 5, "Advanced Turrets 1 Upgrade", "The Research for the Creation of Advanced Turrets \r\n" + "Part of the Questing Update", "09F0ADFEDF734F39AEC98700F117B6F2", "UpgradeStarterRefinery", Sprite2("Resources/Schematics/NullSchematic.png")); + CreateItem("UpgradeNull", 5, "Null Upgrade", "The Upgrade to Alloy for Further Resource Refining \r\n" + "Part of the Questing Update", + "D3DEA69A69BF47CC9893D88EB6565D48", "UpgradeStarterRefinery", Sprite2("Resources/Schematics/NullSchematic.png")); // Tier 2 Upgrades - + CreateItem("UpgradeAdvancedAlloying", 5, "Advanced Alloying Upgrade", "The Research Behind the Advanced Alloys of this World \r\n" + "Part of the Questing Update", + "667E1658F21942008E5F2DAE964EC27D", "UpgradeStarterRefinery", Sprite2("Resources/Schematics/NullSchematic.png")); // Tier 3 Upgrades - + CreateItem("UpgradePerfectAlloying", 5, "Perfect Alloying Upgrade", "The Research Behind the Perfect Alloys of this World \r\n" + "Part of the Questing Update", + "0FD0950108794340B738F103E4DA244A", "UpgradeStarterRefinery", Sprite2("Resources/Schematics/NullSchematic.png")); + CreateItem("UpgradeResourceRefining3", 5, "Perfect Resource Refining Upgrade", "The Upgrade to Allow for Further Resource Refining \r\n" + "Part of the Questing Update", + "9FB8134FF4AA441987F134B74AB26BE1", "UpgradeStarterRefinery", Sprite2("Resources/Schematics/NullSchematic.png")); using (StreamWriter writer = new StreamWriter(QuestingMod.path, true)) { diff --git a/QuestingUpdate/lib/QuestingModifier.cs b/QuestingUpdate/lib/QuestingModifier.cs index b6bb192..5a0f15b 100644 --- a/QuestingUpdate/lib/QuestingModifier.cs +++ b/QuestingUpdate/lib/QuestingModifier.cs @@ -17,6 +17,38 @@ public void InitModifier() ModifyItem1Upgrade("UpgradeStarterResearch", "StarterStructuresSchematicRecipe"); ModifyItem1Upgrade("UpgradeResourceRefining1", "SimpleExplosivesSchematicRecipe"); + // Tier 1 Item Updates + ModifyItem1Upgrade("UpgradeResourceRefining1", "TinIngotRecipe"); + ModifyItem1Upgrade("UpgradeResourceRefining1", "CopperIngotRecipe"); + ModifyItem1Upgrade("UpgradeCopperworking", "TinBoltsRecipe"); + ModifyItem1Upgrade("UpgradeCopperworking", "TinPlatesRecipe"); + ModifyItem1Upgrade("UpgradeCopperworking", "TinTubesRecipe"); + ModifyItem1Upgrade("UpgradeCopperworking", "CopperBoltsRecipe"); + ModifyItem1Upgrade("UpgradeCopperworking", "CopperPlatesRecipe"); + ModifyItem1Upgrade("UpgradeCopperworking", "CopperTubesRecipe"); + // ModifyItem1Upgrade("UpgradeCopperArmor", "CopperArmorRecipe"); + ModifyItem1Upgrade("UpgradeSimpleWeapons", "RevolverRecipe"); + ModifyItem1Upgrade("UpgradeSimpleWeapons", "ShotgunRecipe"); + //ModifyItem1Upgrade("UpgradeTurretsTier1", "TurretModuleRecipe"); + ModifyItem1Upgrade("UpgradeBasicAlloying", "AlloyT1Recipe"); + ModifyItem1Upgrade("UpgradeBasicAlloying", "BronzeIngotRecipe"); + ModifyItem1Upgrade("UpgradeBronzeworking", "BronzeTubesRecipe"); + ModifyItem1Upgrade("UpgradeBronzeworking", "BronzePlatesRecipe"); + ModifyItem1Upgrade("UpgradeBronzeworking", "BronzeBoltsRecipe"); + ModifyItem1Upgrade("UpgradeDrillshipParts1", "DrillUpgrade2Recipe"); + ModifyItem1Upgrade("UpgradeDrillshipParts1", "EngineUpgrade2Recipe"); + ModifyItem1Upgrade("UpgradeDrillshipParts1", "HullUpgrade2Recipe"); + ModifyItem1Upgrade("UpgradeDrillshipParts1", "TracksUpgrade2Recipe"); + ModifyItem1Upgrade("UpgradeDrillshipParts1", "ShipCoreUpgrade2Recipe"); + + // Tier 2 Item Updates + ModifyItem1Upgrade("UpgradeAdvancedAlloying", "AlloyT2Recipe"); + + // Tier 3 Item Updates + ModifyItem1Upgrade("UpgradePerfectAlloying", "AlloyT3Recipe"); + ModifyItem1Upgrade("UpgradePerfectAlloying", "TitaniumIngotRecipe"); + ModifyItem1Upgrade("UpgradeResourceRefining3", "CobaltIngotRecipe"); + // Tier 1 ModifyItem1Table("ResearchTier1", "UpgradeResourceRefining1Recipe"); ModifyItem1Table("ResearchTier1", "UpgradeStarterRefineryRecipe"); @@ -32,6 +64,9 @@ public void InitModifier() ModifyItem1Table("ResearchTier1", "UpgradeBronzeArmorRecipe"); ModifyItem1Table("ResearchTier1", "UpgradeDrillshipParts1Recipe"); ModifyItem1Table("ResearchTier1", "UpgradeAdvancedTurrets1Recipe"); + ModifyItem1Table("ForgeTier1", "AlloyT1Recipe"); + ModifyItem1Table("ForgeTier2", "AlloyT2Recipe"); + ModifyItem1Table("ForgeTier3", "AlloyT3Recipe"); // Tier 2