Skip to content

Commit

Permalink
Config descriptions & breaktime default value
Browse files Browse the repository at this point in the history
  • Loading branch information
IkaOverride committed Sep 29, 2023
1 parent 5322f7f commit f2df191
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions ShootingInteractions/Configs/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ public sealed class Config : IConfig {
[Description("Indicates whether the plugin's debug logs are enabled or not")]
public bool Debug { get; set; } = false;

[Description("Normal doors")]
[Description("Normal doors buttons")]
public DoorInteraction Doors { get; set; } = new();

[Description("Checkpoint doors")]
[Description("Checkpoint doors buttons")]
public DoorInteraction Checkpoints { get; set; } = new();

[Description("Gates")]
[Description("Gates buttons")]
public DoorInteraction Gates { get; set; } = new();

[Description("Bulletproof lockers")]
[Description("Bulletproof lockers keycard readers")]
public LockerInteraction BulletproofLockers { get; set; } = new();

[Description("Elevators")]
[Description("Elevators buttons")]
public ElevatorInteraction Elevators { get; set; } = new();

[Description("Frag grenades")]
Expand Down
2 changes: 1 addition & 1 deletion ShootingInteractions/Configs/DoorInteraction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class DoorInteraction {
public byte ButtonsBreakChance { get; set; } = 0;

[Description("For how long should the buttons stay broken (0 = infinite)")]
public float ButtonsBreakTime { get; set; } = 0;
public float ButtonsBreakTime { get; set; } = 10;

[Description("Should the door still move/do its animation if the buttons should break")]
public bool MoveBeforeBreaking { get; set; } = false;
Expand Down
2 changes: 1 addition & 1 deletion ShootingInteractions/Configs/ElevatorInteraction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class ElevatorInteraction {
public byte ButtonsBreakChance { get; set; } = 0;

[Description("For how long should the buttons stay broken (0 = infinite)")]
public float ButtonsBreakTime { get; set; } = 0;
public float ButtonsBreakTime { get; set; } = 10;

[Description("Should the elevator still move/do its animation if the buttons should break")]
public bool MoveBeforeBreaking { get; set; } = false;
Expand Down

0 comments on commit f2df191

Please sign in to comment.