Storage Fix V0.1

Storage Fix V0.1


Temporary fix for negative resources in cargo stations. Temporary meaning until CO will fix that properly.

  • Cargo stations may show 0 resources despite being heavily stocked, or some small number that doesn’t match the actual number of resources. It happens because the game creates negative resources in the storages. Another issue this situation creates is that the game tries to deliver those missing goods and trains are loaded with 1200t of a single resource. In the end, it breaks all resource logistics in the city.
  • The root cause is that the game creates transfer requests that are impossible to execute e.g. 400t and there is only 100t in the storage. Then this request is processed, the train is loaded with 400t of goods and leaves -300t of negative resources.
  • This mod fixes the loading/unloading process, so at least they don’t create those situations.
  • I have not yet tracked where the erroneous transfer request come from, so I’ve implemented a workaround – the mod simply removes such requests from the system. There will still be such requests (new ones) but they should not break the game.
  • You may check yourself how the mod works when you enable the logging in the config file. It will tell you what is fixed and what is removed.
  • You should observe the results each time a train comes to the station. After some time, the trains will start transporting reasonable amounts of various goods too.

Requirements and Compatibility

  • Cities Skylines II version 1.0.15f1
  • BepInEx 5
  • Modifies TransportTrainAISystem and TransportBoardingHelpers

How to install

  1. Place the StorageFix.dll file in your BepInEx Plugins folder.
  2. The config file is automatically created when the game is run once.

Changelog

v0.1.0 (2023-12-05)
Initial build.

Credits:
Infixo


What is Cities: Skylines 2 mods use for

Find the latest Cites: Skylines 2 mods and improve your game to the next level. Here you will find mods with features you will not find on the base game. What’s even better, these mods are completely free and easy to download. The Cities Skylines 2: How to Start Your City Mod setup process is extremely easy to follow. Just get them on your computer, follow a couple of simple steps, and you’re done!

Join the worldwide Cities: Skylines 2 modding community, full of excellent developers and devoted gamers, looking to improve this game – building and using mods to make the playing experience even more exciting. These mods are easy to use, and the results are remarkable. Cities Skylines 2 Mod lets you easily build your very own version of the game, with limitless possibility, turning your visions into reality. Don’t miss your opportunity to improve the game. Start building now: simply click the Cities: Skylines 2 Mod download button, and see everything for yourself.







Best Other mods

Leave a Reply

Do you need help or to say thanks for mod author? Just leave a comment bellow!