Fix: weariness makes hauling faster instead of slower; set weariness tracker in debug #77220
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Bugfixes "Fix: weariness makes hauling faster instead of slower"
Purpose of change
Describe the solution
Describe alternatives you've considered
debug_
* it is more clear that the programmer shouldn't use them. Open to suggestions!Testing
fix: compiled game before and after, the hauling took much longer. I moved 8 refrigerator tanks with AIM one tile, which takes 13-14 seconds without weariness, 27 seconds being Very Weary, 54-55 seconds being Extremely Weary
debug:
<set to some value>
F11 p p ENTER n W <set to some value>
in my case:0
Fresh1000000
Light2000000
Moderate3000000
Weary3500000
Very4000000
Extreme- Weariness updates in the side menu
- You get a message, if weariness changed
- You get the right effect
Additional context
Not sure, when the player would notice an incoming zombie. Would the Safe mode trigger on time when hauling a big item and being very weary?