Essence splitter (#948)

* disable rotting

* pipipi

* essence storage

* energy splitter

* Update essence_splitter.yml

* Update impact.png

* visual fixes

* sound fix

* Update twoHandedStaffs.yml

* unhardcode

* Update meta.json

* fix
This commit is contained in:
Ed
2025-02-27 13:48:38 +03:00
committed by GitHub
parent c6cc4daa3f
commit 5524e029f4
32 changed files with 350 additions and 74 deletions

View File

@@ -55,7 +55,7 @@ public partial class SharedCP14MagicEnergySystem : EntitySystem
changedEnergy = 0;
overloadEnergy = 0;
if (!Resolve(uid, ref component))
if (!Resolve(uid, ref component, false))
return;
if (!safe)
@@ -178,9 +178,3 @@ public sealed class CP14MagicEnergyBurnOutEvent : EntityEventArgs
{
public FixedPoint2 BurnOutEnergy;
}
public sealed class CP14MagicEnergyScanEvent : EntityEventArgs, IInventoryRelayEvent
{
public bool CanScan;
public SlotFlags TargetSlots { get; } = SlotFlags.EYES;
}