kaomoneus / OpenTTD

OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe
https://www.openttd.org/
Other
4 stars 1 forks source link

[Bug]: Airplanes crashing too often #5

Closed kaomoneus closed 2 years ago

kaomoneus commented 2 years ago

Version of OpenTTD

12.0.slowpace

Expected result

Having 5 new airplanes I expect ~1 crash in next 10-20 years.

Actual result

I have 2 crashes in 2 years having brand new 5 airplanes with reliability 90./

Steps to reproduce

  1. Run game in with year pace every 24 hours.
  2. Run 5 airplanes.
  3. Watch for next 3 game years (you can fastforward if you don't want to wait for 2 days).
  4. Observe how many airplanes you have.
kaomoneus commented 2 years ago

Implementation (fix) description

In MaybeCrashAirplane function, reduce probability N times

If N is a pace factor, D day ticks, V vanilla day ticks: