Skip to content

Commit

Permalink
Revert "короче, меня это заебало"
Browse files Browse the repository at this point in the history
This reverts commit 4ff0029.
  • Loading branch information
Darkiich committed Aug 1, 2024
1 parent 4ff0029 commit 81ad169
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 97 deletions.
4 changes: 0 additions & 4 deletions Resources/Locale/ru-RU/ADT/Entities/Objects/Device/pda.ftl
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
ent-ADTBasePDA =КПК
.desc = Ассистент по персональным данным.
ent-ADTBaseMedicalPDA = { ent-ADTBasePDA }
.desc = { ent-ADTBasePDA.desc }
ent-ADTPathologistPDA = КПК патологоанатома
.desc = От него веет прохладой.
97 changes: 4 additions & 93 deletions Resources/Prototypes/ADT/Entities/Objects/Device/pda.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
- type: entity
parent: BasePDA
id: ADTBaseMedicalPDA
abstract: true
parent: [ BaseItem, StorePresetUplink ] #PDA's have uplinks so they have to inherit the data.
id: ADTBasePDA
name: PDA
description: Personal Data Assistant.
components:
- type: Appearance
- type: Sprite
sprite: ADT/Objects/Devices/pda.rsi
state: pda
layers:
- map: [ "enum.PdaVisualLayers.Base" ]
- state: "light_overlay"
Expand All @@ -21,94 +19,7 @@
- type: Icon
sprite: ADT/Objects/Devices/pda.rsi
state: pda
- type: Pda
state: pda
paiSlot:
priority: -2
whitelist:
components:
- PAI
penSlot:
startingItem: Pen
priority: -1
whitelist:
tags:
- Write
idSlot:
name: access-id-card-component-default
ejectSound: /Audio/Machines/id_swipe.ogg
insertSound: /Audio/Machines/id_insert.ogg
whitelist:
components:
- IdCard
- type: Item
size: Small
- type: ContainerContainer
containers:
PDA-id: !type:ContainerSlot {}
PDA-pen: !type:ContainerSlot {}
PDA-pai: !type:ContainerSlot {}
Cartridge-Slot: !type:ContainerSlot {}
program-container: !type:Container
- type: ItemSlots
- type: Clothing
quickEquip: false
slots:
- idcard
- Belt
- type: UnpoweredFlashlight
- type: PointLight
enabled: false
radius: 1.5
softness: 5
autoRot: true
- type: Ringer
- type: DeviceNetwork
deviceNetId: Wireless
receiveFrequencyId: PDA
prefix: device-address-prefix-console
- type: WirelessNetworkConnection
range: 500
- type: CartridgeLoader
uiKey: enum.PdaUiKey.Key
preinstalled:
- CrewManifestCartridge
- NotekeeperCartridge
- NewsReaderCartridge
cartridgeSlot:
priority: -1
name: device-pda-slot-component-slot-name-cartridge
ejectSound: /Audio/Machines/id_swipe.ogg
insertSound: /Audio/Machines/id_insert.ogg
whitelist:
components:
- Cartridge
- type: ActivatableUI
key: enum.PdaUiKey.Key
singleUser: true
- type: UserInterface
interfaces:
enum.PdaUiKey.Key:
type: PdaBoundUserInterface
enum.StoreUiKey.Key:
type: StoreBoundUserInterface
enum.RingerUiKey.Key:
type: RingerBoundUserInterface
enum.InstrumentUiKey.Key:
type: InstrumentBoundUserInterface
enum.HealthAnalyzerUiKey.Key:
type: HealthAnalyzerBoundUserInterface
- type: Tag
tags:
- DoorBumpOpener
- type: Input
context: "human"

- type: entity
parent: ADTBasePDA
id: ADTBaseMedicalPDA
abstract: true
components:
visible: true
- type: ItemToggle
toggleLight: false
onUse: false
Expand Down

0 comments on commit 81ad169

Please sign in to comment.