bring back doorjack, use emag for lockers

This commit is contained in:
deltanedas 2025-02-14 16:28:24 +00:00
parent d8289ccdf4
commit a292c7bf3e
6 changed files with 43 additions and 14 deletions

View File

@ -77,7 +77,7 @@ public sealed class AccessReaderSystem : EntitySystem
private void OnEmagged(EntityUid uid, AccessReaderComponent reader, ref GotEmaggedEvent args)
{
if (!_emag.CompareFlag(args.Type, EmagType.Access))
if (!_emag.CompareFlag(args.Type, EmagType.Interaction)) // DeltaV - emag for lockers etc instead of doorjack
return;
if (!reader.BreakOnAccessBreaker)

View File

@ -296,7 +296,7 @@ public sealed class LockSystem : EntitySystem
private void OnEmagged(EntityUid uid, LockComponent component, ref GotEmaggedEvent args)
{
if (!_emag.CompareFlag(args.Type, EmagType.Access))
if (!_emag.CompareFlag(args.Type, EmagType.Interaction)) // DeltaV - emag for lockers instead of doorjack
return;
if (!component.Locked || !component.BreakOnAccessBreaker)

View File

@ -18,6 +18,9 @@ uplink-syndicate-radio-implanter-bundle-desc = Two implanters for the price of o
uplink-syndicate-hostage-implanter-bundle-name = Hostage implant bundle
uplink-syndicate-hostage-implanter-bundle-desc = These implants pacify when injected and also allow the hostages to enter your shuttle without being shot by turrets!
uplink-doorjack-name = Airlock Access Override
uplink-doorjack-desc = A specialized cryptographic sequencer, designed solely to doorjack NanoTrasen's updated airlocks. Does not tamper with anything else.
uplink-home-run-bat-name = Home Run Bat
uplink-home-run-bat-desc = Rigged bat pre-coated in blood for Syndicate tee-ball practice. Launch your foes!

View File

@ -863,18 +863,19 @@
# Disruption
- type: listing
id: UplinkAccessBreaker
name: uplink-access-breaker-name
description: uplink-access-breaker-desc
productEntity: AccessBreaker
discountCategory: rareDiscounts # DeltaV - was veryRareDiscounts
discountDownTo:
Telecrystal: 2 # DeltaV - was 3
cost:
Telecrystal: 4 # DeltaV - was 5
categories:
- UplinkDisruption
# DeltaV - replaced by doorjack
#- type: listing
# id: UplinkAccessBreaker
# name: uplink-access-breaker-name
# description: uplink-access-breaker-desc
# productEntity: AccessBreaker
# discountCategory: rareDiscounts # DeltaV - was veryRareDiscounts
# discountDownTo:
# Telecrystal: 2 # DeltaV - was 3
# cost:
# Telecrystal: 4 # DeltaV - was 5
# categories:
# - UplinkDisruption
- type: listing
id: UplinkEmag

View File

@ -119,6 +119,19 @@
categories:
- UplinkImplants
- type: listing
id: UplinkDoorjack
name: uplink-doorjack-name
description: uplink-doorjack-desc
productEntity: Doorjack
discountCategory: rareDiscounts
discountDownTo:
Telecrystal: 2
cost:
Telecrystal: 4
categories:
- UplinkDisruption
- type: listing
id: BaseBallBatHomeRun
name: uplink-home-run-bat-name

View File

@ -0,0 +1,12 @@
- type: entity
parent: Emag
id: Doorjack
name: airlock access override
description: A specialized cryptographic sequencer with a distinctive battery tray, specifically designed to override station airlock access codes.
components:
- type: Emag
emagType: Access # LockSystem has its type changed so this only affects airlocks
- type: Sprite
sprite: _DV/Objects/Tools/doorjack.rsi
- type: Item
sprite: _DV/Objects/Tools/doorjack.rsi