Mods / Dryable Ground Storage
Tags:
#Crafting
#QoL
#Tweak
Author: Aristine
Side: Both
Created: Apr 2nd 2024 at 5:39 AM
Last modified: Jan 19th at 11:15 PM
Downloads: 3490
Follow Unfollow 117
Author: Aristine
Side: Both
Created: Apr 2nd 2024 at 5:39 AM
Last modified: Jan 19th at 11:15 PM
Downloads: 3490
Follow Unfollow 117
Latest release (for Vintage Story 1.20.0 - 1.20.1, outdated):
DryableGroundStorage.zip
1-click install
For whatever reason, ground storage has the same dry/melt transition multiplier as chests (0.25x).
This is very annoying when using any mods that make ground stackable items dryable (such as dried fire fuels), as the only way to dry them at the 1x rate is to either keep them in inventory or a dropped bag/basket.
Now with this mod, ground stackables will dry/melt as fast as they would in your inventory!
Source:
Spoiler! (1.19)
[HarmonyPostfix]
[HarmonyPatch(typeof(BlockEntityGroundStorage), "Initialize")]
public static void InitializeGroundStorage(BlockEntityGroundStorage __instance, ICoreAPI api)
{
__instance.Inventory.OnAcquireTransitionSpeed = (transType, stack, baseMul) => api != null && transType == EnumTransitionType.Perish ? __instance.GetPerishRate() : 1;
}
Spoiler! (1.20)
[HarmonyPostfix]
[HarmonyPatch(typeof(BlockEntityGroundStorage), "Initialize")]
public static void InitializeGroundStorage(BlockEntityGroundStorage __instance, ICoreAPI api)
{
//__instance.Inventory.OnAcquireTransitionSpeed += (transType, stack, baseMul) => api != null && transType == EnumTransitionType.Perish ? __instance.peri : 1;
InventoryGeneric inventory = (InventoryGeneric)__instance.Inventory;
if (inventory.TransitionableSpeedMulByType == null) {
inventory.TransitionableSpeedMulByType = new System.Collections.Generic.Dictionary<EnumTransitionType, float>();
}
inventory.TransitionableSpeedMulByType.Add(EnumTransitionType.Dry, 2.0f);
}
| Mod Version | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|
| 1.0.1 | 2059 | Jan 19th at 11:15 PM | DryableGroundStorage.zip | 1-click install | ||
|
* Updated for 1.20.x * Updated mod id to match standards | ||||||
| 1.0.0 | 1431 | Apr 2nd 2024 at 5:40 AM | DryableGroundStorage.zip | 1-click install | ||
|
Initial Release | ||||||
For others, this seems to work in 1.21. Tested with my Dryable Firewood mod just now.
Seconding that, 1.21 would be amazing <3 Thank you for your time
Please update for 1.21. Thanks!
A config option to make it faster than the inventory would be amazing.
Things drying in your inventory was always weird and double drying speed on the ground would make the most sense to me overall.
Hoping for a 1.20 version!
Please, consider changing the modid to follow the specs :
Must only contain lowercase letters and numbers. No special chars, whitespaces, uppercase letters, etc. allowed
removing the underscore, ex:
{
"type": "code",
"modid": "dryablegroundstorage",
"name": "Dryable Ground Storage",
"authors": [ "Aristine" ],
"description": "Adjusts ground storage to dry at normal (1x) rate rather than 0.25x",
"version": "1.0.0",
"dependency": {
"game": "1.19.x"
}
}
thank you
Aristine pile code across each mod that adds them is wildly different and few use vanilla's code due to serious bugs, so I'd actually doubt it
Ramdomman I haven't used that mod, but I'm going to assume so given how simple it is.
is this mod compatible with more piles ?