If I have many levels that represent different places separated by a certain distance “X”, when the player travels from one level to another by approaching the limit of one level, his stats should decrease.
Imagine that a player goes from level A to level B, and the distance is 10km in real life. Then I could make an assumption like:
-If travelling on foot: 4 km/h
-If travelling on horse: 7km/h
And therefore calculate how much should time advance when the player reaches the new level. For example: distance 10km, if we travel by foot the time should advance 10/4=2.5h
Also, this time would be used to calculate how much should other variables change, such as: hunger, sleep, etc.
How would I set this up?