
Mods / Composter [Finished]
Author: DanaCraluminum
Side: Both
Created: Feb 6th 2022 at 7:00 AM
Last modified: Mar 1st at 12:23 PM
Downloads: 47714
Follow Unfollow 640
Latest release (for Vintage Story 1.20.0 - 1.20.3 and 1.20.4, potentially outdated):
Composter-v1.2.1.zip
1-click install
I'm living in Ukraine and there is war happening right now. Most of my free time I spend on modding when I get a few hours between electricity blackouts.
If you love my work, you can support me on Patreon, I would greatly appreciate it ❤️. Donations keep me doing what I truly love - modding.
A container that decomposes food extremely fast.
This mod is feature-complete, that means that all features author wanted to add are already in the mod and further updates most likely will be bug fixes or to update codebase to support new versions.
Configuration file is located in VintagestoryData/ModConfig, it is appeared after loading any world.
The food perish speed is 500x
Mod Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
1.2.1 | 11889 | Mar 1st at 12:23 PM | Composter-v1.2.1.zip | 1-click install | ||
Fixed: Perish rate is not applied (technical info: null api due to vanilla bug prevented config from working) | ||||||
1.2.0 | 1233 | Feb 24th at 9:27 PM | Composter-v1.2.0.zip | 1-click install | ||
Fixed: Rare crash when placing composter due to missing config | ||||||
1.1.1 | 9630 | Nov 25th 2024 at 11:26 AM | Composter-v1.1.1.zip | 1-click install | ||
Fixed: Crash when interacting with composter | ||||||
1.1.0 | 14860 | Sep 8th 2023 at 7:11 PM | Composter-v1.1.0.zip | 1-click install | ||
Feature: Configuration file | ||||||
1.0.5 | 2230 | Jul 9th 2023 at 9:54 AM | Composter-v1.0.5.zip | 1-click install | ||
Feature: "Semi-automatic" localization | ||||||
1.0.4 | 5579 | Apr 20th 2022 at 10:23 AM | Composter-v1.0.4.zip | 1-click install | ||
| ||||||
1.0.3 | 934 | Feb 27th 2022 at 11:45 AM | Composter-v1.0.3.zip | 1-click install | ||
Tweak: Increased value of food decomposing from 2x to 10x (in real it can be about 5-8x) | ||||||
1.0.2 | 945 | Feb 6th 2022 at 11:41 AM | Composter-v1.0.2.zip | 1-click install | ||
| ||||||
1.0.1 | 409 | Feb 6th 2022 at 8:16 AM | Composter-v1.0.1.zip | 1-click install | ||
|
Getting this non-crashing error:
3.3.2025 12:07:34 [Warning] Texture asset 'composter:textures/block/wood/debarked/oak.png' not found (defined in Baked variant of block composter:composter-north).
3.3.2025 12:07:34 [Warning] Texture asset 'composter:textures/block/metal/tarnished/rusty-iron.png' not found (defined in Baked variant of block composter:composter-north).
Could we get an ultra-fast drying/curing block too?
gg
RowanSkie Fixed
Got a crash on 1.20.4, seems to be because the config wasn't available when immediately placing it.
Running on 64 bit Windows 10.0.26100.0 with 65408 MB RAM
Game Version: v1.20.4 (Stable)
23/02/2025 1:40:59 pm: Critical error occurred in the following mod: composter@1.1.1
Loaded Mods: bowtornbalance@1.0.0, chiseltools@1.14.12, firestarters@1.4.3, grasstoropes@1.1.4, lettherebelight@0.0.1, nudemod@1.0.3, packeddirtpaths@1.2.1, prospecttogether@2.0.2, recyclemetalwork@1.0.3-1, sticksfromfirewood@1.0.0, game@1.20.4, vsimgui@1.1.7, airmapfix@1.0.0, animalcages@3.0.3, egocaribautomapmarkers@4.0.1, betterfirepit@1.1.5, betterruins@0.4.7, carryon@1.8.0-pre.1, commonlib@2.6.1, compatlib@1.0.1, composter@1.1.1, configlib@1.5.1, creaturekilledby@1.0.0, crudetoflintarrow@1.0.1, extrainfo@1.9.6, fieldsofsalt@1.2.3, floatingfish@1.0.1, fromgoldencombs@1.8.11-rc.6, hidenametagsmod@1.20.4, hudclockpatch@1.0.0, monsternuggetdrops@1.1.0, radialgear@1.0.0, statushudcont@3.2.6, temporaltempest@0.2.2, vresp@1.2.0, creative@1.20.4, survival@1.20.4, whatbagwasthatagain@1.0.2, autoconfiglib@2.0.6, bedsofsediment@1.0.1, playercorpse@1.11.0, roofrecycling@1.0.2
System.NullReferenceException: Object reference not set to an instance of an object.
at Composter.BlockEntityComposter.b__0_0(EnumTransitionType type, ItemStack stack, Single mul) in C:\Users\dana_\Source\Repos\Composter\Composter\src\BlockEntity\BlockEntityComposter.cs:line 11
at Vintagestory.API.Common.CollectibleObject.GetTransitionRateMul(IWorldAccessor world, ItemSlot inSlot, EnumTransitionType transType) in VintagestoryApi\Common\Collectible\Collectible.cs:line 2426
at Vintagestory.API.Common.CollectibleObject.UpdateAndGetTransitionStatesNative(IWorldAccessor world, ItemSlot inslot) in VintagestoryApi\Common\Collectible\Collectible.cs:line 2461
at Vintagestory.API.Common.ItemSlot.OnItemSlotModified(ItemStack sinkStack) in VintagestoryApi\Common\Inventory\ItemSlot.cs:line 425
at Vintagestory.API.Common.ItemSlot.TryPutInto(ItemSlot sinkSlot, ItemStackMoveOperation& op) in VintagestoryApi\Common\Inventory\ItemSlot.cs:line 203
at Vintagestory.Common.PlayerInventoryManager.TryTransferAway(ItemSlot sourceSlot, ItemStackMoveOperation& op, Boolean onlyPlayerInventory, StringBuilder shiftClickDebugText, Boolean slotNotifyEffect) in VintagestoryLib\Common\GameContent\Inventory\PlayerInventoryManager.cs:line 232
at Vintagestory.API.Common.InventoryBase.ActivateSlot(Int32 slotId, ItemSlot sourceSlot, ItemStackMoveOperation& op) in VintagestoryApi\Common\Inventory\InventoryBase.cs:line 442
at Vintagestory.API.Client.GuiElementItemSlotGridBase.SlotClick(ICoreClientAPI api, Int32 slotId, EnumMouseButton mouseButton, Boolean shiftPressed, Boolean ctrlPressed, Boolean altPressed) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 958
at Vintagestory.API.Client.GuiElementItemSlotGridBase.OnMouseDownOnElement(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 754
at Vintagestory.API.Client.GuiComposer.OnMouseDown(MouseEvent mouseArgs) in VintagestoryApi\Client\UI\GuiComposer.cs:line 477
at Vintagestory.API.Client.GuiDialog.OnMouseDown(MouseEvent args) in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 559
at Vintagestory.Client.NoObf.GuiManager.OnMouseDown(MouseEvent args) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 390
at Vintagestory.Client.NoObf.ClientMain.UpdateMouseButtonState(EnumMouseButton button, Boolean down) in VintagestoryLib\Client\ClientMain.cs:line 1924
at Vintagestory.Client.HotkeyManager.TriggerHotKey(KeyEvent keyEventargs, IWorldAccessor world, IPlayer player, Boolean allowCharacterControls, Boolean isGlobal, Boolean fallBack, Boolean keyup) in VintagestoryLib\Client\HotkeyManager.cs:line 431
at Vintagestory.Client.NoObf.ClientMain.OnMouseDownRaw(MouseEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1862
at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonDown(MouseButtonEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 198
at OpenTK.Windowing.Desktop.NativeWindow.MouseButtonCallback(Window* window, MouseButton button, InputAction action, KeyModifiers mods)
--- End of stack trace from previous location ---
at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded()
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 334
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 130
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
ChadStevens This is intended. Tooltip bugs are vanilla bugs
Composters instantly turn any food item into rot, no matter what it is. The spoil rate says "1.50x". Anyone else having this issue?
I have no idea how but I managed to make it work.
Thanks for your reply btw, this is a great mod.
TomatoKat Can't reproduce, everything works for me on 1.20.3
Doesn't work in 1.20.3.
Spawning via creative menu crashes game and a lot of junk error lines in the console at the startup
This works for me in 1.20.
Ijkdenem Yes
can you put ANY food in it or just plant based food?
DanaCraluminum Ok! I see that the actual tooltip decay time is appropriately calculating for the item I placed inside the composter, so the vanilla bug is the game reporting the Composter's decay rate. Thanks!
DanekJovax This is vanilla bug, I won't fix it, fixing vanilla bugs is not worth my time
DanaCraluminum I am in 1.20rc1, and installed 1.1.1 of this mod, and I built a composter (out of oak), placed it, and viewing the item, it's reporting the same decay speed as a vessel. Doublechecking my config file, it's set to 10.0, so it should be 10x that rate. Is there something I've missed? Please advise.
Aimli Fixed
1.20-pre.13Does not work, opens the compost bin game reports an error
DanaCraluminum Great! I'm about to set up a 1.20 server for up to 24 people and I'lll be including this mod for sure!
DanekJovax No need for update, it works in 1.20
DanaCraluminum I've found this mod to fill one of the holes in VS, and I'll be using it going forward. Are you planning a 1.20 update? Thanks!
DanekJovax Config
Nice item,. however, is there a way to tweak the spoilage rate? 500x seems a little overpowered and unrealistic. Thanks in advance.
DanaCraluminum I am not able to reproduce it now either. I guess it was tied to that particular save game.
Krougal Can't reproduce in pre.6
Great mod. It was working right through 1.20PR5 but is no longer working with 6. Doesn't crash the game at least, but shows as box of question marks.
thank you
NAVAROME
For Windows, navigate to C:/user/[your user name]/appdata/roaming/vintagestorydata/modconfig. Inside there is a file called "Composter.json" once you have the mod installed and you've run any world at least once. In the file, change the number in "PerishRate": 500.0 to whatever multiplier you prefer.
how did you decreased the perish to 5x instead of the 500x?
Just sharing as last post was few months back but still works great for 1.19.7. I did decrease the perish speed to 5x instead but I am loving it.
Any chance on having an option for this to be affected by the temperature like with perish speed in other containers?
Great mod btw, couldn't imagine playing without it.
Just some warnings from the console
17.9.2023 16:45:15 [Warning] Did not find required shape composter:shapes/block/composter-0.json anywhere. (defined in Inventory shape for block composter:composter-north)
DanaCraluminum
Thanks!
Bumber Done
Can we get a config file? I like to reduce the decay rate to a more reasonable one, and modifying files inside the .zip is less user friendly (and needs to be redone if the mod updates.)
Shion Fixed, fruit mashes now rot properly
Hey DanaCraluminum, do you mind to add more plants as a source material for compost?
Think for example about those fern, flowers and stuff you find in the world which have no much useful use.
It would be great to be able to use them as biomass instead of your precious food 😁
@noellelavenza Does it mean that replacing spoilSpeedMulByFoodCat {} in assets\composter\blocktypes\composter.json with what you showed should fix the spoilage timer for everything?
Neither transitionSpeedMulByType nor transitionSpeedMul worked.
In 1.18 you should just be able to use this:
instead of all the spoilSpeedMulByFoodCat stuff you currently do. It will also fix the issue with things like raw meat or flour not perishing faster in the composter.
Shion It is base game to blame
How does it work exactly? Mashes now show the same "fresh for" time no matter when inside or outside the composter.
CarryOn v1.0.0-rc.1 allows the composter to be carried.
Any chance for compatibility with Carry On mod?
And a fix for the mash? For some reason it gets more fresh-time while in composter.
I love the idea of this but I've had mixed experience so far. It seems to work reliably for veggies, grains, and berries, but has a preserving effect on meat and meals. It is very handy on the items it works for and the composter itself looks nice.
I got this mod due to the fact I tend to get a crazy amount of stuff to just toss away and rot has it own uses but since I got it, It has not worked. Says 4x rot speeds but it rots slower than my xskills inventory.
hey if you need French translation contact me p.kapelar@gmail.com
Just started using the composter, and I'm getting a x0.73 rate of rotting. It's outside. That's slower than what I get with food in my inventory. What should the rate be?
hey if you need German translation contact me john.aggenstein@icloud.com
Thank you for the lightning-fast fix! 💯
Very nice! But seems like the oak variant can't be crafted.