-- Animal Worker by Tunnelrat (TRmods.com)

-- @Author: Tunnelrat
-- @Website: TRmods.com or trmods.godaddysites.com
-- @Email: tunnelratdev@gmail.com
-- @Date: 06.25.2019
-- @Version: 2.3
-- Copyright (C) Tunnelrat, All Rights Reserved.


CHANGE LOG
  VERSION 2.3:
	FEATURES:
	- Feed/Water/Straw all filled at 7am; Horses can be ridden 4 times a day; All settings available in game Alt + NumPad 0 or toggle worker with Alt + 0
	- GUI now loads with current settings
	- Help menu text displays worker status as active or not active
	- On-screen feedback (top notification) when worker toggled or charges for work, shows for 5 seconds
	- Now trains horses 4 times a day with configurable hourly rate per horse at 8am, 9am, 10am, 11am (if you have HorseHelper, set train Horses to false)
	- More settings configurations
	
	FUTURE RELEASES:
	 - More language settings (g_i18n variables)
	 - Add controller inputs
	 - Add option to sell eggs, milk, manure, slurry, wool
	 
	BUGS / ISSUES / CONFLICTS:
	 - No known conflicts, however, if you have HorseHelper, you may want to set the horse training to false as it would defeat the purpose.
	 - Performance / lag: minimal to none. Lightweight iterations take less than a second.
	 - Multiplayer compatible: Most features should work, though it has not been tested nor has is_client or is_server implemented.
	 - Logging: Minimal. Removed log entries minus worker toggle and payments.
	 
  VERSION 2.2:
    FEATURES:
	- Optimized performance, and fixed typos.
	- Added key binds and GUI menu to configure settings.
	- Left Alt + 0 to toggle worker status; Left Alt + NumPad 0 to open settings menu; (must be on foot)
	- All settings can now be configured in-game (active, fee, base cost, capacity, clean pens)
	- Added more language files for 4 total languages (English, Dutch, French, Spanish)
	
	BUGS / CONFLICTS:
	 - No known conflicts or errors in log at this time.
	 - Compatible with Animal HUD, Animal Pen Extension and Horse Helper.
	 - No feedback if using the LAlt + 0 toggle yet, just on Dev console; but it works.
	 
  VERSION 2.1:
    FEATURES:
	- 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.
	
  VERSION 2.0:
    FEATURES:
	- 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
	
  VERSION 1.1 (INITIAL RELEASE)
    FEATURES:
	- Fill all husbandries to capacity with water and straw.
	- Charges fee.
	