#3898 open sprite field for drink comp (#4235)

* temp

* #3898 some progress on DrinkCanVisualizer

* Fixed implementation

* Moved drink can sprite layer definition to abstract parent

* Added open drink can sprites

* #3898 - fixes for drink cans' sprite field after merge + moved UpdateAppeareance from DrinkComponent to DrinkSystem

* Update Content.Server/Nutrition/EntitySystems/DrinkSystem.cs

* #3898 removed obsolete comment

Co-authored-by: Javier Guardia Fernández <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
Galactic Chimp
2021-10-03 06:56:29 +02:00
committed by GitHub
parent 539045dcce
commit 61f1c8a05c
27 changed files with 169 additions and 44 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -1 +1,35 @@
{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi", "states": [{"name": "icon", "delays": [[10.0, 10.0, 10.0, 10.0, 10.0]]}]}
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi",
"states": [
{
"name": "icon",
"delays": [
[
10.0,
10.0,
10.0,
10.0,
10.0
]
]
},
{
"name": "icon_open",
"delays": [
[
10.0,
10.0,
10.0,
10.0,
10.0
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

View File

@@ -10,6 +10,9 @@
{
"name": "icon"
},
{
"name": "icon_open"
},
{
"name": "inhand-right",
"directions": 4,

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 B

View File

@@ -10,6 +10,9 @@
{
"name": "icon"
},
{
"name": "icon_open"
},
{
"name": "inhand-right",
"directions": 4,

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

View File

@@ -10,6 +10,9 @@
{
"name": "icon"
},
{
"name": "icon_open"
},
{
"name": "inhand-right",
"directions": 4,

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 B

View File

@@ -1 +1,17 @@
{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi", "states": [{"name": "icon"}]}
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi",
"states": [
{
"name": "icon"
},
{
"name": "icon_open"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

View File

@@ -10,6 +10,9 @@
{
"name": "icon"
},
{
"name": "icon_open"
},
{
"name": "inhand-right",
"directions": 4,

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

View File

@@ -10,6 +10,9 @@
{
"name": "icon"
},
{
"name": "icon_open"
},
{
"name": "inhand-right",
"directions": 4,

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 B

View File

@@ -10,6 +10,9 @@
{
"name": "icon"
},
{
"name": "icon_open"
},
{
"name": "inhand-right",
"directions": 4,

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

View File

@@ -10,6 +10,9 @@
{
"name": "icon"
},
{
"name": "icon_open"
},
{
"name": "inhand-right",
"directions": 4,

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

View File

@@ -10,6 +10,9 @@
{
"name": "icon"
},
{
"name": "icon_open"
},
{
"name": "inhand-right",
"directions": 4,

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

View File

@@ -10,6 +10,9 @@
{
"name": "icon"
},
{
"name": "icon_open"
},
{
"name": "inhand-right",
"directions": 4,