Add 'Scan DNA' function to medical scanner (#1783)

* Add art assets for cloning

* Added a 'Scan DNA' button to the medical scanner

* Made the UI update unconditional for the medical scanner until checks for power changes are in place

* Update Medical scanner to reflect powered status and fix #1774

* added a 'scan dna' button the the medical scanner that will add the contained bodies Uid to a list in CloningSystem, fixed an issue with the menu not populating if the scanner starts in an unpowered state

* Add disabling logic to 'Scan DNA' button on medical scanner

* Removed un-used libraries

* changed scan dna button to Scan and Save DNA
This commit is contained in:
SoulSloth
2020-08-19 10:23:20 -04:00
committed by GitHub
parent cd1afb6582
commit dc77c399b9
15 changed files with 201 additions and 17 deletions

View File

@@ -0,0 +1,88 @@
{
"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.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB