diff --git a/Resources/Locale/pt-BR/estacao-pirata/Entities/objects/specific/engineering/handheld_power_monitor.ftl b/Resources/Locale/pt-BR/estacao-pirata/Entities/objects/specific/engineering/handheld_power_monitor.ftl new file mode 100644 index 00000000000000..84870a8f55d425 --- /dev/null +++ b/Resources/Locale/pt-BR/estacao-pirata/Entities/objects/specific/engineering/handheld_power_monitor.ftl @@ -0,0 +1,2 @@ +ent-HandheldPowerMonitor = monitor de energia portátil + .desc = Um dispositivo capaz de monitorar o nivel de energia da estação remotamente usando Magia Nanotrasen™. \ No newline at end of file diff --git a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml index d7df7508c38bf1..b2f2b8f8796879 100644 --- a/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml +++ b/Resources/Prototypes/Catalog/Fills/Lockers/heads.yml @@ -156,6 +156,7 @@ - id: AccessConfigurator - id: RCD - id: RCDAmmo + - id: HandheldPowerMonitor - type: entity id: LockerChiefEngineerFilled @@ -176,6 +177,7 @@ - id: AccessConfigurator - id: RCD - id: RCDAmmo + - id: HandheldPowerMonitor - type: entity id: LockerChiefMedicalOfficerFilledHardsuit diff --git a/Resources/Prototypes/EstacaoPirata/Entities/Objects/Specifc/Engineering/handheld_power_monitor.yml b/Resources/Prototypes/EstacaoPirata/Entities/Objects/Specifc/Engineering/handheld_power_monitor.yml new file mode 100644 index 00000000000000..496635d74eaa56 --- /dev/null +++ b/Resources/Prototypes/EstacaoPirata/Entities/Objects/Specifc/Engineering/handheld_power_monitor.yml @@ -0,0 +1,44 @@ +- type: entity + name: handheld power monitor + suffix: DO NOT MAP + parent: + - BaseItem + - PowerCellSlotSmallItem + # CE apenas carambolas!! para de dar pros outros + id: HandheldPowerMonitor + description: A hand-held power monitor that display the station powers level. + components: + - type: Sprite + sprite: EstacaoPirata/Objects/Specific/Engineering/handheldpowermonitor.rsi # arrumar a bomba do sprite -- arrumei, fiz um sprite proprio por que eu sou legal + state: scanner + - type: PowerCellDraw + drawRate: 0.60 + useRate: 20 + - type: ActivatableUIRequiresPowerCell + - type: ActivatableUI + key: enum.PowerMonitoringConsoleUiKey.Key + - type: UserInterface + interfaces: + enum.PowerMonitoringConsoleUiKey.Key: + type: PowerMonitoringConsoleBoundUserInterface + - type: PowerMonitoringConsole + - type: PowerMonitoringCableNetworks + # aqui em baixo tinha o codigo de netorking, nao botei por que nao acho roubado o suficiente pra quebrar o jogo funcionando sem energia + # até por que o objetivo desse COISO é mostrar aonde nao tem energia né.................... + - type: StaticPrice + price: 500 #o preço dessa coisa (nao que alguem vá vender ne) + - type: Tag + tags: + - HighRiskItem + - type: StealTarget + stealGroup: HandheldPowerMonitor #objetivo IRADO de synd + +- type: entity # coisa pros admin nerd 🤓 spawnar + id: HandheldPowerMonitorEmpty + parent: HandheldPowerMonitor + suffix: Empty + components: + - type: ItemSlots + slots: + cell_slot: + name: power-cell-slot-component-slot-name-default diff --git a/Resources/Prototypes/Objectives/objectiveGroups.yml b/Resources/Prototypes/Objectives/objectiveGroups.yml index fb787fe80d4879..4f0a97d4b4ed02 100644 --- a/Resources/Prototypes/Objectives/objectiveGroups.yml +++ b/Resources/Prototypes/Objectives/objectiveGroups.yml @@ -16,6 +16,7 @@ RDHardsuitStealObjective: 1 NukeDiskStealObjective: 1 MagbootsStealObjective: 1 + HandheldPowerMonitor: 1 # monitor do CE CorgiMeatStealObjective: 1 ClipboardStealObjective: 1 CaptainGunStealObjective: 0.5 diff --git a/Resources/Prototypes/Objectives/stealTargetGroups.yml b/Resources/Prototypes/Objectives/stealTargetGroups.yml index 52117b9ce9caa4..ef4c6a87bc02f3 100644 --- a/Resources/Prototypes/Objectives/stealTargetGroups.yml +++ b/Resources/Prototypes/Objectives/stealTargetGroups.yml @@ -14,6 +14,13 @@ sprite: Objects/Specific/Medical/handheldcrewmonitor.rsi state: scanner +- type: stealTargetGroup + id: HandheldPowerMonitor + name: handheld power monitor + sprite: + sprite: EstacaoPirata/Objects/Specific/Engineering/handheldpowermonitor.rsi + state: scanner + - type: stealTargetGroup id: ClothingOuterHardsuitRd name: experimental research hardsuit diff --git a/Resources/Prototypes/Objectives/traitor.yml b/Resources/Prototypes/Objectives/traitor.yml index 2fd8d6e01567e6..6f6a63bc3430b0 100644 --- a/Resources/Prototypes/Objectives/traitor.yml +++ b/Resources/Prototypes/Objectives/traitor.yml @@ -231,6 +231,15 @@ - type: StealCondition stealGroup: ClothingShoesBootsMagAdv owner: job-name-ce + + - type: entity + noSpawn: true + parent: BaseTraitorStealObjective + id: HandheldPowerMonitor + components: + - type: StealCondition + stealGroup: HandheldPowerMonitor + owner: job-name-ce ## qm diff --git a/Resources/Textures/EstacaoPirata/Objects/Specific/Engineering/handheldpowermonitor.rsi/icon.png b/Resources/Textures/EstacaoPirata/Objects/Specific/Engineering/handheldpowermonitor.rsi/icon.png new file mode 100644 index 00000000000000..c190c8f07ebdc6 Binary files /dev/null and b/Resources/Textures/EstacaoPirata/Objects/Specific/Engineering/handheldpowermonitor.rsi/icon.png differ diff --git a/Resources/Textures/EstacaoPirata/Objects/Specific/Engineering/handheldpowermonitor.rsi/meta.json b/Resources/Textures/EstacaoPirata/Objects/Specific/Engineering/handheldpowermonitor.rsi/meta.json new file mode 100644 index 00000000000000..e0c78b57f3ebd5 --- /dev/null +++ b/Resources/Textures/EstacaoPirata/Objects/Specific/Engineering/handheldpowermonitor.rsi/meta.json @@ -0,0 +1,25 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "CC-BY-SA-3.0", + "copyright": "Feito por @AgentePanela.", + "states": [ + { + "name": "scanner", + "directions": 1, + "delays": [ + [ + 0.4, + 0.4 + ] + ] + }, + { + "name": "icon", + "directions": 1 + } + ] +} diff --git a/Resources/Textures/EstacaoPirata/Objects/Specific/Engineering/handheldpowermonitor.rsi/scanner.png b/Resources/Textures/EstacaoPirata/Objects/Specific/Engineering/handheldpowermonitor.rsi/scanner.png new file mode 100644 index 00000000000000..eda5956de646a4 Binary files /dev/null and b/Resources/Textures/EstacaoPirata/Objects/Specific/Engineering/handheldpowermonitor.rsi/scanner.png differ