Stardew Valley

File information

Last updated

Original upload

Created by

Alpha_Omegasis

Uploaded by

Omegasis

Virus scan

Safe to use

About this mod

Lets you move faster without needing to enter commands in the SMAPI console.

Requirements
Permissions and credits
Changelogs
Donations
HereLets you move faster without needing to enter commands in the SMAPI console.

Compatible with Stardew Valley 1.4+ on Linux, Mac, and Windows. Requires SMAPI 3.0 or later.

Install

Usage
You'll automatically walk/run faster with this mod installed. Edit the config.json file in a text editor to change the speed (it will appear after you run the game once).

Mod Authors:
Auto speed has had a few tweaks included to it to include an api for interfacing custom speeds! Now you can use SMAPI's built in api function to adjust added speed for the player so that your mod and auto speed doesn't conflict!

To do this simply add this code into your mod when you wish to add in your custom speed:

```
object api = helper.ModRegistry.GetApi("Omegasis.AutoSpeed");
if (api != null)
helper.Reflection.GetMethod(api, "addSpeedBoost").Invoke("Your-Unique-ID",#SpeedAmount);
//Replace #SpeedAmount with a number such as 1 or 3!
//Your-Unique-ID is the unique id for your speed boost. An example could be "Omegasis.MyModTest.QuickSprint"
```

...and whenever you wish to remove your added speed use this code:

```
object api = helper.ModRegistry.GetApi("Omegasis.AutoSpeed");
if (api != null)
helper.Reflection.GetMethod(api, "removeSpeedBoost").Invoke("Your-Unique-ID");
//Use the unique key you used to add in your speed boost to remove it!
```

API Documentation: https://github.com/janavarro95/Stardew_Valley_Mods/tree/Development/GeneralMods/AutoSpeed/Framework

If you have any questions or suggestions please feel free to post!
See also