Airlock Access Override Removes Access, Give Engineers Access Config (#6263)
* doors access is now broken. * Access configs for Engi * AI can see modified accesses now * Added ability to see access on Engi borgs * Fixed comment and namespace * comment * Also add to Revenant. * Update Resources/Prototypes/_Mono/Recipes/Lathes/tools.yml Signed-off-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> --------- Signed-off-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com>
This commit is contained in:
parent
d8edffcbb2
commit
fd09b8f68e
|
|
@ -23,6 +23,8 @@ using Robust.Shared.Timing;
|
|||
using Content.Shared._DV.Access.Systems;
|
||||
using Content.Shared._DV.Access.Components;
|
||||
using Content.Shared.Mind; // DeltaV - Subdermal ID Cards
|
||||
using Content.Shared.Ninja.Components; // DeltaV
|
||||
using Content.Shared.Revenant.Components; // DeltaV
|
||||
|
||||
namespace Content.Shared.Access.Systems;
|
||||
|
||||
|
|
@ -31,7 +33,6 @@ public sealed class AccessReaderSystem : EntitySystem
|
|||
[Dependency] private readonly IPrototypeManager _prototype = default!;
|
||||
[Dependency] private readonly InventorySystem _inventorySystem = default!;
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private readonly EmagSystem _emag = default!;
|
||||
[Dependency] private readonly TagSystem _tag = default!;
|
||||
[Dependency] private readonly SharedGameTicker _gameTicker = default!;
|
||||
[Dependency] private readonly SharedHandsSystem _handsSystem = default!;
|
||||
|
|
@ -151,7 +152,7 @@ public sealed class AccessReaderSystem : EntitySystem
|
|||
|
||||
private void OnEmagged(EntityUid uid, AccessReaderComponent reader, ref GotEmaggedEvent args)
|
||||
{
|
||||
if (!_emag.CompareFlag(args.Type, EmagType.Interaction)) // DeltaV - emag for lockers etc instead of doorjack
|
||||
if (HasComp<SpaceNinjaComponent>(args.UserUid) || HasComp<RevenantComponent>(args.UserUid)) // DeltaV - Don't break access if its a ninja doing it
|
||||
return;
|
||||
|
||||
if (!reader.BreakOnAccessBreaker)
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
CrowbarYellow: 8
|
||||
Multitool: 4
|
||||
NetworkConfigurator: 5
|
||||
AccessConfigurator: 4 # DeltaV - Any engi can configure access
|
||||
NaniteApplicator: 4 # Monolith - Nanite Applicator
|
||||
JerryCanWeldingFuel: 2 # New Frontier - Jerry Cans
|
||||
JerryCanNaniteFuel: 2 # Monolith - Nanite Applicator
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@
|
|||
parent: BorgChassisSelectable
|
||||
name: engineer cyborg
|
||||
components:
|
||||
- type: ShowAccessReaderSettings # DeltaV
|
||||
- type: BorgSwitchableType
|
||||
selectedBorgType: engineering
|
||||
|
||||
|
|
|
|||
|
|
@ -104,6 +104,7 @@
|
|||
startPowerCorruptionAtCharIdx: 4
|
||||
maxPowerCorruptionAtCharIdx: 20
|
||||
- type: StationAiShop # DeltaV - AI Shop System
|
||||
- type: ShowAccessReaderSettings # DeltaV - They can see access breaks
|
||||
# Begin DeltaV - AI faxes
|
||||
- type: FaxMachine
|
||||
name: Station AI
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
- id: LunchboxEngineeringFilledRandom
|
||||
prob: 0.3
|
||||
- id: HolotapeProjector
|
||||
- id: AccessConfigurator # Any engi can configure access
|
||||
|
||||
# Escape Pod Locker
|
||||
- type: entity
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
parent: BorgChassisSelectable
|
||||
name: standard engineering cyborg
|
||||
components:
|
||||
- type: ShowAccessReaderSettings
|
||||
- type: BorgSwitchableType
|
||||
selectedBorgType: engineering
|
||||
- type: BorgSwitchableSubtype
|
||||
|
|
@ -15,6 +16,7 @@
|
|||
parent: BorgChassisSelectable
|
||||
name: generic engineering cyborg
|
||||
components:
|
||||
- type: ShowAccessReaderSettings
|
||||
- type: BorgSwitchableType
|
||||
selectedBorgType: engineering
|
||||
- type: BorgSwitchableSubtype
|
||||
|
|
@ -25,6 +27,7 @@
|
|||
parent: BorgChassisSelectable
|
||||
name: antique engineering cyborg
|
||||
components:
|
||||
- type: ShowAccessReaderSettings
|
||||
- type: BorgSwitchableType
|
||||
selectedBorgType: engineering
|
||||
- type: BorgSwitchableSubtype
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
components:
|
||||
- type: Emag
|
||||
emagType: Access # LockSystem has its type changed so this only affects airlocks
|
||||
emagImmuneTag: AccessBreakerImmune
|
||||
blacklist: null # allow airlocks
|
||||
- type: Sprite
|
||||
sprite: _DV/Objects/Tools/doorjack.rsi
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
- HolotapeProjector
|
||||
- SheetPlasteel1Engineering
|
||||
- NaniteApplicator
|
||||
- AccessConfigurator
|
||||
|
||||
## Dynamic
|
||||
|
||||
|
|
|
|||
|
|
@ -55,3 +55,11 @@
|
|||
materials:
|
||||
Plastic: 250
|
||||
Glass: 150
|
||||
|
||||
- type: latheRecipe
|
||||
parent: BaseToolRecipe
|
||||
id: AccessConfigurator
|
||||
result: AccessConfigurator
|
||||
materials: # Tiny bit more expensive than a network configurator
|
||||
Steel: 400
|
||||
Plastic: 300
|
||||
|
|
|
|||
Loading…
Reference in New Issue