* 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:
RinKeeper
2024-03-31 09:12:07 +03:00
committed by GitHub
parent 7ef173bc2b
commit e6790ef190
18 changed files with 67691 additions and 18837 deletions

View File

@@ -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);