海狸浮生记 Timberborn

海狸浮生记 Timberborn

Automation
Clerius 2024 年 9 月 16 日 上午 2:56
Pausing buildings during badtide AND drought
I think there is no way to pause a building (e.g. water pump) during drought AND badtide at the same time. You can either pause during drought OR badtide.
< >
正在显示第 1 - 11 条,共 11 条留言
ihsoft  [开发者] 2024 年 9 月 29 日 下午 5:04 
Well, this can be done. I start thinking that for the pause action we need the same approach as for the floodgates. I.e. setup pause and resume actions seaparately.
Caseycc 2024 年 10 月 11 日 上午 7:01 
This has a very common use case because anything that uses water wheels for power ends up with no power during both of those scenarios anyway.
Jack-O-Lantern 2024 年 10 月 11 日 下午 8:07 
This also does have uses for all event types tbh. Some water pumps you want to run only during temperate seasons. You can have areas that flood bad water during temperate and bad tide seasons so it would benefit to have automation to pause buildings unless it is a drought (i.e. mixed water that hasn't been taken care of yet flooding across a plain), Lastly, allowing only to work during bad tide for various types of machines that work in areas directly with fresh water sources that turn bad, so you can do things like turn on and off pipes or pumps built for redirection or fluid dumps. So there would be scenarios that would benefit from having a "if <season> started, then unpause building/if <season> ended, then pause building" option
Spectre 2024 年 11 月 22 日 上午 6:27 
I got this Mod for exactly this reason. To pause my waterpumps automatically during badtides and droughts. Only to see, that I can only have one and still have to click through all pumps when the game changes between badtide and drought.
Well at least it saved me half of the work, because I don't have to unpause them...
最后由 Spectre 编辑于; 2024 年 11 月 22 日 上午 6:27
zokriem 2024 年 12 月 13 日 上午 8:26 
I'm also wondering how to combine pause/unpause on waterpumps during drought and badtide. At the moment, only the last template applied will work.
But it is possible to have two conditions on floodgates for drought and badtide.
最后由 zokriem 编辑于; 2024 年 12 月 13 日 上午 9:02
ihsoft  [开发者] 2024 年 12 月 16 日 上午 12:36 
2
I'm working on a major refactoring to the automation approach. The idea is to introduce UI that would allow constructing rules on the fly. Inclding the rules that involve "signals" from the other buildings.

The templates system is easy to use, but it has many limitations.
zokriem 2024 年 12 月 29 日 下午 2:20 
引用自 ihsoft
I'm working on a major refactoring to the automation approach. The idea is to introduce UI that would allow constructing rules on the fly. Inclding the rules that involve "signals" from the other buildings.

The templates system is easy to use, but it has many limitations.
Great to hear, looking forward to :steamthumbsup:
ihsoft  [开发者] 5 月 16 日 下午 4:54 
FYI, this is now possible. Starting from 2.1.0 you can write your own scripts. Just make the condition you need.
BoNes 5 月 17 日 上午 6:12 
To turn a building off during drought and badtides... I just have it turn on when the season is equal to temperate and turn off when it is not equal to temperate. The exact same logic can be used to turn something on only during drought and badtides.
ihsoft  [开发者] 5 月 17 日 下午 10:32 
引用自 BoNes
To turn a building off during drought and badtides... I just have it turn on when the season is equal to temperate and turn off when it is not equal to temperate. The exact same logic can be used to turn something on only during drought and badtides.
Yes, this is the most simple way. Scripts can compare for "not equal" condition, which the old rules system couldn't do.
Clerius 5 月 18 日 上午 6:44 
Thanks for implementing this. I've already been using it on the experimental branch and as a programmer I like the lisp like style to implement more complex ways to manage my beavers :)
< >
正在显示第 1 - 11 条,共 11 条留言
每页显示数: 1530 50