fixes (#248)
* tweak: hotbar translation * oops * tweak: WhiteBox update * tweak: Bagel, Meta and Train in map pool * tweak: ERTsystem changes and new ERT map * cvar fix * nerf: radium no longer has a touch effect * tweak: chem touch tweaks * tweak: patch applies reagents over time * patchComp fix and some tweaks * some changes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Content.Shared.DoAfter;
|
||||
using System.Threading;
|
||||
using Content.Shared.DoAfter;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization;
|
||||
@@ -22,6 +23,9 @@ public sealed partial class PatchDoAfterEvent : SimpleDoAfterEvent
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class PatchComponent : Component
|
||||
{
|
||||
//[ViewVariables, DataField]
|
||||
public CancellationTokenSource CancelTokenSourceSkin = new();
|
||||
public CancellationTokenSource CancelTokenSourceBlood = new();
|
||||
|
||||
[ViewVariables, AutoNetworkedField]
|
||||
public FixedPoint2 CurrentVolume;
|
||||
@@ -32,9 +36,15 @@ public sealed partial class PatchComponent : Component
|
||||
[DataField("solutionName")]
|
||||
public string SolutionName = "patch";
|
||||
|
||||
// Application only on mobs
|
||||
[DataField("onlyMobs")]
|
||||
public bool OnlyMobs = true;
|
||||
|
||||
// Application time used in calculation final time
|
||||
[DataField("applicationTime")]
|
||||
public FixedPoint2 BaseApplicationTime = 10;
|
||||
|
||||
// Delay used in calculation final delay time
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("delay")]
|
||||
public TimeSpan Delay = TimeSpan.FromSeconds(5);
|
||||
|
||||
Reference in New Issue
Block a user