From 8281f889db3e11e16d2eb75cef4fdcafe296ba01 Mon Sep 17 00:00:00 2001 From: Fluffiest Floofers Date: Mon, 9 Oct 2023 22:08:18 +0200 Subject: [PATCH] HoP's Photobook steal objective (#142) * ian * Update heads.yml added comment Signed-off-by: Colin-Tel <113523727+Colin-Tel@users.noreply.github.com> * more pictures * wrong reference * update pictures --------- Signed-off-by: Colin-Tel <113523727+Colin-Tel@users.noreply.github.com> Co-authored-by: Colin-Tel <113523727+Colin-Tel@users.noreply.github.com> --- .../Prototypes/Catalog/Fills/Lockers/heads.yml | 1 + .../DeltaV/Entities/Objects/Misc/ian_dossier.yml | 14 ++++++++++++++ .../Prototypes/DeltaV/Objectives/traitor.yml | 11 +++++++++++ .../Prototypes/Objectives/objectiveGroups.yml | 1 + .../ServerInfo/Guidebook/Antagonist/Traitors.xml | 4 ++++ .../Misc/bureaucracy.rsi/folder-hop-ian.png | Bin 0 -> 417 bytes .../DeltaV/Objects/Misc/bureaucracy.rsi/meta.json | 14 ++++++++++++++ 7 files changed, 45 insertions(+) create mode 100644 Resources/Prototypes/DeltaV/Entities/Objects/Misc/ian_dossier.yml create mode 100644 Resources/Textures/DeltaV/Objects/Misc/bureaucracy.rsi/folder-hop-ian.png create mode 100644 Resources/Textures/DeltaV/Objects/Misc/bureaucracy.rsi/meta.json diff --git a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml index 2f246c6cd13..c64ddd78cf4 100644 --- a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml +++ b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml @@ -121,6 +121,7 @@ - id: ClothingBackpackIan prob: 0.5 - id: AccessConfigurator + - id: BookIanDossier # DeltaV - HoP steal objective, see Resources/Prototypes/DeltaV/Entities/Objects/Misc/ian_dossier.yml - type: entity id: LockerChiefEngineerFilledHardsuit diff --git a/Resources/Prototypes/DeltaV/Entities/Objects/Misc/ian_dossier.yml b/Resources/Prototypes/DeltaV/Entities/Objects/Misc/ian_dossier.yml new file mode 100644 index 00000000000..fba4536c7d9 --- /dev/null +++ b/Resources/Prototypes/DeltaV/Entities/Objects/Misc/ian_dossier.yml @@ -0,0 +1,14 @@ +- type: entity + parent: BaseItem + id: BookIanDossier + name: head of personnel's photobook + description: VERY CONFIDENTIAL. This folder contains various pictures of Ian cherished by the Head of Personnel. + components: + - type: Sprite + sprite: DeltaV/Objects/Misc/bureaucracy.rsi + layers: + - state: folder-hop-ian + - type: Tag + tags: + - Book + - HighRiskItem diff --git a/Resources/Prototypes/DeltaV/Objectives/traitor.yml b/Resources/Prototypes/DeltaV/Objectives/traitor.yml index fbfba136b2c..d974564e3d0 100644 --- a/Resources/Prototypes/DeltaV/Objectives/traitor.yml +++ b/Resources/Prototypes/DeltaV/Objectives/traitor.yml @@ -8,3 +8,14 @@ - type: StealCondition prototype: SpaceCashLuckyBill # owner: job-name-qm + +- type: entity # Head of Personnel steal objective. + noSpawn: true + parent: BaseTraitorStealObjective + id: HoPBookIanDossierStealObjective + components: + - type: NotJobRequirement + job: HeadOfPersonnel + - type: StealCondition + prototype: BookIanDossier + # owner: job-name-hop diff --git a/Resources/Prototypes/Objectives/objectiveGroups.yml b/Resources/Prototypes/Objectives/objectiveGroups.yml index f6432f81932..70b3c2773cd 100644 --- a/Resources/Prototypes/Objectives/objectiveGroups.yml +++ b/Resources/Prototypes/Objectives/objectiveGroups.yml @@ -22,6 +22,7 @@ HandTeleporterStealObjective: 0.5 SecretDocumentsStealObjective: 0.5 HoLLuckyBillStealObjective: 0.5 # DeltaV - HoL steal objective, see Resources/Prototypes/DeltaV/Objectives/traitor.yml + HoPBookIanDossierStealObjective: 1 # DeltaV - HoP steal objective, see Resources/Prototypes/DeltaV/Objectives/traitor.yml - type: weightedRandom id: TraitorObjectiveGroupKill diff --git a/Resources/ServerInfo/Guidebook/Antagonist/Traitors.xml b/Resources/ServerInfo/Guidebook/Antagonist/Traitors.xml index ac4cdf8e81f..2d022d05ade 100644 --- a/Resources/ServerInfo/Guidebook/Antagonist/Traitors.xml +++ b/Resources/ServerInfo/Guidebook/Antagonist/Traitors.xml @@ -82,5 +82,9 @@ + - Steal the Head of Personnel's [color=#a4885c]Ian Photobook[/color]. + + + diff --git a/Resources/Textures/DeltaV/Objects/Misc/bureaucracy.rsi/folder-hop-ian.png b/Resources/Textures/DeltaV/Objects/Misc/bureaucracy.rsi/folder-hop-ian.png new file mode 100644 index 0000000000000000000000000000000000000000..2f6f9ff5d6516095ca057c04854e9117ac8aa44f GIT binary patch literal 417 zcmV;S0bc%zP)!gLPB6-^a%lw<&2Ds43FE`K-~YNSWK}4K$b%-1_N>( z!AML&q~P8_bZPbO=`Ds&SC%nSJq?J7OA+mWD_5@k*U`~|dy?+C;N^S^22k3ddp5jr z?f`?3v>KTGsFjtvQ2;U=27qylBFCo_g~Ioq`iJ3m9gWHXY!;$}6Wvw}44;os*8v(v z4siCXm(Q>!P*^DaGVfqu*kePx5WtlqK#l}C;@dYb>K8=k_AP_cFpMmY%w}i*%fOTQ zlHvXP_q53cMov*!9S2XabG;azK7Gm{C@9EC69=GM2yzgzSmu)N3`hkL?Lz=v?97=n z16vn-`|yn6&yxd;RLcb*LrDR|T26EbjJ63!9Wd&EQ3ucx00bBS_P2^8t*fZ=00000 LNkvXXu0mjfyPT}E literal 0 HcmV?d00001 diff --git a/Resources/Textures/DeltaV/Objects/Misc/bureaucracy.rsi/meta.json b/Resources/Textures/DeltaV/Objects/Misc/bureaucracy.rsi/meta.json new file mode 100644 index 00000000000..75c5548e647 --- /dev/null +++ b/Resources/Textures/DeltaV/Objects/Misc/bureaucracy.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432 | modified by Floofers", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "folder-hop-ian" + } + ] +}