From 3365333ba03cc0782ecd8d90b0a7d4a96cfde18c Mon Sep 17 00:00:00 2001 From: Fooberticus Bazly <34943053+fooberticus@users.noreply.github.com> Date: Sat, 30 Jul 2022 21:52:24 -0400 Subject: [PATCH] spruced up canned food a bit (#10169) Co-authored-by: fooberticus --- .../Objects/Consumable/Food/Containers/tin.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/tin.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/tin.yml index 480e486410..292e75877c 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/tin.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/tin.yml @@ -64,7 +64,7 @@ behaviors: - !type:PlaySoundBehavior sound: - collection: canOpenSounds + path: /Audio/Items/can_open3.ogg - !type:SpawnEntitiesBehavior spawn: FoodTinPeachesOpen: @@ -115,7 +115,7 @@ behaviors: - !type:PlaySoundBehavior sound: - collection: canOpenSounds + path: /Audio/Items/can_open3.ogg - !type:SpawnEntitiesBehavior spawn: FoodTinPeachesMaintOpen: @@ -165,7 +165,7 @@ behaviors: - !type:PlaySoundBehavior sound: - collection: canOpenSounds + path: /Audio/Items/can_open3.ogg - !type:SpawnEntitiesBehavior spawn: FoodTinBeansOpen: @@ -204,6 +204,7 @@ parent: FoodTinBase id: FoodTinMRE name: tinned meat + description: A standard issue tin of meat with a convenient pull tab. components: - type: Sprite sprite: Objects/Consumable/Food/mre.rsi @@ -216,7 +217,7 @@ behaviors: - !type:PlaySoundBehavior sound: - collection: canOpenSounds + path: /Audio/Items/can_open3.ogg - !type:SpawnEntitiesBehavior spawn: FoodTinMREOpen: @@ -224,12 +225,18 @@ max: 1 - !type:DoActsBehavior acts: [ "Destruction" ] + - type: SpawnItemsOnUse + items: + - id: FoodTinMREOpen + sound: + path: /Audio/Items/can_open3.ogg - type: entity parent: FoodTinBase id: FoodTinMREOpen name: tinned meat + description: A standard issue tin of meat. components: - type: Sprite sprite: Objects/Consumable/Food/mre.rsi