Weight based AreaInsert and Dumpable delay, a janitor qol tweak (#24899)

Weight based delay, retuned average, fixed comments
This commit is contained in:
Krunklehorn
2024-03-02 08:57:44 -05:00
committed by GitHub
parent aaf5d0d302
commit c775410370
4 changed files with 29 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
using Content.Shared.DoAfter;
using Content.Shared.Storage.EntitySystems;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
@@ -24,7 +25,7 @@ public sealed partial class DumpableComponent : Component
/// How long each item adds to the doafter.
/// </summary>
[DataField("delayPerItem"), AutoNetworkedField]
public TimeSpan DelayPerItem = TimeSpan.FromSeconds(0.2);
public TimeSpan DelayPerItem = TimeSpan.FromSeconds(SharedStorageSystem.AreaInsertDelayPerItem);
/// <summary>
/// The multiplier modifier