RimWorld
126 оценки
Farming Hysteresis
4
4
2
   
Награда
Добавяне към любими
В любими
Премахване от любими
Mod, 1.3, 1.4, 1.5
Размер на файла
Публикуван на
Обновен на
631.041 KB
21 март 2021 в 0:37
25 авг. в 2:34
17 бележки за промени ( преглед )

Абониране, за да се свали
Farming Hysteresis

Описание
Farming Hysteresis lets you automate enabling and disabling growing zones based on the amount of product already in storage.

Operation

The mod adds an "Enable hysteresis" gizmo to all supported growing zones and hydroponics basins. Only plants that produce a harvestable product are supported. When you enable this setting, the "Enable sowing" button is removed, and sowing and/or harvesting is instead controlled by a set of hysteresis bounds. Hydroponics basins typically don't have this setting, but with this mod and hysteresis enabled, sowing and/or harvesting also stops on those when appropriate.

When the amount of stored product goes below the lower bound, sowing and/or harvesting is enabled and remains enabled until the amount of stored product goes above the upper bound, at which point it is disabled and remains disabled until the amount of stored product once again goes below the lower bound.

Here's a graph illustrating the hysteresis process:


In this example, we assume the lower bound is set to 500, and the upper bound is set to 1000. As we can see by the three regions:
* 0-500 is the region below the "lower bound" in which sowing gets enabled if it were disabled,
* 500-1000 is the region between the "lower bound" and the "upper bound" in which no change to whether sowing is enabled or disabled is made,
* 1000+ is the region above the "upper bound" in which sowing gets disabled if it were enabled.

What this gives us is a way to build up a buffer of product, then hold off on production while we're consuming some of it, and then turning production back on when we're running low, but before we're running out.

Translations
  • None yet
Want your translation in this list? Release a translation mod (i.e. a mod with only a Languages folder, not a copy of this entire mod + the translation) for this mod, and notify me of its existence, and I'll add it to the list.

Version support

This mod supports RimWorld 1.3, 1.4 and 1.5

Source code

Source code can be found on GitHub[github.com]. Report any bugs or feature suggestions/requests on the issue tracker[github.com].

Like my work?
[ko-fi.com]

Feel free to join my Discord server[discord.gg] if you want to talk to me (and other members) about my projects, or just to hang out, I guess. :)
Популярни дискусии Всички (1)
0
30 май в 4:54
Your hysteresis bounds?
lol
124 коментара
Thels 5 септ. в 5:31 
@Ilyvion: I was already thinking this would thematically fit into Colony Manager. Looking forward to what you cook up!
ilyvion  [автор] 4 септ. в 12:06 
@TheronIscarin' for whatever reason, Steam didn't inform me of your post. But yeah, I figured it'd be, overall, a better experience for players if I did that. Probably won't help everybody (like somebody who isn't playing between that release and the one actually taking on the dependency) but still seemed like a good idea. 😄
ilyvion  [автор] 4 септ. в 12:05 
@Thels -- yeah, so I have future plans to make a Colony Manager integration for this mod so you can control it in the same way as you control the other things, which among other things will have features like being able to count other crops than the one in question and even growing other crops when the primary one meets its targets.
Thels 3 септ. в 6:14 
Also, would it be possible to select the items counting towards the threshold? For example, say I run a tunneler colony, but I don't have much room for my mushroom farm, yet. I have this corn field outside, but I only need the corn to supplement the mushrooms. It would be nice to be able to gather corn only if the combined total of corn and mushrooms together is less than 1000.
Thels 3 септ. в 6:10 
Thank you for this mod! It's one of the few things that can't be properly automated through bills or colony manager.

I noticed you added an icon for colony manager, so it appears proper with Vanilla Textures Expanded and UINotIncluded. Would there be a chance to add a similar icon for this mod?
Theron Iscarin' 26 авг. в 7:44 
ive played this game a fair bit, and i think yours is the first mod where you give a warning about a change coming where you need a dependency. that is freaking brilliant. thank you for that. top notch. (not to mention this mod is one of my "core" mods that i dont play without)
Johnny Silverman 26 юни в 14:14 
Nevermind, either I'm just extremely dumb and was trying to sow something during a cold snap, or that was some really random occurence, but it's fully working as intended
Either way thanks a lot for responding, as I said, this mod is practically a total must for me now
Johnny Silverman 26 юни в 13:31 
https://rentry.co/9o8vkcy8
Don't think so? I'm actually running a pretty light setup rn so I'm surprised that somethings seems to break in it - mainly it's just non-intrusive, not mechanics-heavy QoL, interface mods, and little improvements.
But I have a weird feeling that it may be connected to Performance Fish, or Rocketman/Performance Optmizer since they may just cause some weird behavior in mods, especially Fish with its amounts of tweaks and improvements.
ilyvion  [автор] 25 юни в 21:05 
@JohnnySilverman I'm unable to get this behavior to happen on my end. Do you use any other mods that interfere/interact with how farming/planting works?
ilyvion  [автор] 25 юни в 21:00 
@JohnnySilverman I'll look into it; that's definitely not expected behavior!