Gas tank internals alerts (#9567)

This commit is contained in:
metalgearsloth
2022-07-25 14:42:25 +10:00
committed by GitHub
parent dad26db137
commit 40a7584c2f
25 changed files with 570 additions and 354 deletions

View File

@@ -1,2 +1,5 @@
action-name-internals-toggle = Toggle Internals
action-description-internals-toggle = Breathe from the equipped gas tank. Also requires equipped breath mask.
action-description-internals-toggle = Breathe from the equipped gas tank. Also requires equipped breath mask.
internals-no-breath-tool = You are not wearing a breathing tool
internals-no-tank = You are not wearing a gas tank

View File

@@ -5,6 +5,8 @@
id: BaseAlertOrder
order:
- category: Health
- category: Stamina
- category: Internals
- alertType: Fire
- alertType: Handcuffed
- category: Buckled
@@ -142,6 +144,18 @@
minSeverity: 0
maxSeverity: 6
- type: alert
id: Internals
category: Internals
onClick: !type:ToggleInternals {}
icon:
sprite: /Textures/Interface/Alerts/internals.rsi
state: internal
name: Toggle internals
description: "Toggles your gas tank internals on or off."
minSeverity: 0
maxSeverity: 2
- type: alert
id: PilotingShuttle
category: Piloting

View File

@@ -20,9 +20,14 @@
toggleAction:
name: action-name-internals-toggle
description: action-description-internals-toggle
icon: Interface/Actions/internal0.png
iconOn: Interface/Actions/internal1.png
icon:
sprite: Interface/Alerts/internals.rsi
state: internal2
iconOn:
sprite: Interface/Alerts/internals.rsi
state: internal1
event: !type:ToggleActionEvent
useDelay: 1.0
- type: Explosive
explosionType: Default
maxIntensity: 20

Binary file not shown.

Before

Width:  |  Height:  |  Size: 850 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 896 B

View File

@@ -0,0 +1,26 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "https://github.com/tgstation/tgstation/blob/c7e930edde846fa51812ff8aed66fa97821ac000/icons/hud/screen_gen.dmi",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "internal0",
"delays": [
[
0.5,
0.5
]
]
},
{
"name": "internal1"
},
{
"name": "internal2"
}
]
}