Space Engineers

Space Engineers

85 个评价
Farmhand - Farm Manager
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
730.912 KB
9 月 20 日 下午 4:00
10 月 23 日 下午 3:30
11 项改动说明 ( 查看 )

订阅以下载
Farmhand - Farm Manager

在 Duke Skyloafer 的 1 个合集中
Titan Modlist
26 件物品
描述
A script to help ensure high yields and automate harvesting. Full details can be found in the Farmhand Guide.

This is a beta. It's pretty well tested but there may be bugs. There may also be breaking changes between versions, so make sure you read the Upgrade Notes section. Additional planned features are at the bottom of this page.



Features
Changes the lights on the farm plots to indicate the status of the crop. This is configurable, but these are the defaults:
  • Dark Purple: Nothing planted
  • White: Plant is growing
  • Green: Plant is ready to harvest
  • Red: Plant is dead
  • Blinking White: Farm plot is low on water
Tracks the amount of ice in irrigation systems
Tracks the amount of water in the farm plots
Tracks the air/pressurization status using an air vent
Triggers timer blocks when certain events occur



Setup
Load the script into a programmable block. You should see a summary of tracked blocks on the programmable block's screen.

Take all the blocks you want to track and put them in a group together. This include farm plots, irrigation systems, air vents, and timer blocks. All blocks are technically optional.

Next, add the tag [FarmLCD] to any LCD Panels or Control Seats/Cockpits. Then go into the Custom Data of the block and add the group name. This LCD Panel/Control Seat/Cockpit will now monitor that group. You can add as many LCDs to a group as you want, and you can have as many groups as you want.

(Optional) If you only want to track one group and don't want to see a readout on a screen, you can add a single group to the Custom Data of the programmable block. This will still control farm plot lights and trigger timers, but it can only track one group.

Congrats, setup is now complete!

For instructions to set up the single-plot display, see the Farmhand Guide.



Customizing
There are many ways to configure the script, including changing the farm plot light colors, trigger timer blocks, changing alerting thresholds, etc.

You can also now utilize a new graphical view that shows the status of each farm plot in the group.

For a full list of options, see the Farmhand Guide.



Upgrade Notes
During the beta period, there may be breaking changes in how the script works. Please follow all the migration guides between your current version and the one you're upgrading to.

Upgrading to v0.8.0+
  • If you were previously centering the text on the display, go into the custom data of the screen and set Text Alignment to "Center."

Upgrading to v0.7.0+
  • Default "low water" alert threshold changed from 20% to 50%. You will need to manually change it on any existing blocks (if you want to)
  • If you're splitting output between multiple LCDs, you may want to set which one(s) show the new Farm Plots category in the LCDs' custom data.

Upgrading to v0.6.0+
  • You no longer have to put LCD panels in the group. Tag them with [FarmLCD] instead.
  • You can keep the group name in the programmable block custom data if you want (it is no longer required), but if you want the readout on the LCD, you'll have to tag the LCD with [FarmLCD] and add the group name to the LCD Custom Data.

Upgrading to v0.5.0+
  • In the LCD Panel custom data, "Show Errors" has changed to "Show Alerts." If you changed the value of "Show Errors" to false, you will need to change "Show Alerts" to false as well.
  • "Show Errors" can be deleted from custom data if you want. The script ignores it now and won't add it to new blocks.



Planned Features
These are in no particular order. Hopefully I get to all of them eventually.
  • Ability to customize the colors for each state
  • Customizable thresholds for ice and water levels
  • Support for using screens on blocks with multiple screens
  • Support for multiple farm groups
  • Better LCD output with graphical representation of more data
  • Support for broadcast controllers and action relays



Known Issues
  • Farm plot lights sometimes don't sync correctly on dedicated servers. I'm looking into it.



Links
Discord[discord.gg] Has a dedicated chat room for help and bug reports for this script.
22 条留言
Sardaukai 10 月 24 日 上午 10:35 
LucaZanna 10 月 23 日 上午 1:47 
Hi, I know it's probably beyond the scope of the script, but it would be nice have a support for the algae farms as well.

Maybe something like the info you can find in the block itself, but with the great visual graphic of the last update.
Duke Skyloafer  [作者] 10 月 17 日 下午 8:32 
@PBS-MD Yes, I'll give you the mass
PBS-MD 10 月 17 日 上午 5:15 
Trying this; seems quite useful :steamthumbsup:

One suggestion - can the Ice reporting give the volume available as well as the percentage ? 5% doesn't really tell me anything, whereas 150kg does.
Bystander 10 月 6 日 上午 10:22 
I created an ingame script that orders up seeds, manages them and sends single seeds to connectors. Feel free to incorporate parts of that code if you want. Probably nicer having it in one place https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3576255186 .
Also some notes at the bottom about IIM.
PumaDove 10 月 3 日 上午 11:06 
AB-SO-LU-TLY Genius Sir! Congratz from France and amazing job!
Days 10 月 3 日 上午 5:23 
@aantono There are some custom data edits for the IIM programmable block that allow seed recipes to be !learnt. Check out the IIM discussions on Isy's discord for help.
Duke Skyloafer  [作者] 9 月 30 日 上午 9:47 
@aantono That's beyond the scope of the project as I envision is right now, but I'm also feeling the IIM pain, so maybe once all the rest of the functionality I'm planning is done, I can look into it. No promises, though.
aantono 9 月 28 日 下午 7:48 
Given that Isy Inventory Manager does not seem to work with crops/seeds, is it possible to add support to be able to configure making seeds to a specified quantity to be queued in the Food Processor as well as configure which containers/connectors/etc they should be placed and how many?
Duke Skyloafer  [作者] 9 月 28 日 下午 5:30 
@abordoli Yep, LCDs changed to support multiple groups. Check out the Upgrade Notes section for what you need to change.