ANIMAL WORKER Version 2.1
Hire a Ranch Hand to feed, water and bed your animals for a small daily fee.
Daily at 7am the worker will:
- Fill the water trough, straw bedding and clean your animals. (configurable in XML)
- Feed all your animals based on number of animals. (configurable in XML)
- Charge a daily fee of 5% + base cost (in XML) + number of animals
New in Version 2.1
- Set worker to active by default and added 2 more settings to clean the pens and how to fill troughs.
- Settings file is in your modSettings folder (modsSettings/animalWorker/animalWorker.xml)
- Fixed expenses, now listed under Animal Upkeep, also configurable.
- Now uses all feed types. Serial consumers (cows/pigs) get rations based on consumption.
- For less feed set fillToCapacity to false, they will only get daily rations per animal; enough for 6 days. Set to true to fill the troughs.
New in Version 2.0
- Feeds all animals one type of food based on 6 days of consumption per animal per weight. (Doesn't completely fill the trough)
- New settings XML file in modsettings folder to configure animal worker is active, base price per animal (to feed) and fee.
- Costs are added daily at exactly 7 am and printed out in the dev console, along with number of animals fed.
- Multilingual description
- Multiplayer compatible
Bugs / Conflicts
- No known conflicts at this time. (Still works with Animal HUD, Animal Pen Extension and Horse Helper).
Upcoming Updates
- Add configurable food fill amounts
- Add input binds to Activate/De-activate the worker
- Add option to sell eggs, milk, manure, slurry, wool
- Spawn in worker with correct vehicle and change rate to hourly, making him drive to/from sell/buy points for realism. (Maybe...)
COMMENTS
how or where do you hire the worker
Making a note to add a key bind and help context.
The description says it is ON by default now.
Everything works perfectly, only in the feeder remains garbage and on the display of animals purity - 100% !!!
***Around feeders visually present garbage.
I'll make a note for the next update, thank you.
I don't know why, this mod still doesn't work. The previous version 1.1 worked very well (adding water and straw).
Make sure you open your settings file and set animalWorkerActive="true". Everything updates at 7 in the morning. *You have to load the game for the XML to be created unless you have one from a previous version, which will update.
Thanks for the extra info / instructions Tunnelrat. I will give 2.1 one last try, hoping it's better than 2.0. but still thinking that maybe 1.1 is the best that you're gonna get this concept. Thanks for sharing your hard work.
I am using the default settings. The game is loaded, animalWorkerActive = "true" keeps the original settings, but still not responding? I switched to the previous version 1.1 and it worked fine (but only water and straw were added). How should I set it up or operate?
My game version is FS19 v1.3.0.1
First, make sure you have the mod loaded in your game (check the box next to Animal Worker V2_1). And that you removed the old version.
Next, check your log.
If you get an error in the debug console please share it with me. It will only run at 7:00 am but you can look at your log in your game folder. (i.e. Documents/My Games/FS19..) Do a CTRL+F and search for "animalWorker".
@Tunnelrat: Yay! 2.1 works for me, thank you! The lag from 2.0 has gone and 2.1 feeds all the animals except any of the pig foods in the large pig pen, but I can live with that! A really great mod! Thanks for sticking at it and helping people.. credit where credit is due, a great concept and a very helpful Tunnelrat!
@FarmerB glad you got it working. Thanks for your feedback. I take notes for future updates. :)
Sorry, meant to say a really great script! Thanks again TR!
'Hire a Ranch Hand to feed, water and bed your animals for a small daily fee' I will not pay the hired help to bed down my animals..animal fockers need not apply here - you'll just be shot - no warnings, no burial - D E A D dead kind of dead.
@Dam Ittttt Man lol, wow.
Nekem se működik , csak az 1.1 működött.Jó lenne egy videó a beállításról.
@Antal84 Győződjön meg róla, hogy a animalWorkerActive = "true" a modsSettings mappában
Great mod. Thanks. Don't know if this will cause issues, but there is a misspelling in the xml: fillToCapaicity="true". Keep up the good work.
@Wrangler thanks for the heads up, I caught it too but it wasn't a variable so it can be updated next patch.
I was really hoping I would be able to select what the animal worker does, ie fill water but not straw, or feed but not water ect.
@Name I'll make a note to update those settings in the next version, thanks.
WRANGLER. where you saw fillToCapaicity="true" ????
In the config file: Documents\My Games\FarmingSimulator2019\modsSettings\animalWorker\animalWorker.xml
@Tunnelrat The misspelling doesn't seem to be causing any issues. I'd like to add an editor for the mod to my FS19 Dashboard, making it easy to edit the settings. Is this ok with you?
@Wrangler good idea, fine by me.
cant get it to work at all. its set to active. tried every cow shed i have including the base game one. would love for it to work
@DirtPoorFarmer I'll have the next version available soon with more configurable settings. Meantime, check your log.txt file to see what the error is, can't help if I don't know where to look. Also, make sure it is checked before you load the map (easy to overlook).
@Tunnelrat I'm going to wait until your next update to add the editor. Can you clarify animalWorkerFee="0.050000" costPerAnimal="10.000000 for me? Is the workerfee in percent and the cost per animal 10 dollars? Thanks!
@Wrangler yes. Fee is 0.05 (5%), cost is 10.00 per animal. All that is in the menu next update.
Version 2.2 is almost ready, just debugging and testing everything.
Thank you for your patience as this takes a lot of work, especially debugging minor stuff and optimizing the code. It should be ready for release in the next couple days.
Here's what's new...
Added key binds with a GUI settings menu so you can configure in-game:
-active status, fees, costs per animal, fill to capacity and clean the pens.
Fixed typos and added support for 4 total languages (en, de, fr, es).
Optimized the code
got it to work on everything but pigs...tried on 3 different enclosurers....just me?
@Dmac If they're not completely filling pig troughs, it's due to the eat-weight factors in the code, that is fixed in the next update.
Write a comment