]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
You can now see paper on crates (with color!) (#26834)
authorVerm <32827189+Vermidia@users.noreply.github.com>
Sun, 14 Apr 2024 03:39:02 +0000 (22:39 -0500)
committerGitHub <noreply@github.com>
Sun, 14 Apr 2024 03:39:02 +0000 (13:39 +1000)
* Implement changes on not-cooked branch

* Made it work

* Fix update appearance calls

* Fix extra indents, clean-up code, fix tests hopefully

* Fix hammy cagecrate

* Fix messing up the yml, add artifact crate specific labels back in

* Visual Studio hates yml, sad

* Seperate the colors for cargonia

* sorry json

* make label move with artifact door

* Apply suggestion changes

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
* Fix remaining crate offsets, add a few for livestock and graves (why are you labeling graves) and coffin label sprites (why are you labeling coffins??)

---------

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
33 files changed:
Content.Server/Labels/Label/LabelSystem.cs
Content.Shared/Labels/Components/PaperLabelTypeComponent.cs [new file with mode: 0644]
Content.Shared/Labels/LabelEvents.cs
Resources/Prototypes/Entities/Objects/Misc/paper.yml
Resources/Prototypes/Entities/Objects/Specific/Medical/morgue.yml
Resources/Prototypes/Entities/Objects/Specific/Xenoarchaeology/artifact_equipment.yml
Resources/Prototypes/Entities/Structures/Storage/Crates/base_structurecrates.yml
Resources/Prototypes/Entities/Structures/Storage/Crates/crates.yml
Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/bounty.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/captains_paper.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/invoice.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/meta.json
Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/paper.png [moved from Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/label_overlay.png with 100% similarity]
Resources/Textures/Structures/Storage/Crates/artifact.rsi/bounty.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/artifact.rsi/captains_paper.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/artifact.rsi/invoice.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/artifact.rsi/meta.json
Resources/Textures/Structures/Storage/Crates/artifact.rsi/paper.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/coffin.rsi/bounty.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/coffin.rsi/captains_paper.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/coffin.rsi/invoice.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/coffin.rsi/meta.json
Resources/Textures/Structures/Storage/Crates/coffin.rsi/paper.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/labels.rsi/bounty.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/labels.rsi/captains_paper.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/labels.rsi/invoice.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/labels.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/labels.rsi/paper.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/toybox.rsi/bounty.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/toybox.rsi/captains_paper.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/toybox.rsi/invoice.png [new file with mode: 0644]
Resources/Textures/Structures/Storage/Crates/toybox.rsi/meta.json
Resources/Textures/Structures/Storage/Crates/toybox.rsi/paper.png [new file with mode: 0644]

index 59a1a3b213401d791af74f23444b3281c8c04e04..dd4ba1f718f3938bc2f779ebde6c0c92c8ca1e79 100644 (file)
@@ -84,10 +84,7 @@ namespace Content.Server.Labels
         {
             _itemSlotsSystem.AddItemSlot(uid, ContainerName, component.LabelSlot);
 
-            if (!EntityManager.TryGetComponent(uid, out AppearanceComponent? appearance))
-                return;
-
-            _appearance.SetData(uid, PaperLabelVisuals.HasLabel, false, appearance);
+            UpdateAppearance((uid, component));
         }
 
         private void OnComponentRemove(EntityUid uid, PaperLabelComponent component, ComponentRemove args)
@@ -131,10 +128,18 @@ namespace Content.Server.Labels
             if (args.Container.ID != label.LabelSlot.ID)
                 return;
 
-            if (!EntityManager.TryGetComponent(uid, out AppearanceComponent? appearance))
+            UpdateAppearance((uid, label));
+        }
+
+        private void UpdateAppearance(Entity<PaperLabelComponent, AppearanceComponent?> ent)
+        {
+            if (!Resolve(ent, ref ent.Comp2, false))
                 return;
 
-            _appearance.SetData(uid, PaperLabelVisuals.HasLabel, label.LabelSlot.HasItem, appearance);
+            var slot = ent.Comp1.LabelSlot;
+            _appearance.SetData(ent, PaperLabelVisuals.HasLabel, slot.HasItem, ent.Comp2);
+            if (TryComp<PaperLabelTypeComponent>(slot.Item, out var type))
+                _appearance.SetData(ent, PaperLabelVisuals.LabelType, type.PaperType, ent.Comp2);
         }
     }
 }
