Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research digiboard #2508

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ steal-target-groups-ian-dossier = head of personnel's photobook
steal-target-groups-x01 = x-01 multiphase energy gun
steal-target-groups-notary-stamp = notary stamp
steal-target-groups-silvia = silvia
steal-target-groups-box-folder-rd-clipboard = research digi-board

steal-target-groups-recruiter-pen = recruiter's pen
steal-target-groups-captains-cloak = captain's cloak
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
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
children:
- id: BoxPDAScience
- id: RDIDCard
- id: BoxFolderRdClipboard
- id: ClothingShoesBootsWinterMystagogue
- id: LunchboxCommandFilledRandom
prob: 0.3
Expand Down
73 changes: 73 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Objects/Misc/paper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,79 @@
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, BaseGrandTheftContraband]
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: /Textures/DeltaV/Objects/Misc/rd_clipboard.rsi
SirSmith148 marked this conversation as resolved.
Show resolved Hide resolved
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: /Textures/DeltaV/Objects/Misc/rd_clipboard.rsi
size: Normal
- type: Clothing
sprite: /Textures/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: 10
- type: Tag
tags:
- Folder
- HighRiskItem
- type: StealTarget
stealGroup: BoxFolderRdClipboard


SirSmith148 marked this conversation as resolved.
Show resolved Hide resolved
# contents set by FugitiveRule or a creative admeme
- type: entity
parent: PaperStationWarrant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
sprite:
sprite: DeltaV/Objects/Weapons/Guns/Battery/multiphase_energygun.rsi
state: base

- 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
Expand Down
11 changes: 11 additions & 0 deletions Resources/Prototypes/DeltaV/Objectives/traitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@
- type: StealCondition
stealGroup: AnimalSilvia
owner: job-name-cmo

# Mystagogue steal objective
- type: entity
parent: BaseTraitorStealObjective
id: RdClipboardStealObjective
components:
- type: NotJobRequirement
job: ResearchDirector
- type: StealCondition
stealGroup: BoxFolderRdClipboard
owner: job-name-rd

# teach lesson
- type: entity
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Entities/Objects/Misc/paper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@
- HighRiskItem
- type: StealTarget
stealGroup: BoxFolderQmClipboard

SirSmith148 marked this conversation as resolved.
Show resolved Hide resolved
- type: entity
parent: [Paper, BaseSyndicateContraband] # eat or burn your damn piece of paper damn thieves
id: TraitorCodePaper
Expand Down
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 # DeltaV - Disable the horrible murder of Ian as an objective
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
SirSmith148 marked this conversation as resolved.
Show resolved Hide resolved
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.
SirSmith148 marked this conversation as resolved.
Show resolved Hide resolved
SirSmith148 marked this conversation as resolved.
Show resolved Hide resolved
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.
Loading