Skip to content

Commit

Permalink
Added all the Item Things
Browse files Browse the repository at this point in the history
  • Loading branch information
MelodicAlbuild committed Jan 4, 2021
1 parent 79cdb42 commit 0ffd22b
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 8 deletions.
2 changes: 1 addition & 1 deletion QuestingUpdate/QuestingMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
8 changes: 4 additions & 4 deletions QuestingUpdate/QuestingUpdate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -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\"</PostBuildEvent>
:: 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\"</PostBuildEvent>
</PropertyGroup>
</Project>
12 changes: 9 additions & 3 deletions QuestingUpdate/lib/QuestingItems.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand All @@ -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))
{
Expand Down
35 changes: 35 additions & 0 deletions QuestingUpdate/lib/QuestingModifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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

Expand Down

0 comments on commit 0ffd22b

Please sign in to comment.