diff --git a/Content.Shared/Labels/Components/PaperLabelTypeComponent.cs b/Content.Shared/Labels/Components/PaperLabelTypeComponent.cs
new file mode 100644 (file)
index 0000000..b045a6a
--- /dev/null
@@ -0,0 +1,16 @@
+using Robust.Shared.GameStates;
+
+namespace Content.Shared.Labels.Components;
+
+/// <summary>                                                                                                                                                 
+/// Specifies the paper type (see textures/storage/crates/labels.rsi to see currently supported paper types)  to show on crates this label is attached to.                                                                     
+/// </summary>                                                                                                                                                
+[RegisterComponent, NetworkedComponent]
+public sealed partial class PaperLabelTypeComponent : Component
+{
+    /// <summary>                                                                                                                                             
+    /// The type of label to show.                                                                                                                                    
+    /// </summary>
+    [DataField]
+    public string PaperType = "Paper";
+}
index 362500b7681a71ae300f8024c1e523be2baf3806..9f00354af24c5a902470fd9a8e6b1df814d1311f 100644 (file)
@@ -13,9 +13,11 @@ namespace Content.Shared.Labels
     }
 
     [Serializable, NetSerializable]
-    public enum PaperLabelVisuals
+    public enum PaperLabelVisuals : byte
     {
+        Layer,
         HasLabel,
+        LabelType
     }
 
     /// <summary>
index 58457ebb7fa13275ef4bb605af02df410b088073..c6cc598f26266163a205f09ed1e699e3f574bf6b 100644 (file)
@@ -15,6 +15,7 @@
       map: ["enum.PaperVisualLayers.Stamp"]
       visible: false
   - type: Paper
+  - type: PaperLabelType
   - type: ActivatableUI
     key: enum.PaperUiKey.Key
     closeOnHandDeselect: false
     - state: paper_stamp-generic
       map: ["enum.PaperVisualLayers.Stamp"]
       visible: false
+  - type: PaperLabelType
+    paperType: CaptainsPaper
   - type: PaperVisuals
     headerImagePath: "/Textures/Interface/Paper/paper_heading_captains_thoughts.svg.96dpi.png"
     backgroundImagePath: "/Textures/Interface/Paper/paper_background_default.svg.96dpi.png"
     sprite: Objects/Misc/bureaucracy.rsi
     layers:
     - state: paper
-      color: "#f7e574"
+      color: "#9ef5ff"
     - state: paper_words
       map: ["enum.PaperVisualLayers.Writing"]
-      color: "#f7e574"
+      color: "#9ef5ff"
       visible: false
     - state: paper_stamp-generic
       map: ["enum.PaperVisualLayers.Stamp"]
       visible: false
+  - type: PaperLabelType
+    paperType: Invoice
   - type: PaperVisuals
     backgroundImagePath: "/Textures/Interface/Paper/paper_background_default.svg.96dpi.png"
     contentImagePath: "/Textures/Interface/Paper/paper_content_lined.svg.96dpi.png"
-    backgroundModulate: "#f7e574"
-    contentImageModulate: "#f7e574"
+    backgroundModulate: "#9ef5ff"
+    contentImageModulate: "#9ef5ff"
     backgroundPatchMargin: 16.0, 16.0, 16.0, 16.0
     contentMargin: 16.0, 16.0, 16.0, 16.0
     headerImagePath: "/Textures/Interface/Paper/paper_heading_cargo_invoice.svg.96dpi.png"
   name: bounty manifest
   description: A paper label designating a crate as containing a bounty. Selling a crate with this label will fulfill the bounty.
   components:
