d (#1351)
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
using Content.Server.Cargo.Systems;
|
||||
using Content.Shared._CP14.MagicEnergy;
|
||||
using Content.Shared._CP14.MagicEnergy.Components;
|
||||
using Robust.Shared.Timing;
|
||||
|
||||
namespace Content.Server._CP14.MagicEnergy;
|
||||
@@ -16,13 +14,6 @@ public sealed partial class CP14MagicEnergySystem : SharedCP14MagicEnergySystem
|
||||
|
||||
InitializeDraw();
|
||||
InitializePortRelay();
|
||||
|
||||
SubscribeLocalEvent<CP14MagicEnergyContainerComponent, PriceCalculationEvent>(OnMagicPrice);
|
||||
}
|
||||
|
||||
private void OnMagicPrice(Entity<CP14MagicEnergyContainerComponent> ent, ref PriceCalculationEvent args)
|
||||
{
|
||||
args.Price += ent.Comp.Energy.Double() * 0.1;
|
||||
}
|
||||
|
||||
public override void Update(float frameTime)
|
||||
|
||||
Reference in New Issue
Block a user