From cbe932eecff4dcec6d2d9a241304be91aec6daf4 Mon Sep 17 00:00:00 2001 From: Nim <128169402+Nimfar11@users.noreply.github.com> Date: Wed, 2 Aug 2023 13:05:12 +0300 Subject: [PATCH] Objective of the Theft, Emergency Security Orders (#16837) --- .../Prototypes/Catalog/Fills/Lockers/heads.yml | 1 + .../Entities/Objects/Misc/secret_documents.yml | 14 ++++++++++++++ .../Prototypes/Objectives/objectiveGroups.yml | 1 + .../Prototypes/Objectives/traitorObjectives.yml | 16 ++++++++++++++++ .../Misc/bureaucracy.rsi/folder-sec-doc.png | Bin 0 -> 284 bytes .../Objects/Misc/bureaucracy.rsi/meta.json | 3 +++ 6 files changed, 35 insertions(+) create mode 100644 Resources/Prototypes/Entities/Objects/Misc/secret_documents.yml create mode 100644 Resources/Textures/Objects/Misc/bureaucracy.rsi/folder-sec-doc.png diff --git a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml index 8e428ddea8..e46eda0092 100644 --- a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml +++ b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml @@ -316,3 +316,4 @@ - id: SecurityTechFabCircuitboard - id: BoxEncryptionKeySecurity - id: HoloprojectorSecurity + - id: BookSecretDocuments diff --git a/Resources/Prototypes/Entities/Objects/Misc/secret_documents.yml b/Resources/Prototypes/Entities/Objects/Misc/secret_documents.yml new file mode 100644 index 0000000000..4f0289da4f --- /dev/null +++ b/Resources/Prototypes/Entities/Objects/Misc/secret_documents.yml @@ -0,0 +1,14 @@ +- type: entity + parent: BaseItem + id: BookSecretDocuments + name: "emergency security orders" + description: TOP SECRET. These documents specify the Emergency Orders that the HoS must carry out when ordered by Central Command. + components: + - type: Sprite + sprite: Objects/Misc/bureaucracy.rsi + layers: + - state: folder-sec-doc + - type: Tag + tags: + - Book + - HighRiskItem diff --git a/Resources/Prototypes/Objectives/objectiveGroups.yml b/Resources/Prototypes/Objectives/objectiveGroups.yml index 6d3fa825bb..c6a7b660e8 100644 --- a/Resources/Prototypes/Objectives/objectiveGroups.yml +++ b/Resources/Prototypes/Objectives/objectiveGroups.yml @@ -21,6 +21,7 @@ CaptainGunStealObjective: 0.5 CaptainJetpackStealObjective: 0.5 HandTeleporterStealObjective: 0.5 + SecretDocumentsStealObjective: 0.5 - type: weightedRandom id: TraitorObjectiveGroupKill diff --git a/Resources/Prototypes/Objectives/traitorObjectives.yml b/Resources/Prototypes/Objectives/traitorObjectives.yml index 45ff9b3da3..b66abb398f 100644 --- a/Resources/Prototypes/Objectives/traitorObjectives.yml +++ b/Resources/Prototypes/Objectives/traitorObjectives.yml @@ -114,6 +114,22 @@ prototype: HandTeleporter owner: job-name-rd +- type: objective + id: SecretDocumentsStealObjective + issuer: syndicate + difficultyOverride: 2.75 + requirements: + - !type:TraitorRequirement {} + - !type:IncompatibleConditionsRequirement + conditions: + - DieCondition + - !type:NotRoleRequirement + roleId: HeadOfSecurity + conditions: + - !type:StealCondition + prototype: BookSecretDocuments + owner: job-name-hos + - type: objective id: NukeDiskStealObjective issuer: syndicate diff --git a/Resources/Textures/Objects/Misc/bureaucracy.rsi/folder-sec-doc.png b/Resources/Textures/Objects/Misc/bureaucracy.rsi/folder-sec-doc.png new file mode 100644 index 0000000000000000000000000000000000000000..fbaf0ac187e1e96334b965fa1b4895f8554828c3 GIT binary patch literal 284 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}*F0SuLn2y} z6C_v{Cy4YkF|zd>(fIW6$shkUjmPW$CRKd@t{?c!$iTp0gTQKoSMTE=$s9OvAYuK2 z5C0!Dv%6R}bw;pX;0n0PXz9`>WTc?Q)%W+;(E^^%^)jZsuK(U`(y^$1cz-{S?UgbH zD~D|pf*htWueouf!>h%z{=d-?V`JkNlO8avTGps}=8Vc~#gmN2OP3hj01^*o$T$>n zEQp@+?~NpvZ!!B4`)aps`70kW%ursznh_-a;?yZ4foKuor5+tKXJ)Vi-8UgbvbQPF ffXnS*12e;iDC?5}W#OlQK4kE8^>bP0l+XkK)Rl1$ literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Misc/bureaucracy.rsi/meta.json b/Resources/Textures/Objects/Misc/bureaucracy.rsi/meta.json index 3c27037c67..4290cdbcfe 100644 --- a/Resources/Textures/Objects/Misc/bureaucracy.rsi/meta.json +++ b/Resources/Textures/Objects/Misc/bureaucracy.rsi/meta.json @@ -43,6 +43,9 @@ { "name": "folder-overlay-paper" }, + { + "name": "folder-sec-doc" + }, { "name": "label_cart" },