+  - type: Sprite
+    sprite: Objects/Misc/bureaucracy.rsi
+    layers:
+    - state: paper
+      color: "#f7e574"
+    - state: paper_words
+      map: ["enum.PaperVisualLayers.Writing"]
+      color: "#f7e574"
+      visible: false
+    - state: paper_stamp-generic
+      map: ["enum.PaperVisualLayers.Stamp"]
+      visible: false
+  - type: PaperLabelType
+    paperType: Bounty
+  - type: PaperVisuals
+    backgroundImagePath: "/Textures/Interface/Paper/paper_background_default.svg.96dpi.png"
+    contentImagePath: "/Textures/Interface/Paper/paper_content_lined.svg.96dpi.png"
+    backgroundModulate: "#f7e574"
+    contentImageModulate: "#f7e574"
+    backgroundPatchMargin: 16.0, 16.0, 16.0, 16.0
+    contentMargin: 16.0, 16.0, 16.0, 16.0
+    headerImagePath: "/Textures/Interface/Paper/paper_heading_cargo_invoice.svg.96dpi.png"
+    headerMargin: 0.0, 12.0, 0.0, 0.0
   - type: CargoBountyLabel
   - type: StaticPrice
     price: 0
index 2c48ef5da0ad99a503bb54a421e0783cc6eb5118..065662146515e36746a620e04aae0136734ba0b6 100644 (file)
@@ -17,8 +17,8 @@
       visible: false
     - state: open_overlay
       map: ["enum.StorageVisualLayers.Door"]
-    - state: label_overlay
-      map: ["enum.BodyBagVisualLayers.Label"]
+    - state: paper
+      map: ["enum.PaperLabelVisuals.Layer"]
   - type: Icon
     sprite: Objects/Specific/Medical/Morgue/bodybags.rsi
     state: bag
   - type: GenericVisualizer
     visuals:
       enum.PaperLabelVisuals.HasLabel:
-        enum.BodyBagVisualLayers.Label:
+        enum.PaperLabelVisuals.Layer:
           True: {visible: true}
           False: {visible: false}
+      enum.PaperLabelVisuals.LabelType:
+        enum.PaperLabelVisuals.Layer:
+          Paper: { state: paper }
+          Bounty: { state: bounty }
+          CaptainsPaper: { state: captains_paper }
+          Invoice: { state: invoice }
       enum.FoldedVisuals.State:
         foldedLayer:
           True: {visible: true}
index 4abeea381281679a7937d7c2a543e8971f482782..c38868b39970ee53c4644698a6927868819b5fa7 100644 (file)
@@ -1,4 +1,4 @@
-- type: entity
+- type: entity
   id: CrateArtifactContainer
   parent: BaseStructureDynamic
   name: artifact container
@@ -24,6 +24,8 @@
       - state: locked
         map: ["enum.LockVisualLayers.Lock"]
         shader: unshaded
+      - state: paper
+        map: ["enum.PaperLabelVisuals.Layer"]
     - type: InteractionOutline
     - type: Physics
     - type: Fixtures
     - type: EntityStorageVisuals
       stateDoorOpen: artifact_container_open
       stateDoorClosed: artifact_container_door
+    - type: GenericVisualizer
+      visuals:
+        enum.PaperLabelVisuals.HasLabel:
+          enum.PaperLabelVisuals.Layer:
+            True: { visible: true }
+            False: { visible: false }
+        enum.PaperLabelVisuals.LabelType:
+          enum.PaperLabelVisuals.Layer:
+            Paper: { state: paper }
+            Bounty: { state: bounty }
+            CaptainsPaper: { state: captains_paper }
+            Invoice: { state: invoice }
+        enum.StorageVisuals.Open:
+          enum.PaperLabelVisuals.Layer:
+            True: { offset: "0.0,0.3125" }
+            False: { offset: "0.0,0.0" }
+            
     - type: LockVisuals
     - type: ItemSlots
     - type: ContainerContainer
