IronmanChest.cs 785 B

123456789101112131415161718192021222324252627
  1. using UnityEngine;
  2. using GadgetCore.API;
  3. using GadgetCore.API.ConfigMenu;
  4. using UnityEngine.SceneManagement;
  5. namespace IronmanChest
  6. {
  7. [Gadget("IronmanChest")]
  8. public class IronmanChest : Gadget<IronmanChest>
  9. {
  10. public const string MOD_VERSION = "1.0"; // Set this to the version of your mod.
  11. public const string CONFIG_VERSION = "1.0"; // Increment this whenever you change your mod's config file.
  12. public override IGadgetConfigMenu GetConfigMenu() { return null; }
  13. public override string GetModDescription()
  14. {
  15. return "Activates the ship chest for Ironman characters with character-specific content.";
  16. }
  17. protected override void Initialize()
  18. {
  19. Logger.Log("Ironman Chest v" + Info.Mod.Version);
  20. Core.logger = Logger;
  21. }
  22. }
  23. }