-
-
Notifications
You must be signed in to change notification settings - Fork 37
Add Feature to Restrict Animals Ready for Milking or Shearing #147
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
Add Feature to Restrict Animals Ready for Milking or Shearing #147
Conversation
|
cool addition, thanks for the work! I'll have a closer look tonight to see if everything is still somewhat working ;). |
464fea6 to
b638b37
Compare
05da133 to
ffd77e2
Compare
|
PR updated, ready for review again. PR now just contains the milk/shear code, no longer contains the unrelated feature, and no longer contains the compiled .DLL. Moved the new Milk and Shear options to be in between Slaughter and Train, so that the ordering is Slaughter -> Milk -> Shear -> Train, because that is the same order in which the WorkGivers actually appear in the WorkType. Sorry for delay. Thanks for the mod. |
|
@maarxx |
|
The opposite can also be true though too. Factoring in the delay of the
Manage Husbandry Job actually getting executed (imagine the job getting
executed at 99% and waiting to be ran again next time), plus the time for
the animal to walk to the destination, you can have cases where animal hits
100% before being moved, and then the Handler might (worst case) walk all
the way to the opposite corner of the map to shear it.
In my colony, at least, it was much preferable to get the animals in
position a little early, rather than risk the Handler make such an
enormously wasteful trip.
I can understand it being a configurable setting though. Not sure if Fluffy
wants to go that route, and if it should be configured per job or in global
mod settings. Don't want to clutter anything too badly with corner cases. I
can add the configurable setting with Fluffy's confirmation and preferred
direction.
…On Sat, Oct 26, 2019, 6:45 AM dandiez ***@***.***> wrote:
@maarxx <https://github.com/maarxx>
Thank you for this update! I find it really useful and thought about
learning how to mod Rimworld just to do the same! XD
I have done some testing and noticed that the 94% might be too early. For
instance a Muffalo takes quite a while until it gets from the 94% to 100%
wool growth.
At least in my case, the handler always has enough to do, so the time it
takes the animals to get to him is quite small in comparison (they will
have to wait anyway).
Would it be possible to change it to 100% by default (or have a setting to
control it)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#147?email_source=notifications&email_token=ABYST24C5A3SKZHBYVAPP4LQQQNVRA5CNFSM4I2T6CM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECKFH4I#issuecomment-546591729>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYST26LVBUDI2F7OTLGMRLQQQNVRANCNFSM4I2T6CMQ>
.
|
|
Yep, I can see how that could happen. I gave it a try to add a slider (under the area selectors) and it seems to work, however as you mention, it is one extra thing in the UI. If you want to have a test I can do a pull request to your pull request(?) in ManagerTab_Livestock, just below the area selectors: and where the logic goes, instead of the hardcoded value, pointing to the new variable: |
|
I have added an example of the slider to #151 |
| <FML.SendToSlaughterArea.Tip>Restrict animals designated for slaughtering to a specific area</FML.SendToSlaughterArea.Tip> | ||
| <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.SendToShearingArea>Restrict animals ready to be sheared</FML.SendToShearingArea> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"shearing fullness" --> "wool growth"?
Add Feature to Restrict Animals Ready for Milking or Shearing
When an animal is over 94% fullness for milking or shearing, restrict it to a particular area.
Bring the animals to the Handlers, rather than making the Handlers walk to the animals.