Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Adiciona um item irado chamado Monitor de Energia Portatil #126

Merged
merged 11 commits into from
Aug 24, 2024
Original file line number Diff line number Diff line change
@@ -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™.
2 changes: 2 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/heads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
- id: AccessConfigurator
- id: RCD
- id: RCDAmmo
- id: HandheldPowerMonitor

- type: entity
id: LockerChiefEngineerFilled
Expand All @@ -176,6 +177,7 @@
- id: AccessConfigurator
- id: RCD
- id: RCDAmmo
- id: HandheldPowerMonitor

- type: entity
id: LockerChiefMedicalOfficerFilledHardsuit
Expand Down
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions Resources/Prototypes/Objectives/objectiveGroups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
RDHardsuitStealObjective: 1
NukeDiskStealObjective: 1
MagbootsStealObjective: 1
HandheldPowerMonitor: 1 # monitor do CE
CorgiMeatStealObjective: 1
ClipboardStealObjective: 1
CaptainGunStealObjective: 0.5
Expand Down
7 changes: 7 additions & 0 deletions Resources/Prototypes/Objectives/stealTargetGroups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions Resources/Prototypes/Objectives/traitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -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
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading