LCLegDayMod
Take a lot of steps and get a stamina boost, but stagnate or die and lose the gains!
By SimonTendo
CHANGELOG
v1.0.0
- Release
v1.1.0
- Calculation for steps taken now only counts half of the units moved while airborne from the jetpack or tulip snakes
- Added feedback to the Fitness Witness for when your stamina is at its minimum or maximum, and couldn't go any further down or up
- Bought the Fitness Witness Feedback DLC Expansion Pack 1 from the Company Gift Shop
v2.0.0
Update with changes, additions, and fixes, aimed at becoming a "full-fledged" mod
- Implemented SaveData:
- Newly earned stamina will be saved at the end of the day
- Previously saved stamina will be loaded every time you join a lobby
- Can be turned off with the new Config option [Save Stamina], described below
- Tweaked calculations for steps taken and stamina:
- Necessary steps to take to increase stamina is now directly related to the amount of players in the lobby
- The more players, the less steps everyone individually needs to take
- Caps at 12 players, at which point each player needs to take half the steps a single player would need
- Stamina regenerates slightly faster at higher total stamina values
- It will not be as fast as the default stamina regeneration, but should at least create less downtime
- Can be turned off with the new Config option [Enhanced Regeneration], described below
- Stamina-penalty for dying is now lower on consecutive deaths if you die multiple days in a row
- Can be turned off with the new Config option [Consecutive Deaths], described below
- Increased minimum amount of TZP-inhalant that needs to be used before it counts as active, to match the vanilla game's value
- Lowered weight needed to be carried in order to get the "carrying"-bonus
- Necessary steps to take to increase stamina is now directly related to the amount of players in the lobby
- Added 6 Config options:
- Load and Save:
- [Save Stamina] sets whether stamina will be saved and loaded, or will return to default upon joining a lobby, by default set to true
- Stamina:
- [Minimum Stamina] sets how low your stamina can drop before not going down anymore, by default set to 10
- [Maximum Stamina] sets how high your stamina can rise before not going up anymore, by default set to 30
- [Enhanced Regeneration] sets whether or not your stamina regenerates as slowly on higher stamina, by default set to true
- [Consecutive Deaths] sets whether or not the penalty for dying will become lower on deaths multiple days in a row, by default set to true
- If you'd like to have an experience similar to v1.0.0, I recommend keeping the Minimum at Maximum stamina at their default value, and setting all true/false Config options to false
- Load and Save:
- Added feedback to explain that steps taken are only counted on moons with limited time
- Fixed compatibility issues that would occur in combination with specific BepInEx configurations
- Mod should now always work, regardless of modpack or BepInEx configs
- Moved code that displays steps taken at the end of a day, to try to fix the bug of no feedback being displayed sometimes
- Optimized code to hopefully improve performance and be a bit cleaner
- Bought the Fitness Witness Feedback DLC Expansion Pack 2 from some guy on the street
v2.1.0
- Steps taken in flood-water and quicksand now count for more towards the total steps taken
- Added 2 more Config options:
- [Reset When Fired]
- If true, your stamina and consecutive deaths will be reset upon not meeting the profit quota. If false, your streak will not be broken.
- By default set to true
- [The Fitness Witness]
- If true, steps taken and stamina changes will be communicated through a full message from the Fitness Witness, like on previous versions. If false, only the stamina changes are communicated, which will be shown at the bottom of the screen in a simple pop-up.
- By default set to true
- [Reset When Fired]
- Fixed bug that dying at the Company with specific config settings would save decreased stamina, despite not changing after leaving the level
- Added Customization paragraph to readme
- Cleaned up loose ends to prepare for compatibility with future mods of mine
- Bought the Fitness Witness Feedback DLC Expansion Pack 3 from a mole named Cole
v2.1.1
- Start-of-day message explaining when steps are counted is now also turned off if Config option [The Fitness Witness] is set to false
v2.1.2
- Fixed possible bug of mod thinking that the player has died even though they haven't, by implementing additional checks
- Made various minor tweaks
v2.2.0
- Added Config option [Required Steps Multiplier]
- This option will let you multiply or divide the amount of steps necessary before your stamina will increase
- By default set to 1, and I recommend only changing this in case you play with mods that change the length of days
- Steps taken in flood-water now count for even more, to fit the large risk that floods pose by default
- Made further attempts to improve performance
- Won the Fitness Witness Feedback DLC Expansion Pack 4 from a crane game
v2.2.1
- Increased the amount of steps taken needed to increase stamina when playing with a team of more than 4 people
- Put a slight delay on the message displaying your steps taken and changed stamina, so it hopefully shows up more consistently
- Tweaked the check for doping by ensuring it only fires when using TZP-Inhalant, in case other mods influence the same variable
- Found the Fitness Witness Feedback DLC Expansion Pack 5 written on the back of a grocery shopping list
v2.2.2
- Fixed possible bug that stamina would be changed upon joining a lobby
v2.2.3
- Fixed possible bug if local player couldn't be found, by implementing additional checks
v2.2.4
- Fixed issue that stamina would be saved before having been loaded, saving the default Lethal Company stamina value
v2.3.0
- Tweaked which on-screen pop-ups will appear at the beginning of the day based on configs and loaded stamina
- Configs [Minimum Stamina] and [Maximum Stamina] now use sliders in the Thunderstore's Edit config settings
- Carrying a triple-digit weight will now grant even more steps towards the daily total
- Pushing the Company Cruiser will now count a little bit towards your stamina changes at the end of the day
- I mean come on that thing is heavy
- I had also wanted to implement getting steps when driving the car since there's a large risk in doing that, but the implementation turned out more performance-heavy than expected, and it wouldn't be "exercise" either way, so I decided to spend my time on other fixes and changes
- Fixed bug that stamina would be wrongly assigned if the selected moon changed immediately after transitioning to the next day
- Updated assembly reference to v56, and revamped a lot of code in the hopes of being tidier, and maybe even saving a tiny bit of performance
- Heroically won the Final Fitness Witness Feedback DLC Expansion Pack after winning a game of rock-paper-scissors to a Coil-head
On a side note, I have ideas for a bigger v3.0.0 update in the future, and it should be more exciting than just a regular update.
So, if you're still interested in this mod, I hope you'll look forward to it too, as I'm excited to see what I can do with it.
~Simon