Fix test failures
This commit is contained in:
parent
33537f03eb
commit
fd9942cbd4
|
|
@ -19,7 +19,7 @@ public sealed class StackTest
|
|||
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
foreach (var entity in PoolManager.GetPrototypesWithComponent<StackComponent>(server))
|
||||
foreach (var entity in pair.GetPrototypesWithComponent<StackComponent>())
|
||||
{
|
||||
if (!entity.TryGetComponent<StackComponent>(out var stackComponent, compFact) ||
|
||||
!entity.TryGetComponent<ItemComponent>(out var itemComponent, compFact))
|
||||
|
|
|
|||
|
|
@ -228,13 +228,13 @@ namespace Content.Server.Psionics.Glimmer
|
|||
public void BeamRandomNearProber(EntityUid prober, int targets, float range = 10f)
|
||||
{
|
||||
List<EntityUid> targetList = new();
|
||||
foreach (var target in _entityLookupSystem.GetComponentsInRange<StatusEffectsComponent>(Transform(prober).Coordinates, range))
|
||||
foreach (var target in _entityLookupSystem.GetComponentsInRange<StatusEffectsComponent>(_transformSystem.GetMapCoordinates(prober), range))
|
||||
{
|
||||
if (target.AllowedEffects.Contains("Electrocution"))
|
||||
targetList.Add(target.Owner);
|
||||
}
|
||||
|
||||
foreach(var reactive in _entityLookupSystem.GetComponentsInRange<SharedGlimmerReactiveComponent>(Transform(prober).Coordinates, range))
|
||||
foreach(var reactive in _entityLookupSystem.GetComponentsInRange<SharedGlimmerReactiveComponent>(_transformSystem.GetMapCoordinates(prober), range))
|
||||
{
|
||||
targetList.Add(reactive.Owner);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -577,7 +577,7 @@
|
|||
defaultRotation: 0
|
||||
horizontalRotation: 0
|
||||
- type: Item
|
||||
size: Ginormous
|
||||
size: 100 # Did I randomly decide this? Yes. Yes I did.
|
||||
- type: GhostRole
|
||||
prob: 1
|
||||
name: ghost-role-information-Cak-name
|
||||
|
|
|
|||
|
|
@ -62,5 +62,5 @@
|
|||
paper_label: !type:ContainerSlot
|
||||
- type: ItemSlots
|
||||
- type: Item
|
||||
size: Ginormous
|
||||
sprite: Objects/Storage/petcarrier.rsi
|
||||
size: 9999
|
||||
sprite: Objects/Storage/petcarrier.rsi
|
||||
|
|
|
|||
|
|
@ -117,8 +117,6 @@
|
|||
whitelist:
|
||||
components:
|
||||
- Hands # no use giving a mouse a storage implant, but a monkey is another story...
|
||||
- type: Item
|
||||
size: 9999
|
||||
- type: Storage
|
||||
capacity: 20 #10-20 should be more than enough for this
|
||||
- type: ContainerContainer
|
||||
|
|
|
|||
Loading…
Reference in New Issue