Arrivals blacklist for bluespace lockers and QSIs (#34072)
* Ensure Arrivals Blacklist in Bluespace Locker rule * While I'm at it, stop the QSI too * fix thing I broke somehow * Every bluespace locker arrivals blacklisted * Add ArrivalsBlacklist to the prototypes too
This commit is contained in:
parent
458431c1fd
commit
c1d0f357b2
|
|
@ -16,6 +16,7 @@ using Robust.Shared.Containers;
|
|||
using Robust.Shared.Random;
|
||||
using Robust.Shared.Timing;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Content.Server.Shuttles.Components;
|
||||
|
||||
namespace Content.Server.Storage.EntitySystems;
|
||||
|
||||
|
|
@ -47,6 +48,8 @@ public sealed class BluespaceLockerSystem : EntitySystem
|
|||
|
||||
if (component.BehaviorProperties.BluespaceEffectOnInit)
|
||||
BluespaceEffect(uid, component, component, true);
|
||||
|
||||
EnsureComp<ArrivalsBlacklistComponent>(uid); // To stop people getting to arrivals terminal
|
||||
}
|
||||
|
||||
public void BluespaceEffect(EntityUid effectTargetUid, BluespaceLockerComponent effectSourceComponent, BluespaceLockerComponent? effectTargetComponent, bool bypassLimit = false)
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
- type: Item
|
||||
size: Small
|
||||
- type: Appearance
|
||||
- type: ArrivalsBlacklist
|
||||
- type: SwapTeleporter
|
||||
teleporterWhitelist:
|
||||
tags:
|
||||
|
|
|
|||
|
|
@ -421,6 +421,7 @@
|
|||
parent: LockerSyndicatePersonal
|
||||
description: Advanced locker technology.
|
||||
components:
|
||||
- type: ArrivalsBlacklist
|
||||
- type: BluespaceLocker
|
||||
minBluespaceLinks: 1
|
||||
behaviorProperties:
|
||||
|
|
|
|||
|
|
@ -171,6 +171,7 @@
|
|||
parent: ClosetMaintenance
|
||||
description: It's a storage unit... right?
|
||||
components:
|
||||
- type: ArrivalsBlacklist
|
||||
- type: BluespaceLocker
|
||||
pickLinksFromSameMap: true
|
||||
minBluespaceLinks: 1
|
||||
|
|
@ -189,6 +190,7 @@
|
|||
parent: ClosetMaintenance
|
||||
description: It's a storage unit... right?
|
||||
components:
|
||||
- type: ArrivalsBlacklist
|
||||
- type: BluespaceLocker
|
||||
pickLinksFromSameMap: true
|
||||
minBluespaceLinks: 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue