diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/box.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/box.yml index 66189b1dd3..5281d4be29 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/box.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/box.yml @@ -16,6 +16,7 @@ state: box layers: - state: box + map: ["closeLayer"] - state: box-open map: ["openLayer"] visible: false @@ -79,6 +80,7 @@ state: box-closed layers: - state: box-closed + map: ["closeLayer"] - state: box-open map: ["openLayer"] visible: false @@ -283,6 +285,7 @@ state: box layers: - state: box + map: ["closeLayer"] - state: box-open map: ["openLayer"] visible: false @@ -476,6 +479,7 @@ state: box layers: - state: box + map: ["closeLayer"] - state: box-open map: ["openLayer"] - type: Item diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigarettes/cartons.yml b/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigarettes/cartons.yml index 47b8de4f55..6dcb627652 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigarettes/cartons.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigarettes/cartons.yml @@ -8,6 +8,7 @@ sprite: Objects/Consumable/Smokeables/Cigarettes/Cartons/green.rsi layers: - state: closed + map: ["closeLayer"] - state: open map: ["openLayer"] - type: Item diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigarettes/packs.yml b/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigarettes/packs.yml index 94add0ae2c..1ea01e26ab 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigarettes/packs.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigarettes/packs.yml @@ -7,6 +7,7 @@ - type: Sprite layers: - state: closed + map: ["closeLayer"] - state: open map: ["openLayer"] visible: false @@ -75,6 +76,7 @@ - type: Sprite layers: - state: closed + map: ["closeLayer"] - state: open map: ["openLayer"] visible: false diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigars/case.yml b/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigars/case.yml index 2cfc429f62..5e91d53847 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigars/case.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Smokeables/Cigars/case.yml @@ -8,6 +8,7 @@ sprite: Objects/Consumable/Smokeables/Cigars/case.rsi layers: - state: closed + map: ["closeLayer"] - state: open map: ["openLayer"] - state: cigar1 diff --git a/Resources/Prototypes/Entities/Objects/Misc/medalcase.yml b/Resources/Prototypes/Entities/Objects/Misc/medalcase.yml index d0e732e229..9304d09eb6 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/medalcase.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/medalcase.yml @@ -8,6 +8,7 @@ sprite: Objects/Storage/medalcase.rsi layers: - state: closed + map: ["closeLayer"] - state: open map: ["openLayer"] - type: Appearance diff --git a/Resources/Prototypes/Entities/Objects/base_item.yml b/Resources/Prototypes/Entities/Objects/base_item.yml index 39bb8c3a2a..61837aa1eb 100644 --- a/Resources/Prototypes/Entities/Objects/base_item.yml +++ b/Resources/Prototypes/Entities/Objects/base_item.yml @@ -66,12 +66,14 @@ - type: Appearance - type: GenericVisualizer visuals: - enum.SharedBagOpenVisuals.BagState: + enum.SharedBagOpenVisuals.BagState: # You don't have to use both of these if its not necessary. + closeLayer: + Open: { visible: false } + Closed: { visible: true } openLayer: Open: { visible: true } Closed: { visible: false } - # PowerCellSlot parents - type: entity id: PowerCellSlotSmallItem