From fe6d2768d2883f57eb9252ddc22a52ccc1e3a1a5 Mon Sep 17 00:00:00 2001 From: Fishfish458 <47410468+Fishfish458@users.noreply.github.com> Date: Fri, 4 Feb 2022 15:17:16 -0600 Subject: [PATCH] Add handheld crew monitor (#6404) Co-authored-by: fishfish458 --- .../Catalog/Fills/Lockers/heads.yml | 11 +------- .../Catalog/Research/technologies.yml | 1 + .../Medical/handheld_crew_monitor.yml | 20 ++++++++++++++ .../Entities/Structures/Machines/lathe.yml | 1 + .../Prototypes/Recipes/Lathes/medical.yml | 10 +++++++ .../Medical/handheldcrewmonitor.rsi/icon.png | Bin 0 -> 6577 bytes .../Medical/handheldcrewmonitor.rsi/meta.json | 25 ++++++++++++++++++ .../handheldcrewmonitor.rsi/scanner.png | Bin 0 -> 621 bytes 8 files changed, 58 insertions(+), 10 deletions(-) create mode 100644 Resources/Prototypes/Entities/Objects/Specific/Medical/handheld_crew_monitor.yml create mode 100644 Resources/Textures/Objects/Specific/Medical/handheldcrewmonitor.rsi/icon.png create mode 100644 Resources/Textures/Objects/Specific/Medical/handheldcrewmonitor.rsi/meta.json create mode 100644 Resources/Textures/Objects/Specific/Medical/handheldcrewmonitor.rsi/scanner.png diff --git a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml index c138eb716c..320724e9e5 100644 --- a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml +++ b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml @@ -123,27 +123,18 @@ - type: StorageFill contents: - id: MedkitFilled - prob: 1 - id: ClothingHandsGlovesLatex - prob: 1 #- name: ClothingEyesHudMedical #Removed until working properly # prob: 1 - id: ClothingHeadsetAltMedical - prob: 1 - id: ClothingCloakCmo - prob: 1 - id: ClothingBackpackDuffelSurgeryFilled - prob: 1 - id: ClothingOuterCoatLabCmo - prob: 1 - id: ClothingMaskSterile - prob: 1 - id: ClothingHeadHelmetHardsuitMedical - prob: 1 - id: ClothingOuterHardsuitMedical - prob: 1 - id: Hypospray - prob: 1 + - id: HandheldCrewMonitor - type: entity id: LockerResearchDirectorFilled diff --git a/Resources/Prototypes/Catalog/Research/technologies.yml b/Resources/Prototypes/Catalog/Research/technologies.yml index 3268bed49b..61ab251acf 100644 --- a/Resources/Prototypes/Catalog/Research/technologies.yml +++ b/Resources/Prototypes/Catalog/Research/technologies.yml @@ -116,6 +116,7 @@ - ChemMasterMachineCircuitboard - ChemDispenserMachineCircuitboard - CrewMonitoringComputerCircuitboard + - HandheldCrewMonitor # Security Technology Tree diff --git a/Resources/Prototypes/Entities/Objects/Specific/Medical/handheld_crew_monitor.yml b/Resources/Prototypes/Entities/Objects/Specific/Medical/handheld_crew_monitor.yml new file mode 100644 index 0000000000..0a8e5c3f92 --- /dev/null +++ b/Resources/Prototypes/Entities/Objects/Specific/Medical/handheld_crew_monitor.yml @@ -0,0 +1,20 @@ +- type: entity + name: handheld crew monitor + parent: BaseItem + id: HandheldCrewMonitor + description: A hand-held crew monitor displaying the status of suit sensors. + components: + - type: Sprite + sprite: Objects/Specific/Medical/handheldcrewmonitor.rsi + state: scanner + - type: ActivatableUI + key: enum.CrewMonitoringUIKey.Key + - type: UserInterface + interfaces: + - key: enum.CrewMonitoringUIKey.Key + type: CrewMonitoringBoundUserInterface + - type: CrewMonitoringConsole + - type: DeviceNetworkComponent + deviceNetId: Wireless + - type: WirelessNetworkConnection + range: 500 diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index d373fd4754..10b3e6f005 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -147,6 +147,7 @@ - HydroponicsToolScythe - HydroponicsToolHatchet - Shovel + - HandheldCrewMonitor - Scalpel - Retractor - Cautery diff --git a/Resources/Prototypes/Recipes/Lathes/medical.yml b/Resources/Prototypes/Recipes/Lathes/medical.yml index 19101570f4..4869ca37b5 100644 --- a/Resources/Prototypes/Recipes/Lathes/medical.yml +++ b/Resources/Prototypes/Recipes/Lathes/medical.yml @@ -62,3 +62,13 @@ completetime: 300 materials: Plastic: 200 + +- type: latheRecipe + id: HandheldCrewMonitor + icon: Objects/Specific/Medical/handheldcrewmonitor.rsi/icon.png + result: HandheldCrewMonitor + completetime: 5000 + materials: + Glass: 1200 + Steel: 1000 + Plastic: 1400 diff --git a/Resources/Textures/Objects/Specific/Medical/handheldcrewmonitor.rsi/icon.png b/Resources/Textures/Objects/Specific/Medical/handheldcrewmonitor.rsi/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..4593188502707d4f325719e2682f90c159dbde70 GIT binary patch literal 6577 zcmeHLdpJ~U7ayl_k0_yz7*m9dxzCshk#U(Ma*5=Vx$MbcF3pVFNaU78>7pVkNm1cc zE)@>BBvf=kDY}WMTp~Iy`SwtqdcN3%WZ>_c8ckeyU8|;)6 zmMTCX5GATT#RdF_Ne(#~@GKOIMiP5vju~XauJrbTAJ=Zw^O)5lW-B1ap`hLjH5NqKtKp2}sP`iT)A zrN{Yk8HJy#6()`Js%{dZuU(}t)ol0-NnKFYJUHnzw9YqW-fR8=Dc_IkSs62XprQo* z^~|EuGUlb-5X;z{CC3|}GF4vscM)4%R8C@|-ogCnZ{z$oqEgcK(hlV;#Pc6G7$g_71>vAdL5I)6yRn5*b!H-&)FB@+s$E{v)BH4@c)a#JC)piA{WA%N? znWmJ-dF^*Ag8C}1rr}m zLw~?UcHJ$NH5b!7OKHMhCD)Fi5$=}YXAGy^c_h8UyItPplS6;e-&?)iJ*eT?w4kk# zW~AS^7oU`9X45UVQY&NE9|!$qUM*CsI_1C*{^%Vb-xGZ$KrK{SBk*7hw&{kZ=Ec<- zV^iHGsmJg64(tzgaH)KeKV>2`%$V7VT-OzCLu^C!*>sp=Y8yKES6-{O*mN!dWCt zRj~NJ??eAoid=LfU}CF<3f6wa9#=~CdNK4V%t|TF!%``@QRRHDrs>IR zDr>T;?dKQvl8)j{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Sn2vWN9)3N>k#^mzWg4NQL2J>yEMbtMfIA2 z`;jJKbTR@`HT-1J%~xoJxaxJ#k{8ztToy3hkL#D`6})x%yy&&t?bwuJ?I$IN46801 zKTP-b`h959X-7~F{IJ}cGQr(t;Kxm?oDI1jR4M&Zx=={f@3#xvQl)qhzmBZ#Eq58K zd`-1vpaTWT&wb=phW3-QRH~^bqL3$}BB7jh2bZIkCT|k^Wn|5OQGQ;x=Z`tViJ|P%4C5-ANWm@`Ssz=P&>c+hg-*kOV zM#KEy8r+H literal 0 HcmV?d00001 diff --git a/Resources/Textures/Objects/Specific/Medical/handheldcrewmonitor.rsi/meta.json b/Resources/Textures/Objects/Specific/Medical/handheldcrewmonitor.rsi/meta.json new file mode 100644 index 0000000000..93459edf34 --- /dev/null +++ b/Resources/Textures/Objects/Specific/Medical/handheldcrewmonitor.rsi/meta.json @@ -0,0 +1,25 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from tgstation https://github.com/tgstation/tgstation/commit/ab4abf318f293a701754656dd4e9261eb70f8824#diff-9ab5c8a5e47ab7cfaeadd859a23e32b05de1fe839e99ea767fd7e340b6385d67", + "states": [ + { + "name": "scanner", + "directions": 1, + "delays": [ + [ + 0.4, + 0.4 + ] + ] + }, + { + "name": "icon", + "directions": 1 + } + ] +} diff --git a/Resources/Textures/Objects/Specific/Medical/handheldcrewmonitor.rsi/scanner.png b/Resources/Textures/Objects/Specific/Medical/handheldcrewmonitor.rsi/scanner.png new file mode 100644 index 0000000000000000000000000000000000000000..2f97a86aba67d0f2cb9b46b50b4021c8ebfe9ff0 GIT binary patch literal 621 zcmV-z0+RiSP)O{k=69d^i(Q`2 z@7qda9-1#@CWI^i;QYcx>G>O!p1oM}T>bfltKZ+zJcvfFBV*tSG%b%Ff=O~xUYc22?aU4tj zGr4iUKr&r^`X5~+Q^0Xv3cl68 zE*1H`8@4XK)B?;vSmpCA&<;B05|E}T0C5lQGXdN9dr3g0QUS0z0YP^tB!K&MX&b*CbTAy8 z2?^_Kf}$s}LuZ?IT_w;v)L14yu}K+qiuZPBkw+xWx5nb4~8r4}GfQ&39b z` z4U94Tc=!r