Giter Site home page Giter Site logo

fs22-animalhelpermod's Introduction

FS22_AnimalHelper

This mod allows you to easily fill up all levels for your animal husbandries. I started created this mod, because I found it a lot of effort to initialy fill up the husbandries after purchasing the animals. This is what the FS19 version of this mod does. Nothing less, nothing more.

The FS22 version of the mod is changed to a more "permanent helper". The helper will tend to your animals daily at a fixed time (9 am by default, configurable). The helper will feed the animals, ride and clean your horses, top up the water and provide straw if needed.

Costs

This mod uses the games economy to calculate prices for the food and straw used. Prices for training and cleaning the horses are (for now) fixed.

FS19 Version

The FS19 version can be found in the FS19 branch. This version is no longer maintained.

Usage

While playing, press LCtrl + LAlt + 9 (KeyBinding can be altered) to enable or disable the helpers. Press LCtrl + LAlt + 0 to open the settings dialog.

Settings

You can alter some settings to adjust the mod to your desired gameplay wishes. The following settings can be altered (for now, list may change or expand):

  • StartTime - The time the mod starts running and do its work
  • FillStraw - Fill straw Yes/No. If you need slurry, you should not fill straw. See Issue #10, this might change in the future.
  • DebugMode - Prints extra messages and runs helpers every hour instead of daily.

History

Please refer to modDesc.xml for a complete changelog. The following releases are available:

  • 01-2022 v22.0 - Updated mod to FS22.
  • 11-2020 v1.1.1 - Training of horses has been added.
  • 11-2020 v1.1 - Scripts reworked to dynamically determine fillTypes to top up.
  • xx-2018 v1.0 - Initial version

Roadmap

The following features are planned to be implemented in a feature release:

  • Filling the different foodgroups with the different filltypes available, so you can reach a 100% productivity.
  • #2 - Feed taken from silos
  • Choose fillType based on the price of the materials. Use the cheapest fillType.
  • Translation of the different messages/texts. (Help is appreciated)
  • #10 - Determine filling of straw yes/no by the availability of a Straw Pit

Untested

I still have to test the mod. I cannot guarantee it will work errorfree. I played a bit with it for now, with only a few basic husbandries and it seems to work. But, as mentioned before, no guarantee can or wil be given this mod works correct. I hope to be able to test it some more soon.

Multiplayer

For now, I have set Multiplayer support to false... I am not interested in multiplayer support, so this is untested. Pull-Requests with changes allowing MultiPlayer support are welcome.

Contibute

Like to contribute? Send a pull-request!

fs22-animalhelpermod's People

Contributors

lactic68 avatar paramitnl avatar pvanetten avatar vanquish081 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fs22-animalhelpermod's Issues

Mod doesnt show on Game start

Describe the bug
The mod is installed and shows within the installed mods within the game. However, upon starting a new game the mod is not there to be selected. Therefore, none of the inputs work in the game.

Environment (please complete the following information):

  • OS: [e.g. Windows 10] - Windows 10
  • Mod Version [e.g. 22] - 22
  • Game Version [e.g. 1.2.0.2] - 1.6.0.0
  • Other mods installed/in use in savegame - CoursePlay

Additional context
Add any other context about the problem here.

Mod doesnt show

I cant get the mod to even show up in mod manager before starting on map (singe and multiplayer) however it does appear in mod list which is very weird, maybe Im doing something wrong with installation but I tried zip and unzipped version. This mod was really good for FS19 it would be a shame to have lost it.

Any guidance on how it should be installed?

Multiplayer Support

Investigate Multiplayer can be enabled and, if possible, enable Multiplayer.

Feed taken from silos

Is there a chance that animal feed will be taken from silos and warehouses instead of bought?

When using mod packaged as ZIP, Gui won't load/open

To Reproduce
Steps to reproduce the behavior:

  1. Build/Create Mod zip via Build task in VSCode
  2. Run the Game.
  3. Error in log saying game cannot load guiProfiles.xml
  4. Press LCtrl+lAlt+0 to open Config dialog
  5. Error in log, nil value on Dialog.

Expected behavior
Settings dialog can be opened.

Environment (please complete the following information):

  • OS: Windows 10
  • Mod Version: 22
  • Game Version: 1.2.0.2 b14813
  • Other mods installed/in use in savegame
    N/A

Straw change - Check for manurepit before filling straw

Hi,
Thanks for the development on this mod (I spend some hours trying to create it myself based on the old code from Tunnelrat in animalworker as well as the old happyanimals script... but the game discriptions has changed to much for my limited experience with LUA scripting!)
I did note however in your script the note to enable or disable straw filling for the production of manure. Since the game (atleast the base game animal pens) now require you to have a manure pit extention to enable the production of manure from slurry, it may be good to have the script check the pressence of a manure pit extention before adding straw? If someone do not add the pit their intention is likely to not produce manure, and thus no slurry needed.

Error in log and won't load mod

Describe the bug
: Failed to open xml file 'D:/FS22Organizer/Wolfcreek5/FS22_AnimalHelperMod_master/modDesc.xml'Error.

To Reproduce
Load game with mod installed.

Environment (please complete the following information):

  • OS: Windows 11
  • Mod Version 22

Additional context
Renamed the file here to replace the - with _ .

I want this script but I can't take it

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. Windows 10]
  • Mod Version [e.g. 22]
  • Game Version [e.g. 1.2.0.2]
  • Other mods installed/in use in savegame

Additional context
Add any other context about the problem here.

Limiting to a specific animal type

Is there a way to specify feeding only one or two animal types instead of all of them? For instance, only allowing sheep or cows to "graze" for grass, but still needing to do the rest of the work manually. I've been messing around with the script all day, but I just can't seem to figure it out. I'm not too knowledgeable in LUA, but I feel like I'm overlooking something that should be relatively simple.

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.