@@ -11,33 +11,63 @@ public sealed partial class ElectrifiedComponent : Component
11
11
[ DataField ( "enabled" ) ]
12
12
public bool Enabled = true ;
13
13
14
+ /// <summary>
15
+ /// Should player get damage on collide
16
+ /// </summary>
14
17
[ DataField ( "onBump" ) ]
15
18
public bool OnBump = true ;
16
19
20
+ /// <summary>
21
+ /// Should player get damage on attack
22
+ /// </summary>
17
23
[ DataField ( "onAttacked" ) ]
18
24
public bool OnAttacked = true ;
19
25
26
+ /// <summary>
27
+ /// When true - disables power if a window is present in the same tile
28
+ /// </summary>
20
29
[ DataField ( "noWindowInTile" ) ]
21
30
public bool NoWindowInTile = false ;
22
31
32
+ /// <summary>
33
+ /// Should player get damage on interact with empty hand
34
+ /// </summary>
23
35
[ DataField ( "onHandInteract" ) ]
24
36
public bool OnHandInteract = true ;
25
37
38
+ /// <summary>
39
+ /// Should player get damage on interact while holding an object in their hand
40
+ /// </summary>
26
41
[ DataField ( "onInteractUsing" ) ]
27
42
public bool OnInteractUsing = true ;
28
43
44
+ /// <summary>
45
+ /// Indicates if the entity requires power to function
46
+ /// </summary>
29
47
[ DataField ( "requirePower" ) ]
30
48
public bool RequirePower = true ;
31
49
50
+ /// <summary>
51
+ /// Indicates if the entity uses APC power
52
+ /// </summary>
32
53
[ DataField ( "usesApcPower" ) ]
33
54
public bool UsesApcPower = false ;
34
55
56
+ /// <summary>
57
+ /// Identifier for the high voltage node.
58
+ /// </summary>
35
59
[ DataField ( "highVoltageNode" ) ]
36
60
public string ? HighVoltageNode ;
37
61
62
+ /// <summary>
63
+ /// Identifier for the medium voltage node.
64
+ /// </summary>
38
65
[ DataField ( "mediumVoltageNode" ) ]
39
66
public string ? MediumVoltageNode ;
40
67
68
+ /// <summary>
69
+ /// Identifier for the low voltage node.
70
+ /// </summary>
41
71
[ DataField ( "lowVoltageNode" ) ]
42
72
public string ? LowVoltageNode ;
43
73
@@ -69,7 +99,7 @@ public sealed partial class ElectrifiedComponent : Component
69
99
public float ShockDamage = 7.5f ;
70
100
71
101
/// <summary>
72
- /// Shock time, in seconds.
102
+ /// Shock time, in seconds.
73
103
/// </summary>
74
104
[ DataField ( "shockTime" ) ]
75
105
public float ShockTime = 8f ;
0 commit comments