A lightweight Cities: Skylines mod that reconstructs the cargo train income logic based on distance and cargo size. Built with Harmony Lib.
By default, cargo rail maintenance in Cities: Skylines can be a financial burden. This mod adds a realistic revenue stream by calculating a "delivery fee" whenever a cargo train arrives at its destination.
- Dynamic Calculation: Real-time distance and load-based rewards.
- In-game Settings: Adjust base fee and multiplier via the Options menu.
- Persistent Config: Settings are saved to
RailwayProfitConfig.xmlin the game's local folder. - Performance Optimized: Uses Harmony Postfix to ensure zero impact on core simulation logic.
- .NET Framework 3.5 (Required by CSL 1)
- Harmony (Cities Harmony API)
- Cities: Skylines Binaries (
ICities.dll,ColossalFramework.dll, etc.)
- Clone the repository.
- Reference the required game DLLs from your Steam installation folder.
- Build the project as a Class Library (.dll).
- Copy the output DLL to
%LocalAppData%\Colossal Order\Cities_Skylines\Addons\Mods\RailwayProfitMod\.
This project is licensed under the MIT License - see the LICENSE file for details.