Skip to content

Commit

Permalink
Research digiboard (#2508)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosycup committed Jan 10, 2025
1 parent 45451ad commit dd91c91
Show file tree
Hide file tree
Showing 15 changed files with 131 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
steal-target-groups-lucky-bill = logistics officer's lucky bill
steal-target-groups-ian-dossier = head of personnel's photobook
steal-target-groups-box-folder-rd-clipboard = research digi-board
1 change: 1 addition & 0 deletions Resources/Locale/en-US/deltav/research/rd-clipboard.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rd-clipboard-computer-verb-text = Toggle Research
2 changes: 2 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/heads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@
- id: BoxEncryptionKeyScience
- id: BoxPDAScience # Delta-V
- id: RDIDCard # Delta-V
- id: BoxFolderRdClipboard # Delta-V
- id: ClothingHeadsetAltScience
- id: EncryptionKeyBinary
- id: LunchboxCommandFilledRandom # Delta-V Lunchboxes!
Expand All @@ -277,6 +278,7 @@
- id: BoxEncryptionKeyScience
- id: BoxPDAScience # Delta-V
- id: RDIDCard # Delta-V
- id: BoxFolderRdClipboard # Delta-V
- id: ClothingHeadsetAltScience
- id: EncryptionKeyBinary
- id: LunchboxCommandFilledRandom # Delta-V Lunchboxes!
Expand Down
72 changes: 72 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Objects/Misc/paper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,75 @@
backgroundModulate: "#e0bc99"
backgroundPatchMargin: 16.0, 16.0, 16.0, 16.0
contentMargin: 32.0, 16.0, 32.0, 0.0

#Research digi-board
- type: entity
id: BoxFolderRdClipboard
parent: BoxFolderClipboard
name: research digi-board
description: A bulky electric clipboard, filled with research notes and artifact sketches. With so many compromising documents, you ought to keep this safe.
components:
- type: Sprite
sprite: DeltaV/Objects/Misc/rd_clipboard.rsi
layers:
- state: rd_clipboard
- state: rd_clipboard_paper
map: ["rd_clipboard_paper"]
visible: false
- state: rd_clipboard_pen
map: ["rd_clipboard_pen"]
visible: false
- state: rd_clipboard_over
- type: ItemSlots
slots:
pen_slot:
name: clipboard-slot-component-slot-name-pen
whitelist:
tags:
- Write
insertOnInteract: true
- type: Item
sprite: DeltaV/Objects/Misc/rd_clipboard.rsi
size: Normal
- type: Clothing
sprite: DeltaV/Objects/Misc/rd_clipboard.rsi
- type: Storage
grid:
- 0,0,4,3
quickInsert: true
- type: StorageFill
contents: [] #to override base clipboard fill
- type: ItemMapper
mapLayers:
rd_clipboard_paper:
whitelist:
tags:
- Document
rd_clipboard_pen:
whitelist:
tags:
- Write
- type: ResearchClient
- type: ResearchConsole
- type: TechnologyDatabase
- type: ActivatableUI
verbText: rd-clipboard-computer-verb-text
key: enum.ResearchConsoleUiKey.Key
- type: UserInterface
interfaces:
enum.ResearchConsoleUiKey.Key:
type: ResearchConsoleBoundUserInterface
enum.ResearchClientUiKey.Key:
type: ResearchClientBoundUserInterface
enum.WiresUiKey.Key:
type: WiresBoundUserInterface
- type: MeleeWeapon
damage:
types:
Blunt: 8
- type: Tag
tags:
- Folder
- HighRiskItem
- type: StealTarget
stealGroup: BoxFolderRdClipboard
8 changes: 7 additions & 1 deletion Resources/Prototypes/DeltaV/Objectives/stealTargetGroups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,17 @@
sprite: DeltaV/Objects/Misc/bureaucracy.rsi
state: folder-hop-ian

- type: stealTargetGroup
id: BoxFolderRdClipboard
name: steal-target-groups-box-folder-rd-clipboard
sprite:
sprite: DeltaV/Objects/Misc/rd_clipboard.rsi
state: rd_clipboard

- type: stealTargetGroup
id: RubberStampNotary
name: notary stamp
sprite:
sprite: DeltaV/Objects/Misc/stamps.rsi
state: stamp-notary


10 changes: 10 additions & 0 deletions Resources/Prototypes/DeltaV/Objectives/traitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,13 @@
stealGroup: RubberStampNotary
verifyMapExistence: true
owner: job-name-clerk

- type: entity# Mystagogue steal objective
parent: BaseTraitorStealObjective
id: RdClipboardStealObjective
components:
- type: NotJobRequirement
job: ResearchDirector
- type: StealCondition
stealGroup: BoxFolderRdClipboard
# owner: job-name-rd
1 change: 1 addition & 0 deletions Resources/Prototypes/Objectives/objectiveGroups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
CorgiMeatStealObjective: 1
MantisKnifeStealObjective: 1 # Nyanotrasen - ForensicMantis steal objective, see Resources/Prototypes/Nyanotrasen/Objectives/traitor.yml
ClipboardStealObjective: 1
RdClipboardStealObjective: 1 # DeltaV - Mysta steal Objective see Resources/Prototypes/DeltaV/Objectives/traitor.yml
CaptainGunStealObjective: 0.5
CaptainJetpackStealObjective: 0.5
HandTeleporterStealObjective: 0.5
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions Resources/Textures/DeltaV/Objects/Misc/rd_clipboard.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Clipboard sprites are by Endecc (Github) for SS14 Wizard's Den, taken from https://github.com/space-wizards/space-station-14/pull/21023 modified version by SirSmith148, qm_clipboard_paper is a modified version of paper from bureaucracy.rsi.",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "rd_clipboard"
},
{
"name": "rd_clipboard_over"
},
{
"name": "rd_clipboard_paper"
},
{
"name": "rd_clipboard_pen"
},
{
"name": "equipped-BELT",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dd91c91

Please sign in to comment.