index 403e20b43c788e589de5aef974eb8e35699a7471..95580292d9fea5591a20f509f7564273c2bbfed5 100644 (file)
@@ -21,6 +21,9 @@
     - state: welded
       visible: false
       map: ["enum.WeldableLayers.BaseWelded"]
+    - state: paper
+      sprite: Structures/Storage/Crates/labels.rsi
+      map: ["enum.PaperLabelVisuals.Layer"]
   - type: InteractionOutline
   - type: Physics
   - type: Fixtures
   - type: EntityStorageVisuals
     stateDoorOpen: open
     stateDoorClosed: closed
+  - type: GenericVisualizer
+    visuals:
+      enum.PaperLabelVisuals.HasLabel:
+        enum.PaperLabelVisuals.Layer:
+          True: { visible: true }
+          False: { visible: false }
+      enum.PaperLabelVisuals.LabelType:
+        enum.PaperLabelVisuals.Layer:
+          Paper: { state: paper }
+          Bounty: { state: bounty }
+          CaptainsPaper: { state: captains_paper }
+          Invoice: { state: invoice }
   - type: PaperLabel
     labelSlot:
       insertVerbText: Attach Label
     - state: locked
       map: ["enum.LockVisualLayers.Lock"]
       shader: unshaded
+    - state: paper
+      sprite: Structures/Storage/Crates/labels.rsi
+      map: ["enum.PaperLabelVisuals.Layer"]
   - type: Damageable
     damageContainer: StructuralInorganic
     damageModifierSet: StructuralMetallic
index e55612d2c49c7b15875dbd40730c067ca7eaf377..8d8eec953860b0d09d64519ee83aee1c33f5845b 100644 (file)
       map: ["enum.StorageVisualLayers.Base"]
     - state: closed
       map: ["enum.StorageVisualLayers.Door"]
+    - state: paper
+      sprite: Structures/Storage/Crates/labels.rsi
+      map: ["enum.PaperLabelVisuals.Layer"]  
   - type: Construction
     graph: WebStructures
     node: crate
     - state: base
     - state: closed
       map: ["enum.StorageVisualLayers.Door"]
+    - state: paper
+      sprite: Structures/Storage/Crates/labels.rsi
+      offset: "-0.25,0.625"
+      map: ["enum.PaperLabelVisuals.Layer"]  
   - type: Icon
     sprite: Structures/Storage/Crates/livestock.rsi
     state: base
     - state: base
     - state: closed
       map: ["enum.StorageVisualLayers.Door"]
+    - state: paper
+      sprite: Structures/Storage/Crates/labels.rsi
+      offset: "0.0,0.125"
+      map: ["enum.PaperLabelVisuals.Layer"]   
   - type: Icon
     sprite: Structures/Storage/Crates/cage.rsi
   - type: Destructible
     - state: welded
       visible: false
       map: ["enum.WeldableLayers.BaseWelded"]
+    - state: paper
+      sprite: Structures/Storage/Crates/labels.rsi
+      offset: "0.0,-0.09375"
+      map: ["enum.PaperLabelVisuals.Layer"]
   - type: Icon
     sprite: Structures/Storage/Crates/piratechest.rsi
     state: crate_icon
     - state: welded
       visible: false
       map: ["enum.WeldableLayers.BaseWelded"]
+    - state: paper
+      map: ["enum.PaperLabelVisuals.Layer"]
   - type: Icon
     sprite: Structures/Storage/Crates/toybox.rsi
     state: crate_icon
     - state: base
     - state: closed
       map: ["enum.StorageVisualLayers.Door"]
+    - state: paper
+      map: ["enum.PaperLabelVisuals.Layer"] 
   - type: Icon
     sprite: Structures/Storage/Crates/coffin.rsi
     state: base
     - state: base
     - state: closed
       map: ["enum.StorageVisualLayers.Door"]
