0 of 0

File information

Last updated

Original upload

Created by

onemix

Uploaded by

Onemix

Virus scan

Some manually verified files

About this mod

Adds sprinting and energy regeneration. Optional health regeneration (disabled by default).

Requirements
Permissions and credits
Adds a sprinting mechanic when holding LeftControl (Configurable). Also provides energy regeneration based on your max energy, and optional health regeneration (disabled by default).

Everything in the mod is configurable.
Generic Mod Config Menu is highly recommended to configure while in-game.

Installation
Unzip the mod folder inside your Mods folder. To uninstall, delete the folder

Compatibility
Online and split-screen multiplayer compatible
Not tested on mobile

Should be compatible with any other mod, just pay attention to the keybinds
Built for SMAPI 3.17.2, should be compatible with SMAPI 4.x

Configuration
Use Generic Mod Config Menu to configure while in-game, otherwise edit the config.json in the mod folder
Values in parentheses are the default

  • SprintingKey (LeftControl): the keybind used to sprint while moving
  • SpeedBoost (2): the value of the speed boost received when sprinting
  • EnergyDrainPerSecond (1.0): the energy consumed per second while sprinting (note that if SkillBased is enabled you will consume more energy than this)
  • SkillBased (true): The higher your skills levels, the less energy will be consumed while sprinting, uses the formula  energyDrainPerSecond += 5 - totalLevels/10 to add a flat value to EnergyDrainPerSecond, starting at 5 when level 0 on all skills and 0 when all skills are level 10
  • AllowHorseSprinting (true): if you can sprint while mounted on a horse
  • MinimumEnergyToSprint (15): the least necessary energy to allow sprinting
  • LowEnergyWarning (true): if a hud message should appear informing that you are low on energy when sprinting
  • EnergyToWarn (25): when to trigger the low energy warning, when enabled
  • EnergyRegenRate (1.0): the percentage of your max energy regenerated per second
  • EnergyRegenCooldown (5): how many seconds you need to start regenerating energy since it was last consumed
  • HealthRegenRate (0.0): the percentage of your max health regenerated per second
  • HealthRegenCooldown (5): how many seconds you need to start regenerating health since the last hit

Source Code
GitHub