• Announcements

    • JoeW

      [UPDATED] Physical Megapack Disc Issues   04/16/2018

      UPDATE: Earlier this week, we discovered that the wrong content was printed on the PS4 retail version of Don’t Starve Mega Pack (the Xbox One version is not affected). It’s a really unfortunate situation and we’ve been working hard with 505 to resolve this as soon as possible. Below is the latest information: New copies are currently in print and will be on shelves ASAP, hopefully within a few weeks. When the new discs arrive in stores, players who already purchased misprinted discs will be able to exchange the disc for a new one in store. Details will follow as we figure out the exact timing, the procedures with specific retailers and what the exchange will entail.  Players who already purchased the faulty disc will also be able to contact Klei support for a voucher code that includes Don't Starve, Shipwrecked and the Reign of Giants DLC until the new disc is ready. Please specify your country as certain vouchers only work in certain regions.  We will have more details when they become available including details on contacting us and what information we might need.  Once again, thanks to everybody for their patience while we work this out. For questions or concerns, the forum discussion can be found below:   


  • Content count

  • Joined

  • Last visited

Community Reputation

5 Neutral

About Spork

  • Rank
    Junior Member
  1. Sure. The storage locker capacity code I posted above turned out to be wrong. It increased the storage on EVERYTHING, Storage Lockers, Fridge, Food Box, Conveyor box, etc. It was kinda cool, but after playing with it, it turned out having a large refrigerator caused lag issues when clicking on it. Version 2 just increases the Storage Locker and is working great in the new game I'm playing. Attached DLL below. The storage size is set to 1000 tons, take it or leave it. If you want a storage mod with a capacity other than 1000 tons you'll have to compile your own (not that hard), here is the correct code. using Harmony; using UnityEngine; namespace Patches { public static class LargeStorageLockerMod { [HarmonyPatch(typeof(StorageLockerConfig), "DoPostConfigureComplete")] public static class StorageLockerConfigPatch { public static void Postfix(StorageLockerConfig __instance, ref GameObject go) { Storage storage = go.AddOrGet<Storage>(); storage.capacityKg = 1000000f; } } } } LargeStorageLockerMod.dll
  2. Nevermind, I finally figured it out. Here is the code I used to do it if anyone else is looking to do the same. I'm not sure if it's the correct way to go about it, but it works. [HarmonyPatch(typeof(Storage), "OnPrefabInit")] public static class StorageMod { public static void Prefix(Storage __instance) { AccessTools.Field(typeof(Storage), "capacityKg").SetValue(__instance, 50000f); } }
  3. Can someone please make a mod that increases the storage capacity on the Storage Lockers. I've had some success making mods for some other buildings but after hours of trying I can't figure out how to change the storage size on the lockers. Great job on the ModLoader btw, I've had a lot of fun messing around with it.