User Tools

Site Tools


mtr_addon:nte:js:train

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mtr_addon:nte:js:train [2024/04/09 17:45] weryskokmtr_addon:nte:js:train [2024/04/09 17:45] (current) weryskok
Line 112: Line 112:
 | ''train.width(): int'' | Width. Since the player also has a width [what?], a wagon that is 3 blocks wide has a value of 2 for this attribute. | | ''train.width(): int'' | Width. Since the player also has a width [what?], a wagon that is 3 blocks wide has a value of 2 for this attribute. |
 | ''train.trainCars(): int'' | Number of cars. | | ''train.trainCars(): int'' | Number of cars. |
-| ''train.accelerationConstant(): float'' | Acceleration. The unit of measurement is m/tick/tick, which is 1/400 m/s^2 |+| ''train.accelerationConstant(): float'' | Acceleration. The unit of measurement is m/tick/tick, which is 1/400 m/s<sup>2</sup> |
 | ''train.manualAllowed(): boolean'' | Whether manual operation is allowed. | | ''train.manualAllowed(): boolean'' | Whether manual operation is allowed. |
 | ''train.maxManualSpeed(): int'' | The maximum speed at manual control. It corresponds to the ordering of track types from low to high. [what?] | | ''train.maxManualSpeed(): int'' | The maximum speed at manual control. It corresponds to the ordering of track types from low to high. [what?] |
mtr_addon/nte/js/train.1712684702.txt.gz · Last modified: 2024/04/09 17:45 by weryskok