Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Put Ziprail Vehicle Unused Field Named Speed To Use
Makes unused ingame float field _speed for ZiprailVehicle class contibute to movementSpeed property
By Brynzananas
| Last updated | 7 hours ago |
| Total downloads | 2 |
| Total rating | 0 |
| Categories | Libraries |
| Dependency string | Brynzananas-Put_Ziprail_Vehicle_Unused_Field_Named_Speed_To_Use-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
README
Makes unused ingame float field _speed for ZiprailVehicle class contibute to movementSpeed property
How movementSpeed is calculated without this mod: this._initializationParams.direction / (this.path.totalLength / this.parentController.speed
How movementSpeed is calculated with this mod: this._initializationParams.direction / (this.path.totalLength / (this.parentController.speed * this._speed)
Also hooks onto ctor of ZiprailVehicle to set _speed field to 1
Before doing changes checks if ZiprailVehicle class has field named "_speed" and return if detects none