Replaces medical scanner sprite. (#2870)

* Initial

* Let's go

* Updates the pods meta.json cause I can
This commit is contained in:
Swept
2021-01-05 01:10:24 +00:00
committed by GitHub
parent 447f0af6c2
commit 350f7313be
39 changed files with 144 additions and 162 deletions

View File

@@ -24,12 +24,12 @@ namespace Content.Client.GameObjects.Components.MedicalScanner
{ {
switch (status) switch (status)
{ {
case Off: return "scanner_off"; case Off: return "closed";
case Open: return "scanner_open"; case Open: return "open";
case Red: return "scanner_red"; case Red: return "closed";
case Death: return "scanner_death"; case Death: return "closed";
case Green: return "scanner_green"; case Green: return "occupied";
case Yellow: return "scanner_yellow"; case Yellow: return "closed";
default: default:
throw new ArgumentOutOfRangeException(nameof(status), status, "unknown MedicalScannerStatus"); throw new ArgumentOutOfRangeException(nameof(status), status, "unknown MedicalScannerStatus");
} }
@@ -39,12 +39,12 @@ namespace Content.Client.GameObjects.Components.MedicalScanner
{ {
switch (status) switch (status)
{ {
case Off: return "scanner_terminal_off"; case Off: return "off_unlit";
case Open: return "scanner_terminal_blue"; case Open: return "idle_unlit";
case Red: return "scanner_terminal_red"; case Red: return "red_unlit";
case Death: return "scanner_terminal_dead"; case Death: return "red_unlit";
case Green: return "scanner_terminal_green"; case Green: return "idle_unlit";
case Yellow: return "scanner_terminal_blue"; case Yellow: return "maint_unlit";
default: default:
throw new ArgumentOutOfRangeException(nameof(status), status, "unknown MedicalScannerStatus"); throw new ArgumentOutOfRangeException(nameof(status), status, "unknown MedicalScannerStatus");
} }

View File

@@ -7,7 +7,7 @@
components: components:
- type: Sprite - type: Sprite
netsync: false netsync: false
sprite: Objects/Specific/Medical/cloning.rsi sprite: Constructible/Specific/Medical/cloning.rsi
layers: layers:
- state: pod_0 - state: pod_0
map: ["enum.CloningPodVisualLayers.Machine"] map: ["enum.CloningPodVisualLayers.Machine"]

View File

@@ -7,11 +7,11 @@
components: components:
- type: Sprite - type: Sprite
netsync: false netsync: false
sprite: Constructible/Power/medical_scanner.rsi sprite: Constructible/Specific/Medical/scanner.rsi
layers: layers:
- state: scanner_open - state: open
map: ["enum.MedicalScannerVisualLayers.Machine"] map: ["enum.MedicalScannerVisualLayers.Machine"]
- state: scanner_terminal_blue - state: idle_unlit
map: ["enum.MedicalScannerVisualLayers.Terminal"] map: ["enum.MedicalScannerVisualLayers.Terminal"]
- type: PowerReceiver - type: PowerReceiver
- type: Anchorable - type: Anchorable
@@ -22,7 +22,6 @@
anchored: true anchored: true
shapes: shapes:
- !type:PhysShapeAabb - !type:PhysShapeAabb
bounds: "-0.5,0,0.5,1"
layer: layer:
- Opaque - Opaque
- Impassable - Impassable

View File

@@ -1 +0,0 @@
{"version": 1, "size": {"x": 64, "y": 32}, "states": [{"name": "scanner_death", "directions": 1, "delays": [[0.3, 0.3, 0.3, 0.3]]}, {"name": "scanner_green", "directions": 1, "delays": [[0.3, 0.3, 0.3, 0.3, 0.3, 0.3]]}, {"name": "scanner_off", "directions": 1, "delays": [[1.0]]}, {"name": "scanner_open", "directions": 1, "delays": [[1.0]]}, {"name": "scanner_red", "directions": 1, "delays": [[0.3, 0.3, 0.3, 0.3, 0.3, 0.3]]}, {"name": "scanner_terminal_blue", "directions": 1, "delays": [[0.3, 0.3, 0.3, 0.3]]}, {"name": "scanner_terminal_dead", "directions": 1, "delays": [[0.2, 0.2, 0.2, 0.2]]}, {"name": "scanner_terminal_green", "directions": 1, "delays": [[0.3, 0.3, 0.3, 0.3]]}, {"name": "scanner_terminal_off", "directions": 1, "delays": [[1.0]]}, {"name": "scanner_terminal_red", "directions": 1, "delays": [[0.3, 0.3, 0.3, 0.3]]}, {"name": "scanner_yellow", "directions": 1, "delays": [[0.3, 0.3, 0.3, 0.3, 0.3, 0.3]]}]}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 904 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 883 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,51 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/1da0b5547e02db0db48d0bc93926c26bd8888347",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "pod_0",
"directions": 1
},
{
"name": "pod_1",
"directions": 1,
"delays": [
[
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "pod_e",
"directions": 1,
"delays": [
[
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "pod_g",
"directions": 1,
"delays": [
[
0.1,
0.1,
0.1,
0.1
]
]
}
]
}

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

View File

@@ -0,0 +1,77 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/1da0b5547e02db0db48d0bc93926c26bd8888347",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "open",
"directions": 1
},
{
"name": "closed",
"directions": 1
},
{
"name": "open_unpowered",
"directions": 1
},
{
"name": "closed_unpowered",
"directions": 1
},
{
"name": "occupied",
"directions": 1,
"delays": [
[
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "off_unlit",
"directions": 1
},
{
"name": "occupied_unlit",
"directions": 1
},
{
"name": "idle_unlit",
"directions": 1,
"delays": [
[
0.2,
0.2
]
]
},
{
"name": "maint_unlit",
"directions": 1,
"delays": [
[
0.2,
0.2
]
]
},
{
"name": "red_unlit",
"directions": 1,
"delays": [
[
0.2,
0.2
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 B

View File

@@ -1,88 +0,0 @@
{
"version": 1,
"license": "CC BY-SA 3.0",
"copyright": "Taken from https://github.com/tgstation/tgstation at commit 9bebd81ae0b0a7f952b59886a765c681205de31f",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "pod_0",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "scanner",
"directions": 1,
"delays": [
[
0.2,
0.2
]
]
},
{
"name": "scanner_maintenance",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "scanner_occupied",
"directions": 1,
"delays": [
[
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "scanner_open",
"directions": 1,
"delays": [
[
0.2,
0.2
]
]
},
{
"name": "scanner_open_maintenance",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "scanner_open_unpowered",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "scanner_unpowered",
"directions": 1,
"delays": [
[
1.0
]
]
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -1,56 +0,0 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC BY-SA 3.0",
"copyright": "Taken from https://github.com/tgstation/tgstation at commit 9bebd81ae0b0a7f952b59886a765c681205de31f",
"states": [
{
"name": "pod_0",
"directions": 1,
"delays": [
[
1.0
]
]
},
{
"name": "pod_1",
"directions": 1,
"delays": [
[
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "pod_e",
"directions": 1,
"delays": [
[
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "pod_g",
"directions": 1,
"delays": [
[
0.2,
0.2,
0.2,
0.2
]
]
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB