Adds paper label visuals to closets and lockers (#33318)

* Modifies label sprites and adds label visuals to closets

* Removes redundant GenericVisualizer component
This commit is contained in:
SpaceRox1244
2024-11-16 22:27:29 -05:00
committed by GitHub
parent 0991b6bbe8
commit d9c677e91b
12 changed files with 49 additions and 2 deletions

View File

@@ -20,6 +20,11 @@
- state: welded
visible: false
map: ["enum.WeldableLayers.BaseWelded"]
- state: paper
visible: false
sprite: Structures/Storage/closet_labels.rsi
offset: "-0.065,0"
map: ["enum.PaperLabelVisuals.Layer"]
- type: Destructible
thresholds:
- trigger:

View File

@@ -19,6 +19,10 @@
- state: welded
visible: false
map: ["enum.WeldableLayers.BaseWelded"]
- state: paper
visible: false
sprite: Structures/Storage/closet_labels.rsi
map: ["enum.PaperLabelVisuals.Layer"]
- type: MovedByPressure
- type: PaperLabel
labelSlot:
@@ -86,6 +90,21 @@
SheetSteel1:
min: 1
max: 1
- type: GenericVisualizer
visuals:
enum.PaperLabelVisuals.HasLabel:
enum.PaperLabelVisuals.Layer:
True: { visible: true }
False: { visible: false }
enum.StorageVisuals.Open:
enum.PaperLabelVisuals.Layer:
True: { visible: false }
enum.PaperLabelVisuals.LabelType:
enum.PaperLabelVisuals.Layer:
Paper: { state: paper }
Bounty: { state: bounty }
CaptainsPaper: { state: captains_paper }
Invoice: { state: invoice }
- type: Appearance
- type: EntityStorageVisuals
stateBaseClosed: generic

Binary file not shown.

Before

Width:  |  Height:  |  Size: 593 B

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 594 B

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 192 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprites by Vermidia.",
"copyright": "Sprites by Vermidia and modified by SpaceRox1244.",
"size": {
"x": 32,
"y": 32
@@ -20,4 +20,4 @@
"name": "invoice"
}
]
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

View File

@@ -0,0 +1,23 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprites by Vermidia and modified by SpaceRox1244.",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "paper"
},
{
"name": "bounty"
},
{
"name": "captains_paper"
},
{
"name": "invoice"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B