* portal frame * resprited sharpening stone * portal frame entity * darkness -> dimension magic type * thaumaturgy platforms, some refactor * magic energy refactor * Update AirlockPryingTest.cs * transfering tweaks * fixed magic manipulation
26 lines
657 B
C#
26 lines
657 B
C#
using Content.Shared._CP14.MagicEnergy;
|
|
using Robust.Shared.Timing;
|
|
|
|
namespace Content.Server._CP14.MagicEnergy;
|
|
|
|
public sealed partial class CP14MagicEnergySystem : SharedCP14MagicEnergySystem
|
|
{
|
|
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
|
[Dependency] private readonly CP14MagicEnergyCrystalSlotSystem _magicSlot = default!;
|
|
|
|
public override void Initialize()
|
|
{
|
|
InitializeDraw();
|
|
InitializeScanner();
|
|
InitializePortRelay();
|
|
}
|
|
|
|
public override void Update(float frameTime)
|
|
{
|
|
base.Update(frameTime);
|
|
|
|
UpdateDraw(frameTime);
|
|
UpdatePortRelay(frameTime);
|
|
}
|
|
}
|