Uplink Item: Records Tablet (#3556)

* records tablet initial

* implemented, reorganized, added to uplink

* oops

* remove unneeded criminalrecords component

* proper suffix

* comment cleanup

* syndie category, indent, free now

* move sprite to _dv, description update

attribution in .meta is still correct it looks

* inhandsonly -> false

* attribution fix
This commit is contained in:
KOTOB 2025-04-24 18:58:16 -07:00 committed by GitHub
parent ee93678756
commit 0f84d5f817
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 76 additions and 1 deletions

View File

@ -242,6 +242,15 @@ public sealed partial class CharacterRecordViewer : FancyWindow
Title = Loc.GetString("cd-character-records-viewer-title-med");
break;
// Begin DeltaV - Syndicate Record Tablet
case RecordConsoleType.Generic:
RecordFilterType.Visible = false;
RecordFilterType.SelectId((int)StationRecordFilterType.Name);
RecordEntryViewType.Visible = true;
Title = Loc.GetString("cd-character-records-viewer-title-generic");
break;
// End DeltaV - Syndicate Record Tablet
case RecordConsoleType.Security:
RecordFilterType.Visible = true;
@ -334,6 +343,24 @@ public sealed partial class CharacterRecordViewer : FancyWindow
SetEntries(cr.MedicalEntries);
UpdateRecordBoxMedical(record);
break;
// Begin DeltaV - Syndicate Record Tablet
case RecordConsoleType.Generic:
UpdateRecordBoxEmployment(record);
UpdateRecordBoxMedical(record);
switch ((RecordConsoleType) RecordEntryViewType.SelectedId)
{
case RecordConsoleType.Employment:
SetEntries(cr.EmploymentEntries, true);
break;
case RecordConsoleType.Medical:
SetEntries(cr.MedicalEntries, true);
break;
case RecordConsoleType.Security:
SetEntries(cr.SecurityEntries, true);
break;
}
break;
// End DeltaV - Syndicate Record Tablet
case RecordConsoleType.Security:
SetEntries(cr.SecurityEntries);
UpdateRecordBoxSecurity(record, state.SelectedSecurityStatus);

View File

@ -16,6 +16,7 @@ public enum RecordConsoleType : byte
Security,
Medical,
Employment,
Generic, // DeltaV - Syndicate Record Tablet
/// <summary>
/// Admin console has the functionality of all other types and has some additional admin related functionality
/// </summary>

View File

@ -0,0 +1 @@
cd-character-records-viewer-title-generic = Crew Records

View File

@ -2,3 +2,6 @@ uplink-observation-kit-desc-deltav = Includes a syndicate crew monitor, high-cap
uplink-ai-detector-name = AI Detector
uplink-ai-detector-desc = This multitool has a custom display that changes color depending on how close the AI's camera is to you. Use it to stay clear of snooping eyes!
uplink-records-tablet-name = Records Tablet
uplink-records-tablet-desc = A tablet that lets you view the station records of any crewmember, handily disguised as a station map. One per agent.

View File

@ -26,3 +26,17 @@
Telecrystal: 1
categories:
- UplinkDeception
- type: listing
id: HandheldStationMapRecordsTablet
name: uplink-records-tablet-name
description: uplink-records-tablet-desc
icon:
sprite: _DV/Objects/Devices/tablets.rsi
state: icon
productEntity: HandheldStationMapRecordsTablet
categories:
- UplinkDeception
conditions:
- !type:ListingLimitedStockCondition
stock: 1

View File

@ -0,0 +1,26 @@
- type: entity
parent: BaseItem
id: HandheldStationMapRecordsTablet
name: station map
description: Displays a readout of the current station.
suffix: Records Tablet
components:
- type: CharacterRecordConsole
consoleType: Generic
- type: Sprite
sprite: Objects/Devices/tablets.rsi
layers:
- state: tablet
- state: generic
shader: unshaded
- type: ActivatableUI
inHandsOnly: false
singleUser: true
key: enum.CharacterRecordConsoleKey.Key
- type: UserInterface
interfaces:
enum.CharacterRecordConsoleKey.Key:
type: CharacterRecordConsoleBoundUserInterface
- type: MappingCategories
categories:
- Syndicate

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

View File

@ -1,12 +1,15 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "https://github.com/Baystation12/Baystation12/tree/17e84546562b97d775cb26790a08e6d87e7f8077 and edited by portfiend",
"copyright": "AAC tablet from https://github.com/Baystation12/Baystation12/tree/17e84546562b97d775cb26790a08e6d87e7f8077 and edited by portfiend. Base tablet from Baystation12 and heavily modified by Flareguy, edited into icon by KOTOB.",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "aac_tablet"
},