+    - state: paper
+      sprite: Structures/Storage/Crates/labels.rsi
+      offset: "-0.28125,0.625"
+      map: ["enum.PaperLabelVisuals.Layer"] 
   - type: Icon
     sprite: Structures/Storage/Crates/wooden_grave.rsi
     state: base
     - state: base
     - state: closed
       map: ["enum.StorageVisualLayers.Door"]
+    - state: paper
+      sprite: Structures/Storage/Crates/labels.rsi
+      offset: "-0.3125,0.5625"
+      map: ["enum.PaperLabelVisuals.Layer"] 
   - type: Icon
     sprite: Structures/Storage/Crates/stone_grave.rsi
     state: base
     sprite: Structures/Storage/Crates/trashcart.rsi
   - type: Sprite
     sprite: Structures/Storage/Crates/trashcart.rsi
+    layers:
+    - state: base
+    - state: closed
+      map: ["enum.StorageVisualLayers.Door"]
+    - state: welded
+      visible: false
+      map: ["enum.WeldableLayers.BaseWelded"]
+    - state: paper
+      sprite: Structures/Storage/Crates/labels.rsi
+      offset: "0.0,0.03125"
+      map: ["enum.PaperLabelVisuals.Layer"]
 
 - type: entity
   parent: CrateBaseSecure
     sprite: Structures/Storage/Crates/trashcart_jani.rsi
   - type: Sprite
     sprite: Structures/Storage/Crates/trashcart_jani.rsi
+    layers:
+    - state: base
+    - state: closed
+      map: ["enum.StorageVisualLayers.Door"]
+    - state: welded
+      visible: false
+      map: ["enum.WeldableLayers.BaseWelded"]
+    - state: locked
+      map: ["enum.LockVisualLayers.Lock"]
+      shader: unshaded
+    - state: paper
+      sprite: Structures/Storage/Crates/labels.rsi
+      offset: "0.0,0.03125"
+      map: ["enum.PaperLabelVisuals.Layer"]
   - type: AccessReader
     access: [["Janitor"]]
 
diff --git a/Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/bounty.png b/Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/bounty.png
new file mode 100644 (file)
index 0000000..5db87e6
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/bounty.png differ
diff --git a/Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/captains_paper.png b/Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/captains_paper.png
new file mode 100644 (file)
index 0000000..87ee739
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/captains_paper.png differ
diff --git a/Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/invoice.png b/Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/invoice.png
new file mode 100644 (file)
index 0000000..508a6b1
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Medical/Morgue/bodybags.rsi/invoice.png differ
index b6feb49959f452c6a7c5473c3d03ddf0b35b4dd8..e8727873146071ff99fe9e697743b23bd9223150 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/39659000f380583c35fb814ee2fadab24c2f8076",
+  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/39659000f380583c35fb814ee2fadab24c2f8076, additional label sprites by Vermidia",
   "size": {
     "x": 32,
     "y": 32
       "name": "bag_folded"
     },
     {
-      "name": "label_overlay"
+      "name": "paper"
     },
     {
       "name": "open_overlay"
+    },
+    {
+      "name": "bounty"
+    },
+    {
+      "name": "captains_paper"
+    },
+    {
+      "name": "invoice"
     }
   ]
