About this mod
This mod allows other mod authors to add custom bonuses to their rolling stock for passenger service. Bonuses can be applied to passenger fares by any car in the consist, and they don't have to be a positive bonus either.
- Requirements
- Permissions and credits
This mod allows other mod authors to add custom bonuses to their rolling stock for passenger service. Bonuses can be applied to passenger fares by any car in
the consist, and they don't have to be a positive bonus either.
Installs with UMM
DOCUMENTATION
To add a bonus to a car or locomotive, you need to add the component to the component section in the items definition
COMPONENT JSON
{
"kind": "CustomBonus",
"bonusAmount": 1.0,
"minNumOfCars": 0,
"maxNumOfCars": 0,
"startHour": 0.0,
"endHour": 24.0,
"minimumOfCartype": 0,
"maximumOfCartype": 0,
}
bonusAmount
A decimal percentage for the amount to increase or decease the fares by (1.0 is 100%, or unchanged, 0.9 is 90% of the fares, 1.1 is 110%, etc.)
min/maxNumOfCars
The number of cars that must be on the consist. Includes locomotives and tenders. A 0 in the max means no maximum amount
start/endHour:
The hours between which the bonus will be applied. (0 - midnight)
minimum/maximumOfCarType
The number of this car required on the train for the bonus to be applied. A 0 in the max means no maximum amount
UPLOADING THIS FILE TO ANY LOCATION WITHOUT MY WRITTEN PERMISSION IS A VIOLATION OF THE LICENSE. THIS INCLUDES DISCORD CHANNELS AND .ZIP FILES. IF YOU ARE MAKING A MODPACK, YOU MAY INCLUDE IT, AS LONG AS THE MODPACK DOES NOT GET UPLOADED TO ANYWHERE BUT DISCORD/GOOGLE DRIVE/DROPBOX OR OTHER SIMILAR WEBSITE