-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathConfig.cs
More file actions
69 lines (54 loc) · 2.69 KB
/
Config.cs
File metadata and controls
69 lines (54 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
using CommonLib.Config;
namespace TeleportationNetwork
{
[Config("tpnet.json")]
public class Config
{
[Description("Teleport block are unbreakable in survival")]
public bool Unbreakable { get; set; } = true;
[Strings("on", "off", "always")]
[Description("Enabling the teleport stability mode." +
" If on, teleport will be unstable at low temporal stability" +
" (lower than StabilityConsumable) and during storms." +
" If always, then everytime will be unstable")]
public string StabilityTeleportMode { get; set; } = "on";
[Range(0, 1.0)]
[Description("Consumption of stability for teleport if stability" +
" is not enough <data deleted>. Percentage values from 0 to 1")]
public double StabilityConsumable { get; set; } = 0.2;
[Range(0, int.MaxValue)]
[Description("Range for unstable teleport <data deleted> behavior")]
public int UnstableTeleportRange { get; set; } = 500;
[Range(0, int.MaxValue)]
[Description("Cooldown between teleports in milliseconds")]
public int TeleportCooldown { get; set; } = 5000;
[Description("Remove all paper and metal lanterns from teleport structures if True")]
public bool DarknessMode { get; set; } = false;
[Description("Create only standard teleports with granite and aged wood")]
public bool BiomlessTeleports { get; set; } = false;
[Strings("on", "off", "trader-only")]
[Description("Create claim for teleport structure (does not affect generated structures)")]
public string TeleportBuildProtected { get; set; } = "trader-only";
[ClientOnly]
[Description("Show teleport points on map")]
public bool ShowTeleportOnMap { get; set; } = true;
[ClientOnly]
[WaypointName]
[Description("Default repaired teleport icon on the map")]
public string DefaultTeleportIcon { get; set; } = "spiral";
[ClientOnly]
[HexColor]
[Description("Default repaired teleport icon color")]
public string DefaultTeleportColor { get; set; } = "#23cca2";
[ClientOnly]
[HexColor]
[Description("Broken teleport icon color")]
public string BrokenTeleportColor { get; set; } = "#104430";
[Description("Disable trader, locust and tower teleport structures")]
public bool NoSpecialTeleports { get; set; } = false;
[Range(0, int.MaxValue)]
[Description("Minimal distance between teleport structures")]
public int MinTeleportDistance { get; set; } = 4096;
public string TeleportRepairItem { get; set; } = "game:gear-temporal";
}
}