-}
+}
\ No newline at end of file
diff --git a/Resources/Textures/Structures/Storage/Crates/artifact.rsi/bounty.png b/Resources/Textures/Structures/Storage/Crates/artifact.rsi/bounty.png
new file mode 100644 (file)
index 0000000..ee32a82
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/artifact.rsi/bounty.png differ
diff --git a/Resources/Textures/Structures/Storage/Crates/artifact.rsi/captains_paper.png b/Resources/Textures/Structures/Storage/Crates/artifact.rsi/captains_paper.png
new file mode 100644 (file)
index 0000000..57f9a90
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/artifact.rsi/captains_paper.png differ
diff --git a/Resources/Textures/Structures/Storage/Crates/artifact.rsi/invoice.png b/Resources/Textures/Structures/Storage/Crates/artifact.rsi/invoice.png
new file mode 100644 (file)
index 0000000..ed4951d
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/artifact.rsi/invoice.png differ
index 7a17f38fa5c2aaf8ca1eff3ca6804e4544175612..1a535ab97c4e0bad52225baa7f09d83c2ba66feb 100644 (file)
@@ -1,32 +1,44 @@
 {
-    "version": 1,
-    "size": {
-        "x": 32,
-        "y": 32
-    },
-    "license": "CC-BY-SA-3.0",
-    "copyright": "Taken from baystation at commit https://github.com/Baystation12/Baystation12/commit/a929584d9db319eb7484113221be25cfa1d5dc09",
-    "states": [
-        {
-            "name": "artifact_container"
-        },
-        {
-            "name": "artifact_container_door"
-        },
-        {
-            "name": "artifact_container_open"
-        },
-        {
-            "name": "artifact_container_icon"
-        },
-        {
-            "name": "locked"
-        },
-        {
-            "name": "unlocked"
-        },
-        {
-            "name": "welded"
-        }
-    ]
+  "version": 1,
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Taken from baystation at commit https://github.com/Baystation12/Baystation12/commit/a929584d9db319eb7484113221be25cfa1d5dc09. Label sprites by Vermidia.",
+  "states": [
+    {
+      "name": "artifact_container"
+    },
+    {
+      "name": "artifact_container_door"
+    },
+    {
+      "name": "artifact_container_open"
+    },
+    {
+      "name": "artifact_container_icon"
+    },
+    {
+      "name": "locked"
+    },
+    {
+      "name": "unlocked"
+    },
+    {
+      "name": "welded"
+    },
+    {
+      "name": "paper"
+    },
+    {
+      "name": "bounty"
+    },
+    {
+      "name": "captains_paper"
+    },
+    {
+      "name": "invoice"
+    }
+  ]
 }
\ No newline at end of file
diff --git a/Resources/Textures/Structures/Storage/Crates/artifact.rsi/paper.png b/Resources/Textures/Structures/Storage/Crates/artifact.rsi/paper.png
new file mode 100644 (file)
index 0000000..6cf41f0
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/artifact.rsi/paper.png differ
diff --git a/Resources/Textures/Structures/Storage/Crates/coffin.rsi/bounty.png b/Resources/Textures/Structures/Storage/Crates/coffin.rsi/bounty.png
new file mode 100644 (file)
index 0000000..54a2f0f
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/coffin.rsi/bounty.png differ
diff --git a/Resources/Textures/Structures/Storage/Crates/coffin.rsi/captains_paper.png b/Resources/Textures/Structures/Storage/Crates/coffin.rsi/captains_paper.png
new file mode 100644 (file)
index 0000000..7265057
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/coffin.rsi/captains_paper.png differ
diff --git a/Resources/Textures/Structures/Storage/Crates/coffin.rsi/invoice.png b/Resources/Textures/Structures/Storage/Crates/coffin.rsi/invoice.png
new file mode 100644 (file)
index 0000000..e0efa6e
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/coffin.rsi/invoice.png differ
index 610ea0183c08a187ac1ca7c25ae73929f47fec0d..7908408cd3fe0664d43ebf31a6d8306b1e9b7b37 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/32c8d0abc573d7370eb145d8ce74176d59b7eea3",
+  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/32c8d0abc573d7370eb145d8ce74176d59b7eea3. Label sprites by Vermidia.",
   "size": {
     "x": 32,
     "y": 32
     },
     {
       "name": "closed"
+    },
+    {
+      "name": "paper"
+    },
+    {
+      "name": "bounty"
+    },
+    {
+      "name": "captains_paper"
+    },
+    {
+      "name": "invoice"
     }
   ]
 }
