Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict Animals That Are Hungry #184

Open
wants to merge 3 commits into
base: 1.2
Choose a base branch
from

Conversation

maarxx
Copy link
Contributor

@maarxx maarxx commented Nov 2, 2020

restrictHungryExample

Specifically restrict animals that are hungry. A few cases:

  • An animal was restricted for Training or Milk/Shearing, but the Handlers are busy, and it is starving. Let it out to eat, and come back later.
  • The animal has access to food, but is being dumb. It can't find food close enough, or it went to bed without enough food, and started staving during the night. Wake it up and send it to the freezer immediately to eat something. Helps prevent miscarriages too!

Notes on the implementation:

  • We assume the ticks until starving is linear based on current hunger level, which is absolutely not true. The reality is more complex. We assume their food need will fall linearly based on its current rate, when in reality in slows down closer to the end. This means we are currently assuming animals are hungry sooner than we need to.

<FML.SendToMilkingArea>Restrict animals ready to be milked</FML.SendToMilkingArea>
<FML.SendToMilkingArea.Tip>Restrict animals with milk fullness above 94% to a specific area.</FML.SendToMilkingArea.Tip>
<FML.SendToMilkingArea.Tip>Restrict animals ready to be milked to a specific area.</FML.SendToMilkingArea.Tip>
Copy link
Contributor Author

@maarxx maarxx Nov 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to the PR, but a minor text inaccuracy from a previous contribution, so I fix it here.

<FML.SendToShearingArea>Restrict animals ready to be sheared</FML.SendToShearingArea>
<FML.SendToShearingArea.Tip>Restrict animals with shearing fullness above 94% to a specific area</FML.SendToShearingArea.Tip>
<FML.SendToShearingArea.Tip>Restrict animals ready to be sheared to a specific area</FML.SendToShearingArea.Tip>
Copy link
Contributor Author

@maarxx maarxx Nov 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to the PR, but a minor text inaccuracy from a previous contribution, so I fix it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant