diff --git a/ItemChecklist.cs b/ItemChecklist.cs index 15f0de0..cd2b21c 100644 --- a/ItemChecklist.cs +++ b/ItemChecklist.cs @@ -9,6 +9,12 @@ using System; namespace ItemChecklist { + // TODO: is ItemChecklistPlayer.foundItems a waste of memory? investigate and trim it down if needed. + // TODO: World Checklist? MP shared checklist? + // Has this item ever been seen on this world? - easy. Maintain separate bool array, on change, notify server, relay to clients. + // send bool array as byte array? + // query magic storage? + // WHY? I want to know everything we can craft yet public class ItemChecklist : Mod { static internal ItemChecklist instance; @@ -29,6 +35,7 @@ namespace ItemChecklist { instance = this; ToggleChecklistHotKey = RegisterHotKey("Toggle Item Checklist", "I"); + MagicStorageIntegration.Load(); } public override void Unload() @@ -37,6 +44,7 @@ namespace ItemChecklist instance = null; ToggleChecklistHotKey = null; ItemChecklistInterface = null; + MagicStorageIntegration.Unload(); } public override void AddRecipes() diff --git a/ItemChecklist.csproj b/ItemChecklist.csproj index b7bf59c..ec6e505 100644 --- a/ItemChecklist.csproj +++ b/ItemChecklist.csproj @@ -39,6 +39,9 @@ + + lib\MagicStorage_v0.4.3.1.dll + ..\..\solutiondlls\Microsoft.Xna.Framework.dll @@ -69,6 +72,7 @@ + @@ -89,7 +93,7 @@ - "C:\Program Files (x86)\Steam\steamapps\common\Terraria\Terraria.exe" -build "$(ProjectDir)\" -eac "$(TargetPath)" + "C:\Program Files (x86)\Steam\steamapps\common\Terraria\tModLoaderServer.exe" -build "$(ProjectDir)\" -eac "$(TargetPath)"