Skip to content

Commit

Permalink
Update TerraplugConfig.cs
Browse files Browse the repository at this point in the history
add increment values to sliders to (hopefully) remove funny floating points
  • Loading branch information
NoraVR authored Dec 8, 2023
1 parent 6073f1c commit ed0441b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TerraplugConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,19 @@ public class TerraplugConfig : ModConfig

[Label("Strength for Attacking")]
[Range(0, 1)]
[Increment(0.05f)]
[DefaultValue(0.25)]
public float AttackStrength;

[Label("Strength for Getting hit")]
[Range(0, 1)]
[Increment(0.05f)]
[DefaultValue(0.5)]
public float HitStrength;

[Label("Strength for Dying")]
[Range(0, 1)]
[Increment(0.05f)]
[DefaultValue(0.75)]
public float deathStrength;

Expand Down

0 comments on commit ed0441b

Please sign in to comment.