diff --git a/Resources/Textures/Structures/Storage/Crates/coffin.rsi/paper.png b/Resources/Textures/Structures/Storage/Crates/coffin.rsi/paper.png
new file mode 100644 (file)
index 0000000..630ffe8
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/coffin.rsi/paper.png differ
diff --git a/Resources/Textures/Structures/Storage/Crates/labels.rsi/bounty.png b/Resources/Textures/Structures/Storage/Crates/labels.rsi/bounty.png
new file mode 100644 (file)
index 0000000..52e515e
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/labels.rsi/bounty.png differ
diff --git a/Resources/Textures/Structures/Storage/Crates/labels.rsi/captains_paper.png b/Resources/Textures/Structures/Storage/Crates/labels.rsi/captains_paper.png
new file mode 100644 (file)
index 0000000..961991b
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/labels.rsi/captains_paper.png differ
diff --git a/Resources/Textures/Structures/Storage/Crates/labels.rsi/invoice.png b/Resources/Textures/Structures/Storage/Crates/labels.rsi/invoice.png
new file mode 100644 (file)
index 0000000..3e00e7d
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/labels.rsi/invoice.png differ
diff --git a/Resources/Textures/Structures/Storage/Crates/labels.rsi/meta.json b/Resources/Textures/Structures/Storage/Crates/labels.rsi/meta.json
new file mode 100644 (file)
index 0000000..c180604
--- /dev/null
@@ -0,0 +1,23 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Sprites by Vermidia.",
+  "size": {
+    "x": 32,
+    "y": 32
+  },
+  "states": [
+    {
+      "name": "paper"
+    },
+    {
+      "name": "bounty"
+    },
+    {
+      "name": "captains_paper"
+    },
+    {
+      "name": "invoice"
+    }
+  ]
+}
\ No newline at end of file
diff --git a/Resources/Textures/Structures/Storage/Crates/labels.rsi/paper.png b/Resources/Textures/Structures/Storage/Crates/labels.rsi/paper.png
new file mode 100644 (file)
index 0000000..8daf777
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/labels.rsi/paper.png differ
diff --git a/Resources/Textures/Structures/Storage/Crates/toybox.rsi/bounty.png b/Resources/Textures/Structures/Storage/Crates/toybox.rsi/bounty.png
new file mode 100644 (file)
index 0000000..d7bd7f2
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/toybox.rsi/bounty.png differ
diff --git a/Resources/Textures/Structures/Storage/Crates/toybox.rsi/captains_paper.png b/Resources/Textures/Structures/Storage/Crates/toybox.rsi/captains_paper.png
new file mode 100644 (file)
index 0000000..4fd4bf0
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/toybox.rsi/captains_paper.png differ
diff --git a/Resources/Textures/Structures/Storage/Crates/toybox.rsi/invoice.png b/Resources/Textures/Structures/Storage/Crates/toybox.rsi/invoice.png
new file mode 100644 (file)
index 0000000..aacd2ca
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/toybox.rsi/invoice.png differ
index 082564ccfb0f7759fdf6e4f4d08851ae89a152cb..9c0d876c501947e07f9c1fc3c7df78f96f6a99ef 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Made by brainfood118 (github) for ss14",
+  "copyright": "Made by brainfood118 (github) for ss14. Label Sprites by Vermidia.",
   "size": {
     "x": 32,
     "y": 32
       "name": "crate_icon"
     },
     {
-        "name": "sparking",
-        "directions": 1,
-        "delays": [
-            [
-                0.1,
-                0.1,
-                0.1,
-                0.1,
-                0.1,
-                0.1
-            ]
+      "name": "sparking",
+      "directions": 1,
+      "delays": [
+        [
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1
         ]
+      ]
     },
     {
       "name": "crate_open"
+    },
+    {
+      "name": "paper"
+    },
+    {
+      "name": "bounty"
+    },
+    {
+      "name": "captains_paper"
+    },
+    {
+      "name": "invoice"
     }
   ]
-}
+}
\ No newline at end of file
diff --git a/Resources/Textures/Structures/Storage/Crates/toybox.rsi/paper.png b/Resources/Textures/Structures/Storage/Crates/toybox.rsi/paper.png
new file mode 100644 (file)
index 0000000..f0c9165
Binary files /dev/null and b/Resources/Textures/Structures/Storage/Crates/toybox.rsi/paper.png differ