Make electrocutions look nicer on the power monitor. (#16965)
This commit is contained in:
committed by
GitHub
parent
66aa0969ba
commit
042d3437e3
@@ -1,7 +1,17 @@
|
||||
# Special entity used to attach to power networks as load when somebody gets electrocuted.
|
||||
- type: entity
|
||||
id: VirtualElectrocutionLoadBase
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: Electrocution
|
||||
- type: Icon
|
||||
# Shows up inside the power monitoring console.
|
||||
sprite: "Structures/Wallmounts/signs.rsi"
|
||||
state: "shock"
|
||||
|
||||
- type: entity
|
||||
id: VirtualElectrocutionLoadHVPower
|
||||
name: ELECTROCUTION ENTITY YOU SHOULD NOT SEE THIS
|
||||
parent: VirtualElectrocutionLoadBase
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: NodeContainer
|
||||
@@ -12,11 +22,10 @@
|
||||
- type: PowerConsumer
|
||||
voltage: High
|
||||
drawRate: 50000
|
||||
- type: Electrocution
|
||||
|
||||
- type: entity
|
||||
id: VirtualElectrocutionLoadMVPower
|
||||
name: ELECTROCUTION ENTITY YOU SHOULD NOT SEE THIS
|
||||
parent: VirtualElectrocutionLoadBase
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: NodeContainer
|
||||
@@ -27,11 +36,10 @@
|
||||
- type: PowerConsumer
|
||||
voltage: Medium
|
||||
drawRate: 50000
|
||||
- type: Electrocution
|
||||
|
||||
- type: entity
|
||||
id: VirtualElectrocutionLoadApc
|
||||
name: ELECTROCUTION ENTITY YOU SHOULD NOT SEE THIS
|
||||
parent: VirtualElectrocutionLoadBase
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: NodeContainer
|
||||
@@ -42,4 +50,3 @@
|
||||
- type: PowerConsumer
|
||||
voltage: Apc
|
||||
drawRate: 50000
|
||||
- type: Electrocution
|
||||
|
||||
Reference in New Issue
Block a user